Hi all,
We want to install 40 applications with a Task Sequence using SCCM2012 R2. We migrated 40 Packages to the “Application Model”. When we run the TS on Win7 and the application exitcode was 3010 we got a nice restart and the TS moved on to install the next
application. With 40 apps we get approximately 16 reboots based on a 3010 exitcode. 16 reboots is too much!
So we build a wrapper and all the exitcode now are 0 within a TS so no restarts. But after the installation of APP-V 4.6 / .Net 4.5 / Powershell 3.0 / we want a reboot. When I select “Restart Computer – The currently installed default operating system” we get an error after the reboot: “Task sequence failed due to an external shutdown request received during the TS running” …
Environment:
SCCM2012 R2 Server:
- Server 2008 R2 + SCCM 2012 R2 version 5.00.7958.1000 Build 7958
Clients
- Windows 7 SP1 Enterprise + SCCMClient version 5.00.7958.1000
LOGS
Smsts.log
- Error getting system isolation info. Code 8027000C
- Remediation failed. 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 failed due to an external shutdown request received during the TS running
- Task sequence execution failed with error code 80004005
Execmgr.log
- System task 'SMSSHA_Startup' returned error code 0x87d0027f
TSAgent.log
- nothing unusual
RebootCoordinator.log
- Retry resuming bit-locker TPM PIN protector. Retry count 1 RebootCoordinator 18-12-2013 6:36:46 4032 (0x0FC0)
- Didn't suspended bit-locker. Do nothing and return. RebootCoordinator 18-12-2013 6:36:46 4032 (0x0FC0)
- User S-1-5-21-3723389022-3858856549-556620252-238740 is getting pending reboot information... RebootCoordinator 18-12-2013 6:37:12 3316 (0x0CF4)
Back to Basic > starting TS with 2 simple actions:
- “Restart Computer – The currently installed default operating system”
- RunCommandLine “CMD.exe /c MD C:\BackFromR”
This is working fine!
Smsts.log Still some errors
- Failed to submit event to the Status Agent. Attempting to create pending event.
- Error getting system isolation info. Code 8027000C
- Remediation failed. Code 8027000C
- Remediation failed with error code 8027000C
How is it that a reboot initiated from the TS fails the TS?
Could it be that there are to many “PendingFileRenameOperations”?
Are there any actions that I need to do before or after the reboot action in the TS?
Do I really need 16 reboots….