Hi everyone. I am using SCCM 2012 R2 CU2 on a Windows Server 2008 R2 Standard. I am having an issue with a Task sequence seeming not beeing able to complete a "Restart Computer" Task. Some Clients get stuck at the shutdown - after a built-in reboot was initialized - at the message "stop Services".
After days of log-watching and googling I finally decided to ask that question. I can't find an accordance between the Clients except a message out of the statusmessagedetails telling me that a component triggered an exception which couldn't be processed, SOURCE advanced Client ("Agent got terminated immediately")
Componentname: UnknownModule
Client-Version: different, some older, some latest.
The next entry is that the TSMGR could not execute a tasksequence successfully - unknown Interface. I think that happens when relevant wmi-services already got stopped and the Agent could not finalize the reboot command. I could not read out any Information out of the Event logs.
Scenario: Maintenance Window is configured from 12 to 5 am. Mostly around 12:15 am starting the maintenance TS running a script forcing a check for latest Windows Updates via WSUS, rebooting the Client, checking Client configuration and so on. No Problem on Clients with no other deployments. Mostly These machines have a second or a third deployment in the Queue.
Here is a cut from the SMSTS.log of an affected machine:
Start executing the command line: smsboot.exe /target:HD TSManager 29.01.2015 00:18:50 884 (0x0374)
!--------------------------------------------------------------------------------------------! TSManager 29.01.2015 00:18:50 884 (0x0374)
Expand a string: WinPEandFullOS TSManager 29.01.2015 00:18:50 884 (0x0374)
Executing command line: smsboot.exe /target:HD TSManager 29.01.2015 00:18:50 884 (0x0374)
Creation event received for process 4548 mtrmgr 29.01.2015 00:18:50 1816 (0x0718)
========================= [ smsboot.exe ] ========================= Reboot 29.01.2015 00:18:50 3984 (0x0F90)
SMSTSRebootDelay=1 Reboot 29.01.2015 00:18:50 3984 (0x0F90)
SMSTSRebootMessage=Initiating system reboot Reboot 29.01.2015 00:18:50 3984 (0x0F90)
SMSTSRebootRequested=HD Reboot 29.01.2015 00:18:50 3984 (0x0F90)
Process completed with exit code 0 TSManager 29.01.2015 00:18:50 884 (0x0374)
Unable to collect process information as process has terminated mtrmgr 29.01.2015 00:18:50 1816 (0x0718)
No usage will be tracked for process 4548, as failed to get owner info or executable file name 80004005 mtrmgr 29.01.2015 00:18:50 1816 (0x0718)
Termination event received for process 4548 mtrmgr 29.01.2015 00:18:50 1816 (0x0718)
No active process found with ID 4548 mtrmgr 29.01.2015 00:18:50 4552 (0x11C8)
!--------------------------------------------------------------------------------------------! TSManager 29.01.2015 00:18:50 884 (0x0374)
Successfully completed the action (Reboot Client before Update) with the exit win32 code 0 TSManager 29.01.2015 00:18:50 884 (0x0374)
Set authenticator in transport TSManager 29.01.2015 00:18:50 884 (0x0374)
Set a global environment variable _SMSTSLastActionRetCode=0 TSManager 29.01.2015 00:18:50 884 (0x0374)
Set a global environment variable _SMSTSLastActionSucceeded=true TSManager 29.01.2015 00:18:50 884 (0x0374)
Clear local default environment TSManager 29.01.2015 00:18:50 884 (0x0374)
Updated security on object C:\_SMSTaskSequence. TSManager 29.01.2015 00:18:50 884 (0x0374)
Set a global environment variable _SMSTSNextInstructionPointer=8 TSManager 29.01.2015 00:18:50 884 (0x0374)
Set a TS execution environment variable _SMSTSNextInstructionPointer=8 TSManager 29.01.2015 00:18:50 884 (0x0374)
Set a global environment variable _SMSTSInstructionStackString=0 6 TSManager 29.01.2015 00:18:50 884 (0x0374)
Set a TS execution environment variable _SMSTSInstructionStackString=0 6 TSManager 29.01.2015 00:18:50 884 (0x0374)
Save the current environment block TSManager 29.01.2015 00:18:50 884 (0x0374)
Executing command line: "bcdedit.exe" TSManager 29.01.2015 00:18:50 884 (0x0374)
Creation event received for process 4124 mtrmgr 29.01.2015 00:18:50 1816 (0x0718)
Unable to collect process information as process has terminated mtrmgr 29.01.2015 00:18:50 1816 (0x0718)
Process completed with exit code 0 TSManager 29.01.2015 00:18:50 884 (0x0374)
No usage will be tracked for process 4124, as failed to get owner info or executable file name 80004005 mtrmgr 29.01.201500:18:50 1816 (0x0718)
Termination event received for process 4124 mtrmgr 29.01.2015 00:18:50 1816 (0x0718)
No active process found with ID 4124 mtrmgr 29.01.2015 00:18:50 4552 (0x11C8)
Updated security on object C:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca. TSManager 29.01.2015 00:18:50 884 (0x0374)
Updated security on object C:\_SMSTaskSequence. TSManager 29.01.2015 00:18:50 884 (0x0374)
Set a global environment variable _SMSTSNextInstructionPointer=8 TSManager 29.01.2015 00:18:50 884 (0x0374)
Set a TS execution environment variable _SMSTSNextInstructionPointer=8 TSManager 29.01.2015 00:18:50 884 (0x0374)
Set a global environment variable _SMSTSInstructionStackString=0 6 TSManager 29.01.2015 00:18:50 884 (0x0374)
Set a TS execution environment variable _SMSTSInstructionStackString=0 6 TSManager 29.01.2015 00:18:50 884 (0x0374)
Save the current environment block TSManager 29.01.2015 00:18:50 884 (0x0374)
Expand a string: %_SMSTSMDataPath%\Logs TSManager 29.01.2015 00:18:50 884 (0x0374)
Error executing InitiateSystemShutdownEx(). Code 0x800706b5 TSManager 29.01.2015 00:18:50 884 (0x0374)
Failed to initiate a system reboot. Error code 0x800706b5 TSManager 29.01.2015 00:18:50 884 (0x0374)
Failed to reboot the system. Error 0x(800706b5) TSManager 29.01.2015 00:18:50 884 (0x0374)
Failed to initialize a system reboot.
The interface is unknown. (Error: 800706B5; Source: Windows) TSManager 29.01.2015 00:18:50 884 (0x0374)
Fatal error is returned in check for reboot request of the action (Reboot Client before Update).
The interface is unknown. (Error: 800706B5; Source: Windows) TSManager 29.01.2015 00:18:50 884 (0x0374)
An error (0x800706b5) is encountered in execution of the task sequence TSManager 29.01.2015 00:18:50 884 (0x0374)
Set authenticator in transport TSManager 29.01.2015 00:18:50 884 (0x0374)
Task Sequence Engine failed! Code: 800706B5 TSManager 29.01.2015 00:18:51 884 (0x0374)
**************************************************************************** TSManager 29.01.2015 00:18:51 884 (0x0374)
Task sequence execution failed with error code 800706B5 TSManager 29.01.2015 00:18:51 884 (0x0374)
Cleaning Up. TSManager 29.01.2015 00:18:51 884 (0x0374)
Removing Authenticator TSManager 29.01.2015 00:18:51 884 (0x0374)
Cleaning up task sequence folder TSManager 29.01.2015 00:18:51 884 (0x0374)
Unable to delete file C:\_SMSTaskSequence\TSEnv.dat (0x80070005). Continuing. TSManager 29.01.2015 00:18:51 884 (0x0374)
Failed to delete directory 'C:\_SMSTaskSequence' TSManager 29.01.2015 00:18:51 884 (0x0374)
SetNamedSecurityInfo() failed. TSManager 29.01.2015 00:18:51 884 (0x0374)
SetObjectOwner() failed. 0x80070005. TSManager 29.01.2015 00:18:51 884 (0x0374)
RemoveFile() failed for C:\_SMSTaskSequence\TSEnv.dat. 0x80070005. TSManager 29.01.2015 00:18:51 884 (0x0374)
RemoveDirectoryW failed (0x80070091) for C:\_SMSTaskSequence TSManager 29.01.2015 00:18:51 884 (0x0374)
Deleting volume ID file C:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ... TSManager 29.01.2015 00:18:51 884 (0x0374)
Successfully unregistered Task Sequencing Environment COM Interface. TSManager 29.01.2015 00:18:51 884 (0x0374)
Executing command line: "C:\Windows\CCM\TsProgressUI.exe" /Unregister TSManager 29.01.2015 00:18:51 884 (0x0374)
Does anyone have expirience with that issue? Thanks in advance!