SCCM OSD task sequence reboots after updating to 2303

Glover, Mike 0 Reputation points
2023-05-08T17:32:13.14+00:00

I updated the ADK, then updated SCCM to 2303, and now we can't stage PCs anymore. The boot WIM loads, WinPE starts, then reboots at the "Windows is starting up" screen. I've rebuilt the task sequences for Windows 11, the boot images, and the OS images. Here's the smsts.log file- any help would be greatly appreciated!

LOGGING: Finalize process ID set to 908	TSBootShell	5/8/2023 5:21:34 PM	912 (0x0390)
==============================[ TSBootShell.exe ]==============================	TSBootShell	5/8/2023 5:21:34 PM	912 (0x0390)
Succeeded loading resource DLL 'X:\sms\bin\x64\1033\TSRES.DLL'	TSBootShell	5/8/2023 5:21:34 PM	912 (0x0390)
Debug shell is enabled	TSBootShell	5/8/2023 5:21:34 PM	912 (0x0390)
Waiting for PNP initialization...	TSBootShell	5/8/2023 5:21:34 PM	992 (0x03E0)
RAM Disk Boot Path: NET(0)\SMSIMAGES\SC100005\BOOT.SC100005.WIM	TSBootShell	5/8/2023 5:21:34 PM	992 (0x03E0)
Booted from network (PXE)	TSBootShell	5/8/2023 5:21:34 PM	992 (0x03E0)
Network(PXE) path: X:\sms\data\	TSBootShell	5/8/2023 5:21:34 PM	992 (0x03E0)
Found config path X:\sms\data\	TSBootShell	5/8/2023 5:21:34 PM	992 (0x03E0)
Booting from removable media, not restoring bootloaders on hard drive	TSBootShell	5/8/2023 5:21:34 PM	992 (0x03E0)
X:\sms\data\WinPE does not exist.	TSBootShell	5/8/2023 5:21:34 PM	992 (0x03E0)
X:\_SmsTsWinPE\WinPE does not exist.	TSBootShell	5/8/2023 5:21:34 PM	992 (0x03E0)
Executing command line: wpeinit.exe -winpe	TSBootShell	5/8/2023 5:21:34 PM	992 (0x03E0)
Executing command line: X:\WINDOWS\system32\cmd.exe /k	TSBootShell	5/8/2023 5:21:35 PM	912 (0x0390)
The command completed successfully.	TSBootShell	5/8/2023 5:21:35 PM	912 (0x0390)
Successfully launched command shell.	TSBootShell	5/8/2023 5:21:35 PM	912 (0x0390)
The command completed successfully.	TSBootShell	5/8/2023 5:21:37 PM	992 (0x03E0)
Setting offline Windows drive and OS root directory to Task Sequence environment.	TSBootShell	5/8/2023 5:21:37 PM	992 (0x03E0)
  Processing volume D:\ 	TSBootShell	5/8/2023 5:21:37 PM	992 (0x03E0)
  Volume D:\ is not a local hard drive.	TSBootShell	5/8/2023 5:21:37 PM	992 (0x03E0)
  Processing volume X:\ 	TSBootShell	5/8/2023 5:21:37 PM	992 (0x03E0)
  Volume X:\ is not a local hard drive.	TSBootShell	5/8/2023 5:21:37 PM	992 (0x03E0)
