windows 10 22H2 upgrade task sequence error

midhun PS 21 Reputation points
2022-12-15T07:34:27.1+00:00

I was trying to upgrade a window 10 1903 device to 22H2 using a SCCM upgrade task sequence, but post installation and before first restart TS failed with below error. please advise on this.

==========================================================================

Windows upgrade progress: 96% OSDUpgradeWindows 15-12-2022 10:59:11 10428 (0x28BC)
Windows upgrade progress: 97% OSDUpgradeWindows 15-12-2022 10:59:31 10428 (0x28BC)
Waiting for Windows Upgrade Setup process to return ... OSDUpgradeWindows 15-12-2022 10:59:31 10428 (0x28BC)
Process completed with exit code 0 OSDUpgradeWindows 15-12-2022 10:59:36 7660 (0x1DEC)
ExecuteWithTimeout returned Windows Setup process hexadecimal exit code 0x00000000 (decimal 0) OSDUpgradeWindows 15-12-2022 10:59:36 7660 (0x1DEC)
Wait for event returned 0 OSDUpgradeWindows 15-12-2022 10:59:36 10428 (0x28BC)
Windows setup completed with exit code hexadecimal 0x00000000 (decimal 0) OSDUpgradeWindows 15-12-2022 10:59:36 10428 (0x28BC)
Saving exit code of Windows upgrade - hexadecimal 0x00000000 (decimal 0) - to Task sequence environment variable '_SMSTSOSUpgradeActionReturnCode', as decimal string OSDUpgradeWindows 15-12-2022 10:59:36 10428 (0x28BC)
Windows Setup completed successfully! OSDUpgradeWindows 15-12-2022 10:59:36 10428 (0x28BC)
Exiting with code 0x00000000 OSDUpgradeWindows 15-12-2022 10:59:36 10428 (0x28BC)
Process completed with exit code 0 TSManager 15-12-2022 10:59:37 2780 (0x0ADC)
!--------------------------------------------------------------------------------------------! TSManager 15-12-2022 10:59:37 2780 (0x0ADC)
Successfully completed the action (Upgrade is underway! This will take a while...) with the exit win32 code 0 TSManager 15-12-2022 10:59:37 2780 (0x0ADC)
Not in SSL. TSManager 15-12-2022 10:59:37 2780 (0x0ADC)
Set a global environment variable _SMSTSLastActionRetCode=0 TSManager 15-12-2022 10:59:37 2780 (0x0ADC)
Set a global environment variable _SMSTSLastActionName=Upgrade is underway! This will take a while... TSManager 15-12-2022 10:59:37 2780 (0x0ADC)
Set a global environment variable _SMSTSLastActionSucceeded=true TSManager 15-12-2022 10:59:37 2780 (0x0ADC)
Clear local default environment TSManager 15-12-2022 10:59:37 2780 (0x0ADC)
The action (Upgrade is underway! This will take a while...) requested a retry TSManager 15-12-2022 10:59:37 2780 (0x0ADC)
Created volatile registry entry for pending reboot initiated by this task sequence TSManager 15-12-2022 10:59:37 2780 (0x0ADC)
Executing command line: "bcdedit.exe" with options (0, 0) TSManager 15-12-2022 10:59:37 2780 (0x0ADC)
Process completed with exit code 0 TSManager 15-12-2022 10:59:37 2780 (0x0ADC)
TSUEFIDrive: TSManager 15-12-2022 10:59:37 2780 (0x0ADC)
Failed to write volume id file to disk C:. 80070005 TSManager 15-12-2022 10:59:37 2780 (0x0ADC)
Failed to convert protected paths to unique ID. Error code 0x80070005 TSManager 15-12-2022 10:59:37 2780 (0x0ADC)
Failed to reboot the system. Error 0x80070005) TSManager 15-12-2022 10:59:37 2780 (0x0ADC)
Failed to initialize a system reboot (0x80070005) TSManager 15-12-2022 10:59:37 2780 (0x0ADC)
Fatal error is returned in check for reboot request of the action (Upgrade is underway! This will take a while...) (0x80070005) TSManager 15-12-2022 10:59:37 2780 (0x0ADC)
An error (0x80070005) is encountered in execution of the task sequence TSManager 15-12-2022 10:59:37 2780 (0x0ADC)
Not in SSL. TSManager 15-12-2022 10:59:37 2780 (0x0ADC)
Task Sequence Engine failed! Code: 80070005 TSManager 15-12-2022 11:14:40 2780 (0x0ADC)
**************************************************************************** TSManager 15-12-2022 11:14:40 2780 (0x0ADC)
Task sequence execution failed with error code 80070005 TSManager 15-12-2022 11:14:40 2780 (0x0ADC)
Cleaning Up. TSManager 15-12-2022 11:14:40 2780 (0x0ADC)
Removing Authenticator TSManager 15-12-2022 11:14:40 2780 (0x0ADC)
Cleaning up task sequence folder TSManager 15-12-2022 11:14:40 2780 (0x0ADC)
Deleting volume ID file C:_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ... TSManager 15-12-2022 11:14:40 2780 (0x0ADC)
Deleting volume ID file D:_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ... TSManager 15-12-2022 11:14:40 2780 (0x0ADC)
Deleting volume ID file E:_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ... TSManager 15-12-2022 11:14:40 2780 (0x0ADC)
Deleting volume ID file F:_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ... TSManager 15-12-2022 11:14:40 2780 (0x0ADC)
Successfully unregistered Task Sequencing Environment COM Interface. TSManager 15-12-2022 11:14:41 2780 (0x0ADC)
Executing command line: "C:\Windows\CCM\TsProgressUI.exe" /Unregister with options (0, 0) TSManager 15-12-2022 11:14:41 2780 (0x0ADC)

Microsoft Security | Intune | Configuration Manager | Deployment
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Simon Ren-MSFT 40,376 Reputation points Microsoft External Staff
    2022-12-16T09:17:01.627+00:00

    Hi,

    1,You can try to add a "Run Command Line" task sequence setp with "SUBST /D" command to have a try. Similar threads for your reference:
    ConfigMgr Restart Task fails if client has SUBST-ituted drive
    SCCM Restart error

    2,If there is any USB stick or removable drive, please remove it to have a try.

    3,What version of SCCM and Windows ADK you are using? To support Windows 10 22 H2 as client, please upgrade to the latest SCCM version 2207 or 2211 to have a try.

    Thanks for your time. Have a nice day!

    Best regards,
    Simon


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.