Task Sequence Error during (user) restart
Dear all,
Have a problem with a new Task Sequence for Softwaredistribution.
The TS do the following:
1.: Execute Batch File (Condition: wheter user logged on or not)
2.: Uninstall MSI package (Condition: When no user logged on)
3.: Restard by package
4.: etc
The TS running normaly through Step 1. Then the TS Status is "Waiting for User Condition". Thats correct, because our users working with the Software that shoud be uninstalled. Now the user shut down or restart his PC after his work and the problems
are going on.
The Server TS Report shows the following:
___
- The task sequence execution engine performed a system reboot initiated by the action (Unistall MSI Package) in the group ( ).
- The task sequence manager could not successfully complete execution of the task sequence. A failure exit code of 16389 was returned. The operating system reported error 16389
___
The Client SMSTS.log shows the following:
_____
- Failed to pause component System Health Agent (80040200)
- Error getting system isolation info. Code 8027000C
- Task sequence failed due to an external shutdown request received during the TS running
- Task Sequence Manager could not initialize Task Sequence Engine. code 80004005
- Task sequence execution failed with error code 80004005
...
- Error executing Task Sequence Manager service. Code 0x80004005
____
The client execmgr.log shows the following
_____
- spRebootCoordinator->JobComplet failed 0x80004005
- DecrementPersistentJobCounter: Persistent job counter underflow or unexpected number
...
- Script for Package: xxxx, Program: uninstall failed with exit code 1605
____
I have no idea why the TS is running on error when the user restarts his workstation. Maybe I have a general designing Problem for this TS.
Thanks for any help.
Matthias
June 28th, 2010 12:19pm
I think the only way you would get this to work is to let the Task Seqeunce restart the computer. Otherwise the task sequence sees it as an external shutdown(not initiated by the Task Sequence or the Software installation) and will fail.
1.: Execute Batch File (Condition: wheter user logged on or not)
2.: Restart computer by task Sequence
3.: Uninstall MSI package (Condition: When no user logged on)
4.: Restard by package
5.: etc
That would probably work..
Hope it helps.
/Jörgen---------------------------------------------------- visit my System center blog at www.ccmexec.com
Free Windows Admin Tool Kit Click here and download it now
June 28th, 2010 4:10pm
Hello Jörgen,
thanks for your reply.
The Problem is, that I can´t control when the user shut down his pc, when he finished his work. The PC received the announcement duringt the day and execute Step 1 of the TS in the background. It is regardless on which time the TS execute Step
2, that can be after PC reboot or later in the day (after user log off).
In your example your allow the TS restarting the PC, thats generally ok but we don´t wont to disturb our users with PC restarting, etc. at working time. Maybe the is a possibility to prevent a user shutdown during the TS is running?
Thanks
Matthias
June 28th, 2010 4:55pm
Hello Jörgen,
I have a similar problem. I use restart computer by package ( Program restarts computer) on program in SCCM package in menu "After running" in one step TS. It seems to me that TS Launcher takes this restart as external. I have exactly
informations in SMSTS.LOG as Matthias after restart computer.
<![LOG[System is not in quarantine. Continuing with task sequence.]LOG]!>
<![LOG[Task sequence failed due to an external shutdown request received during the TS running]LOG]!>
<![LOG[Task Sequence Manager could not initialize Task Sequence Engine. code 80004005]LOG]!>
Thanks !
Jan
Free Windows Admin Tool Kit Click here and download it now
October 22nd, 2010 5:06pm


