I can launch it, but tsprogress.exe is on top. On Wed, Dec 9, 2015 at 7:47 PM, Michael Niehaus < [email protected]> wrote:
> You shouldn’t need to use ServiceUI.exe in Windows PE (and it likely won’t > work). You should be able to directly launch the HTA with MSHTA.EXE. (You > just need MSHTA.EXE in the full OS.) > > > > Thanks, > > -Michael > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Ryan > *Sent:* Wednesday, December 9, 2015 3:47 PM > *To:* [email protected] > *Subject:* [mssms] ServiceUI > > > > Hey all, > > > > I'm trying to use serviceui.exe to pop up a HTA in WinPE 10. I am using a > standard boot image instead of the MDT boot image and copied over > ServiceUI.exe to the package I have the hta stored in. > > > > The command line I'm running is: > > > > ServiceUI.exe –process:tsprogress.exe %SYSTEMROOT%\system32\mshta.exe > CustomHTA.hta > > > > The error message I'm getting in the smsts log file is: > > > > API [CreateProcessAsUser] Error: [2] > > > > Exiting with [-1] > > > > If I run the command line from the command prompt by hitting F8, > everything works perfectly. > > > > Any idea why this is happening? > > > > > > > >
