Link to home
Start Free TrialLog in
Avatar of Enrique Carrasco
Enrique Carrasco

asked on

Execution engine result code: Reboot (2)

Hi!

I've created a TS to make a clean installation of Windows 10 pro 1803.
Everything goes fine, until the TS rises the "Setup Windows and Configuration Manager" step. As you know, at this step the computer reboots. In my case, the TS doesn't continue, the system restart but SCCM client it's not installed, and either the applications.

I've tried to find out any solution to this issue in internet, but no results.

Can anyone help me with this issue???

I have:
SCCM version 1806
SCCM Client 5.00.8692.1008

Here are the last lines of my smsts.log.


!--------------------------------------------------------------------------------------------!            
Successfully completed the action (Setup Windows and Configuration Manager) with the exit win32 code 0            
"MP server http://siteserver.mydom.com. Ports 80,443. CRL=false."            
Setting authenticator            
Sending StatusMessage            
Setting the authenticator.            
CLibSMSMessageWinHttpTransport::Send: WinHttpOpenRequest - URL: siteserver.mydom.com:80  CCM_POST /ccm_system/request            
Not in SSL            
Request was successful.            
Set a global environment variable _SMSTSLastActionRetCode=0            
Set a global environment variable _SMSTSLastActionSucceeded=true            
Expand a string: %_SMSTSMDataPath%\Logs            
Clear local default environment            
The action (Setup Windows and Configuration Manager) requested a retry            
Reboot to local harddisk            
_OSDGinaIsConfigured variable set to TRUE            
_SMSTSServiceStartType variable set to             
Created volatile registry entry for pending reboot initiated by this task sequence            
"Command line for extension .exe is ""%1"" %*"            
"Set command line: ""bcdedit.exe"""            
"Executing command line: ""bcdedit.exe"""            
Process completed with exit code 0            
Calling RebootSystem()            
TSUEFIDrive:             
OSD type of task sequence. ignore the service window setting            
Updated security on object C:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca.            
Updated security on object S:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca.            
Path variable OSDStateStorePath converted from C:\StateStore to 444D494F3A49443AB434E4D75499B444A2A8E3E510204B9B:\StateStore            
Path variable _SMSTSBootStagePath converted from C:\_SMSTaskSequence\WinPE to 444D494F3A49443AB434E4D75499B444A2A8E3E510204B9B:\_SMSTaskSequence\WinPE            
Updated security on object C:\_SMSTaskSequence.            
Set a global environment variable _SMSTSNextInstructionPointer=27            
Set a TS execution environment variable _SMSTSNextInstructionPointer=27            
Set a global environment variable _SMSTSInstructionStackString=26            
Set a TS execution environment variable _SMSTSInstructionStackString=26            
Save the current environment block            
Expand a string: %_SMSTSMDataPath%\Logs            
Current operating system is Windows PE. Computer will automatically reboot when the process exits.            
The action (Setup Windows and Configuration Manager) initiated a reboot request            
"MP server http://siteserver.mydom.com. Ports 80,443. CRL=false."            
Setting authenticator            
Sending StatusMessage            
Setting the authenticator.            
CLibSMSMessageWinHttpTransport::Send: WinHttpOpenRequest - URL: siteserver.mydom.com:80  CCM_POST /ccm_system/request            
Not in SSL            
Request was successful.            
****************************************************************************            
Execution engine result code: Reboot (2)            
Process completed with exit code 2147945410            
Exiting with return code 0x80070BC2            
Execution complete.            
"hMap != 0, HRESULT=80070002 (..\environmentscope.cpp,493)"            
"m_pGlobalScope->open(), HRESULT=80070002 (..\environmentlib.cpp,335)"            
"this->open(), HRESULT=80070002 (..\environmentlib.cpp,561)"            
"::RegQueryValueExW(hSubKey, szReg, NULL, NULL, NULL, &dwSize), HRESULT=80070002 (..\utils.cpp,844)"            
"RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram"            
GetTsRegValue() is unsuccessful. 0x80070002.            
End program:
Avatar of Hayes Jupe
Hayes Jupe
Flag of Australia image

I've seen this before where the version of ADK and SCCM client within the boot wim have not been updated, but the Windows version being deployed is being updated. It might not be in in this case - but it might be worth checking.

So
1) Uninstall the existing ADK
2) Download and install ADK 1803 (or 1809 which is the current one)
3) Ensure the current version of your SCCM client has been distributed to DP's since your last CB upgrade process
4) Re-distribute your boot wims, ticking the box to "Reload boot image...."

This should result in your Boot wim having the latest version of PE and the SCCM client.

As per my first sentence, this may not be it - but I have seen it before due to this - so its probably worth a crack.
ASKER CERTIFIED SOLUTION
Avatar of Enrique Carrasco
Enrique Carrasco

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial