Do you have a timeout set?

That breaks serviceui.exe

Thanks,
Jeff Jerousek

From: [email protected] [mailto:[email protected]] On 
Behalf Of Ryan
Sent: Wednesday, December 9, 2015 2: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?




Reply via email to