Just another quick post, mostly for my own future reference so I remember how I did this… Similar Posts but different enough
- Pause a Task Sequence: https://garytown.com/task-sequence-message-pause-with-no-package
- Launch Application in TS (WinPE) : https://garytown.com/launch-application-during-ts
This is different because I’m doing it during it while in Windows, like testing IPU.
This will launch the program of choice, in my example, CMD.exe, which I use for testing / troubleshooting all the time, but it also has the benefit of closing he progress bar for you.
Old Way (Which left progress bar open):
ServiceUI.exe -process:tsprogressui.exe "%WINDIR%\System32\cmd.exe"
New Way, closes progress ui then launches command prompt (or whatever exe you’d like)
ServiceUI.exe -process:explorer.exe %SYSTEMROOT%\System32\WindowsPowershell\v1.0\powershell.exe -command (new-object -ComObject Microsoft.SMS.TsProgressUI).CloseProgressDialog() ; start-process -wait -filepath %SYSTEMROOT%\system32\cmd.exe
Posted on GARYTOWN.COM