_OSDDetectedWinDrive='', _OSDDetectedWinDir=''	TSBootShell	5/8/2023 5:21:37 PM	992 (0x03E0)
Starting DNS client service.	TSBootShell	5/8/2023 5:21:37 PM	992 (0x03E0)
Executing command line: X:\sms\bin\x64\TsmBootstrap.exe /env:WinPE /configpath:X:\sms\data\	TSBootShell	5/8/2023 5:21:37 PM	992 (0x03E0)
The command completed successfully.	TSBootShell	5/8/2023 5:21:37 PM	992 (0x03E0)
Execution complete.	TSBootShell	5/8/2023 5:21:37 PM	992 (0x03E0)
hMap != 0, HRESULT=80070002 (K:\dbs\sh\cmgm\0405_083130\cmd\w\src\Framework\TSCore\environmentscope.cpp,495)	TSBootShell	5/8/2023 5:21:37 PM	992 (0x03E0)
m_pGlobalScope->open(), HRESULT=80070002 (K:\dbs\sh\cmgm\0405_083130\cmd\w\src\Framework\TSCore\environmentlib.cpp,335)	TSBootShell	5/8/2023 5:21:37 PM	992 (0x03E0)
this->open(), HRESULT=80070002 (K:\dbs\sh\cmgm\0405_083130\cmd\w\src\Framework\TSCore\environmentlib.cpp,561)	TSBootShell	5/8/2023 5:21:37 PM	992 (0x03E0)
::RegOpenKeyExW (HKEY_LOCAL_MACHINE, sKey.c_str(), 0, KEY_READ, &hSubKey), HRESULT=80070002 (K:\dbs\sh\cmgm\0405_083130\cmd\w\src\Framework\TSCore\utils.cpp,689)	TSBootShell	5/8/2023 5:21:37 PM	992 (0x03E0)
RegOpenKeyExW is unsuccessful for Software\Microsoft\SMS\Task Sequence	TSBootShell	5/8/2023 5:21:37 PM	992 (0x03E0)
GetTsRegValue() is unsuccessful. 0x80070002.	TSBootShell	5/8/2023 5:21:37 PM	992 (0x03E0)
End program: 	TSBootShell	5/8/2023 5:21:37 PM	992 (0x03E0)
Finalizing logging from process 908	TSBootShell	5/8/2023 5:21:37 PM	992 (0x03E0)
Finalizing logs to root of first available drive	TSBootShell	5/8/2023 5:21:37 PM	992 (0x03E0)
No available disk drives	TSBootShell	5/8/2023 5:21:37 PM	992 (0x03E0)
Cleaning up task sequencing logging configuration.	TSBootShell	5/8/2023 5:21:37 PM	992 (0x03E0)
TS::Environment::SharedEnvironment.isInitialized() == true, HRESULT=80004005 (K:\dbs\sh\cmgm\0405_083130\cmd\w\src\Framework\TSCore\tslogging.cpp,694)	TSBootShell	5/8/2023 5:21:37 PM	992 (0x03E0)
TS environment is not initialized	TSBootShell	5/8/2023 5:21:37 PM	992 (0x03E0)

Microsoft Configuration Manager
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Hudec Roman 11 Reputation points
    2023-08-10T13:18:42.35+00:00

    I had the same problem with the boot image. The required components look like they are there, but they are not. There seems to be some compatibility issue with the ADK on the server. They need to be added manually, for example I added them with a cmd script:

    Dism /Mount-Image /ImageFile:"%~DP0boot.wim" /index:1 /MountDir:"%~DP0mount"

    SET ADKP="\sccm01\d$\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\

    pause

    Dism /image:"%~DP0mount" /Add-Package /PackagePath:%ADKP%WinPE-HTA.cab"

    Dism /image:"%~DP0mount" /Add-Package /PackagePath:%ADKP%WinPE-DismCmdlets.cab"

    Dism /image:"%~DP0mount" /Add-Package /PackagePath:%ADKP%WinPE-WDS-Tools.cab"

    Dism /image:"%~DP0mount" /Add-Package /PackagePath:%ADKP%WinPE-Dot3Svc.cab"

    Dism /image:"%~DP0mount" /Add-Package /PackagePath:%ADKP%WinPE-NetFx.cab"

    Dism /image:"%~DP0mount" /Add-Package /PackagePath:%ADKP%WinPE-PowerShell.cab"

    Dism /image:"%~DP0mount" /Add-Package /PackagePath:%ADKP%WinPE-Scripting.cab"

    Dism /image:"%~DP0mount" /Add-Package /PackagePath:%ADKP%WinPE-SecureBootCmdlets.cab"

    Dism /image:"%~DP0mount" /Add-Package /PackagePath:%ADKP%WinPE-WMI.cab"

    pause

    Dism /Unmount-Image /MountDir:"%~DP0mount" /commit

    pause

    1 person found this answer helpful.

  2. AllenLiu-MSFT 41,691 Reputation points Microsoft Vendor
    2023-05-09T06:45:51.8066667+00:00

    Hi, @Glover, Mike

    Thank you for posting in Microsoft Q&A forum.

    After we reinstall ADK, have we updated distribution points of the boot image with checking "Reload this boot image with the current Windows PE version from the Windows ADK"?

    1


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".