Jump to content


anyweb

How can I pause a task sequence in System Center 2012 Configuration Manager ?

Recommended Posts

But heres the error from the log I saw.

 

![LOG[Failed to execute command line 'C_SMSTaskSequencePackagesCOR0012AserviceUI.exe -processTSProgressUI.exe XWINDOWSSystem32wscript.exe pause_ts.vbs' .
This version of is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher. (Error 800700D8; Source Windows)]LOG]!time=085230.146+00 date=02-24-2016 component=InstallSoftware context= type=3 thread=1176 file=runcommandline.cpp562

Share this post


Link to post
Share on other sites

I love this forum, not sure why I haven't create an account before :)

I followed this and it worked excellent! then I modified because I didn't want a pause, I wanted a HTA to display and I get no error, get error code 0 and all looks good except that the HTA doesn't display!

 

SCCM 2012 R2 SP1 CU2 (no MDT other than the serviceUI.exe and my HTA file in a package that this thread explain, the VBS file works to pause)

 

running: ServiceUI.exe -process:tsprogressui.exe %SYSTEMROOT%\system32\mshta.exe TEST.HTA

 

and funny enough I had the pause from this thread running so I pressed F8 and read out smst.log and got this:

Content successfully downloaded at D:\_SMSTaskSequence\Packages\P0100382. InstallSoftware 3/2/2016 1:58:21 PM 1276 (0x04FC)
Resolved source to 'D:\_SMSTaskSequence\Packages\P0100382' InstallSoftware 3/2/2016 1:58:21 PM 1276 (0x04FC)
Command line for extension .exe is "%1" %* InstallSoftware 3/2/2016 1:58:21 PM 1276 (0x04FC)
Set command line: Run command line InstallSoftware 3/2/2016 1:58:21 PM 1276 (0x04FC)
Working dir 'D:\_SMSTaskSequence\Packages\P0100382' InstallSoftware 3/2/2016 1:58:21 PM 1276 (0x04FC)
Executing command line: Run command line InstallSoftware 3/2/2016 1:58:21 PM 1276 (0x04FC)
Process completed with exit code 0 InstallSoftware 3/2/2016 1:58:22 PM 1276 (0x04FC)
InstallSoftware 3/2/2016 1:58:22 PM 1276 (0x04FC)
======================= InstallSoftware 3/2/2016 1:58:22 PM 1276 (0x04FC)
Matched Processes InstallSoftware 3/2/2016 1:58:22 PM 1276 (0x04FC)
======================= InstallSoftware 3/2/2016 1:58:22 PM 1276 (0x04FC)
Process Found: [TsProgressUI.exe] ID [1224] SESSION [1] InstallSoftware 3/2/2016 1:58:22 PM 1276 (0x04FC)
InstallSoftware 3/2/2016 1:58:22 PM 1276 (0x04FC)
======================= InstallSoftware 3/2/2016 1:58:22 PM 1276 (0x04FC)
Logon Lookup InstallSoftware 3/2/2016 1:58:22 PM 1276 (0x04FC)
======================= InstallSoftware 3/2/2016 1:58:22 PM 1276 (0x04FC)
[winlogon.exe] Session: [1] PID [432] [Target Session [1] = Match] InstallSoftware 3/2/2016 1:58:22 PM 1276 (0x04FC)
InstallSoftware 3/2/2016 1:58:22 PM 1276 (0x04FC)
======================= InstallSoftware 3/2/2016 1:58:22 PM 1276 (0x04FC)
Launch Process InstallSoftware 3/2/2016 1:58:22 PM 1276 (0x04FC)
======================= InstallSoftware 3/2/2016 1:58:22 PM 1276 (0x04FC)
Program to launch : [X:\WINDOWS\system32\mshta.exe] InstallSoftware 3/2/2016 1:58:22 PM 1276 (0x04FC)
Command line     : [X:\WINDOWS\system32\mshta.exe TEST.HTA] InstallSoftware 3/2/2016 1:58:22 PM 1276 (0x04FC)
InstallSoftware 3/2/2016 1:58:22 PM 1276 (0x04FC)
Process launching with PID [1320] InstallSoftware 3/2/2016 1:58:22 PM 1276 (0x04FC)
Process exit code [0] InstallSoftware 3/2/2016 1:58:22 PM 1276 (0x04FC)
InstallSoftware 3/2/2016 1:58:22 PM 1276 (0x04FC)
======================= InstallSoftware 3/2/2016 1:58:22 PM 1276 (0x04FC)
Exiting with [0] InstallSoftware 3/2/2016 1:58:22 PM 1276 (0x04FC)

If I run only mshta.exe test.hta from cmd.exe after F8 the HTA comes up perfect.

But in the TS it just parse it, as successfully but never shows it.

 

Any idea what I could be doing wrong? excuse in advance if anything important is missing then I ahppily adjust and add info

thanks!

Share this post


Link to post
Share on other sites

is this running during the windows phase or in winpe ? if you open taskmgr.exe do you see mshta.exe running as a process ?

Share this post


Link to post
Share on other sites

is this running during the windows phase or in winpe ? if you open taskmgr.exe do you see mshta.exe running as a process ?

Thanks Anyweb,

 

Running it during WinPE, actually the first thing running in the whole TS, so F12, it PXE boot and bam!

I can F8 and run tasklist but I'm afraid the HTA is no longer running since my smsts.log says exit with code 0

The HTA I used I "took" from this site: https://t3chn1ck.wordpress.com/tag/hta/

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.