Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

SOLVED OS Upgrade, Execution engine result code: Reboot (2) error

Status
Not open for further replies.

ismaildedeler

Member
Messages
5
Reaction score
0
Points
1
Hello everybody,

I have Windows 7 client and I want to upgrade to Windows 10. I created Task Sequence for in-place upgrade. Everything good. Operating system updated. But after restart task sequence does not continue. SMSTS Folder not delete. Does anyone have an idea?

Best regards.


Windows Upgrade Setup progress: 83% OSDUpgradeWindows 10/28/2019 07:47:25 5988 (0x1764)
Windows Upgrade Setup progress: 94% OSDUpgradeWindows 10/28/2019 07:47:35 5988 (0x1764)
Windows Upgrade Setup progress: 96% OSDUpgradeWindows 10/28/2019 07:47:45 5988 (0x1764)
Waiting for Windows Upgrade Setup process to return ... OSDUpgradeWindows 10/28/2019 07:47:56 5988 (0x1764)
Process completed with exit code 0 OSDUpgradeWindows 10/28/2019 07:48:09 4764 (0x129C)
ExecuteWithTimeout returned Windows Setup process hexadecimal exit code 0x00000000 (decimal 0) OSDUpgradeWindows 10/28/2019 07:48:09 4764 (0x129C)
Wait for event returned 0 OSDUpgradeWindows 10/28/2019 07:48:09 5988 (0x1764)
Windows Setup completed with exit code hexadecimal 0x00000000 (decimal 0) OSDUpgradeWindows 10/28/2019 07:48:09 5988 (0x1764)
Saving exit code of Windows upgrade - hexadecimal 0x00000000 (decimal 0) - to Task sequence environment variable '_SMSTSOSUpgradeActionReturnCode', as decimal string OSDUpgradeWindows 10/28/2019 07:48:09 5988 (0x1764)
Windows Setup completed successfully! OSDUpgradeWindows 10/28/2019 07:48:09 5988 (0x1764)
Exiting with code 0x00000000 OSDUpgradeWindows 10/28/2019 07:48:09 5988 (0x1764)
Process completed with exit code 0 TSManager 10/28/2019 07:48:09 4148 (0x1034)
!--------------------------------------------------------------------------------------------! TSManager 10/28/2019 07:48:09 4148 (0x1034)
Successfully completed the action (Upgrade Operating System _ United Kingdom) with the exit win32 code 0 TSManager 10/28/2019 07:48:09 4148 (0x1034)
Not in SSL TSManager 10/28/2019 07:48:09 4148 (0x1034)
Set a global environment variable _SMSTSLastActionRetCode=0 TSManager 10/28/2019 07:48:09 4148 (0x1034)
Set a global environment variable _SMSTSLastActionName=Upgrade Operating System _ United Kingdom TSManager 10/28/2019 07:48:09 4148 (0x1034)
Set a global environment variable _SMSTSLastActionSucceeded=true TSManager 10/28/2019 07:48:09 4148 (0x1034)
Clear local default environment TSManager 10/28/2019 07:48:09 4148 (0x1034)
The action (Upgrade Operating System _ United Kingdom) requested a retry TSManager 10/28/2019 07:48:09 4148 (0x1034)
Created volatile registry entry for pending reboot initiated by this task sequence TSManager 10/28/2019 07:48:09 4148 (0x1034)
Executing command line: "bcdedit.exe" with options (0, 0) TSManager 10/28/2019 07:48:09 4148 (0x1034)
Process completed with exit code 0 TSManager 10/28/2019 07:48:10 4148 (0x1034)
TSUEFIDrive: TSManager 10/28/2019 07:48:10 4148 (0x1034)
Updated security on object C:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca. TSManager 10/28/2019 07:48:10 4148 (0x1034)
Updated security on object E:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca. TSManager 10/28/2019 07:48:10 4148 (0x1034)
Updated security on object C:\_SMSTaskSequence. TSManager 10/28/2019 07:48:10 4148 (0x1034)
Set a global environment variable _SMSTSNextInstructionPointer=16 TSManager 10/28/2019 07:48:10 4148 (0x1034)
Set a TS execution environment variable _SMSTSNextInstructionPointer=16 TSManager 10/28/2019 07:48:10 4148 (0x1034)
Set a global environment variable _SMSTSInstructionStackString=6 14 TSManager 10/28/2019 07:48:10 4148 (0x1034)
Set a TS execution environment variable _SMSTSInstructionStackString=6 14 TSManager 10/28/2019 07:48:10 4148 (0x1034)
Save the current environment block TSManager 10/28/2019 07:48:10 4148 (0x1034)
Expand a string: %_SMSTSMDataPath%\Logs TSManager 10/28/2019 07:48:10 4148 (0x1034)
_SMSTSReturnToGINA variable set to: TSManager 10/28/2019 07:48:15 4148 (0x1034)
SMSTSUninstallCCMClient variable set to false TSManager 10/28/2019 07:48:15 4148 (0x1034)
_SMSTSCaptureMedia variable set to false TSManager 10/28/2019 07:48:15 4148 (0x1034)
The action (Upgrade Operating System _ United Kingdom) initiated a reboot request TSManager 10/28/2019 07:48:15 4148 (0x1034)
Not in SSL TSManager 10/28/2019 07:48:15 4148 (0x1034)
**************************************************************************** TSManager 10/28/2019 07:48:16 4148 (0x1034)
Execution engine result code: Reboot (2) TSManager 10/28/2019 07:48:16 4148 (0x1034)
Task Sequence Manager ServiceMain finished execution. TSManager 10/28/2019 07:48:16 4148 (0x1034)
Task Sequence Manager execution terminated as system shutdown is in progress. Code 0x00000000 TSManager 10/28/2019 07:48:16 4148 (0x1034)
RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram TSManager 10/28/2019 07:48:16 4148 (0x1034)
GetTsRegValue() is unsuccessful. 0x80070002. TSManager 10/28/2019 07:48:16 4148 (0x1034)
End program: TSManager 10/28/2019 07:48:16 4148 (0x1034)
Stopping Task Sequence Manager service TSManager 10/28/2019 07:48:16 4148 (0x1034)
RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram TSManager 10/28/2019 07:48:16 1612 (0x064C)
GetTsRegValue() is unsuccessful. 0x80070002. TSManager 10/28/2019 07:48:16 1612 (0x064C)
End program: TSManager 10/28/2019 07:48:16 1612 (0x064C)
 
Hello Sam,

The task sequence is as follows.
Virtual disk= sc config vds start=demand
I have 2 language so I use 2 steps on task sequence.
Network Location Awareness Service= net start nlasvc


TS.JPG
 
Under Upgrade Operating System -> Why do I see two steps with Upgrade Operating System and are they different ?.
 
I have an operating system in two different languages. TR and EN. If operating system language= 1033, Install English ISO. If operating system language = 1055, Install Turkish ISO.
 
I changed the task sequence by default but still the problem is the same. SMSTS folder is not deleted after restart. Operating system upgrade succesfull.


1572796591648.png
 

Attachments

Status
Not open for further replies.
Back
Top