SCCM ADK 2004 Update Boot Image

Michael Jacinto 136 Reputation points
2021-05-02T18:58:32.8+00:00

Hello, we just update our SCCM to the latest ADK and ADK PE. When trying to Updateing DP with new boot image, we receive the following error:

Server 2012 R2
SCCM 2012 Version 2002
Console Version: 5.2002.1083.2000
Site Version: 5.00.5968.100 Build 8968

Error: Update boot image:
• Microsoft Windows PE (x64)

Error: Windows ADK reload actions:
• Reload using Windows PE from the ADK version 10.0.19041.0

Error: Update actions:
• Add ConfigMgr binaries using Production Client version 5.00.8968.1021
• Add custom background
• Set scratch space
• Enable Windows PE command line support

Error: Failed to import the following drivers:

Optional components:
• Scripting (WinPE-Scripting)
• Startup (WinPE-SecureStartup)
• Network (WinPE-WDS-Tools)
• Scripting (WinPE-WMI)

Error: The wizard detected the following problems when updating the boot image.
• Failed to insert OSD binaries into the mounted WIM file
The SMS Provider reported an error.: ConfigMgr Error Object:
instance of SMS_ExtendedStatus
{
• Description = "Failed to inject OSD binaries into mounted WIM file (often happens if unsigned drivers are inserted into x64 boot image)";
• ErrorCode = 2152205056;
• File = "..\sspbootimagepackage.cpp";
• Line = 5482;
• ObjectInfo = "CSspBootImagePackage::PreRefreshPkgSrcHook";
• Operation = "ExecMethod";
• ParameterInfo = "SMS_BootImagePackage.PackageID=\"MQ100005\"";
• ProviderName = "WinMgmt";
• StatusCode = 2147749889;
};

SCCM LOG:

Request was successful. TSManager 01.05.2021 13:16:44 1752 (0x06D8)
Suspending resolve task sequence dependencies thread TSPxe 01.05.2021 13:19:05 1504 (0x05E0)
Executing command line: X:\WINDOWS\system32\cmd.exe /k TSBootShell 01.05.2021 13:19:08 668 (0x029C)
The command completed successfully. TSBootShell 01.05.2021 13:19:08 668 (0x029C)
Successfully launched command shell. TSBootShell 01.05.2021 13:19:08 668 (0x029C)
Server is no longer in use. Shutting down. TSProgressUI.exe 01.05.2021 13:19:27 1812 (0x0714)
Execution::enExecutionFail != m_eExecutionResult, HRESULT=80004005 (tsmanager.cpp,1292) TSManager 01.05.2021 13:19:27 1752 (0x06D8)
Leaving message loop TSProgressUI.exe 01.05.2021 13:19:27 1812 (0x0714)
Unregistering class objects TSProgressUI.exe 01.05.2021 13:19:27 1812 (0x0714)
Task Sequence Engine failed! Code: enExecutionFail TSManager 01.05.2021 13:19:27 1752 (0x06D8)
Shutdown complete. TSProgressUI.exe 01.05.2021 13:19:27 1812 (0x0714)
**************************************************************************** TSManager 01.05.2021 13:19:27 1752 (0x06D8)
Task sequence execution failed with error code 80004005 TSManager 01.05.2021 13:19:27 1752 (0x06D8)
Cleaning Up. TSManager 01.05.2021 13:19:27 1752 (0x06D8)
Removing Authenticator TSManager 01.05.2021 13:19:27 1752 (0x06D8)
shKey.DeleteValue( c_szRegValue_SecurityToken ), HRESULT=80070002 (..\CcmUtilLib.cpp,2128) TSManager 01.05.2021 13:19:27 1752 (0x06D8)
shKey.DeleteValue(sValueName.c_str()), HRESULT=80070002 (..\CcmToken.cpp,1137) TSManager 01.05.2021 13:19:27 1752 (0x06D8)
EncryptStringAndSetToRegistry((( HKEY ) (ULONG_PTR)((LONG)0x80000002) ), c_szCCMRegKey_Root, sRegValueName, sToken), HRESULT=80070002 (..\CcmToken.cpp,1066) TSManager 01.05.2021 13:19:27 1752 (0x06D8)
shKey.DeleteValue(sValueName.c_str()), HRESULT=80070002 (..\CcmToken.cpp,1137) TSManager 01.05.2021 13:19:27 1752 (0x06D8)
EncryptStringAndSetToRegistry((( HKEY ) (ULONG_PTR)((LONG)0x80000002) ), c_szCCMRegKey_Root, sRegValueName, sToken), HRESULT=80070002 (..\CcmToken.cpp,1066) TSManager 01.05.2021 13:19:27 1752 (0x06D8)
Cleaning up task sequence folder TSManager 01.05.2021 13:19:27 1752 (0x06D8)
Deleting volume ID file C:_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ... TSManager 01.05.2021 13:19:27 1752 (0x06D8)
DeleteFileW(sVolumeIDFile.c_str()), HRESULT=80070002 (..\resolvesource.cpp,520) TSManager 01.05.2021 13:19:27 1752 (0x06D8)
Deleting volume ID file S:_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ... TSManager 01.05.2021 13:19:27 1752 (0x06D8)
DeleteFileW(sVolumeIDFile.c_str()), HRESULT=80070002 (..\resolvesource.cpp,520) TSManager 01.05.2021 13:19:27 1752 (0x06D8)
Successfully unregistered Task Sequencing Environment COM Interface. TSManager 01.05.2021 13:19:27 1752 (0x06D8)
Command line for extension .exe is "%1" %* TSManager 01.05.2021 13:19:27 1752 (0x06D8)
Set command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister TSManager 01.05.2021 13:19:27 1752 (0x06D8)
Executing command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister with options (0, 0) TSManager 01.05.2021 13:19:27 1752 (0x06D8)
==========[ TsProgressUI started in process 2592 ]========== TsProgressUI 01.05.2021 13:19:27 2596 (0x0A24)
Command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister TsProgressUI 01.05.2021 13:19:27 2596 (0x0A24)
Unregistering COM classes TsProgressUI 01.05.2021 13:19:27 2596 (0x0A24)
Unregistering class objects TsProgressUI 01.05.2021 13:19:27 2596 (0x0A24)
Shutdown complete. TsProgressUI 01.05.2021 13:19:27 2596 (0x0A24)
Process completed with exit code 0 TSManager 01.05.2021 13:19:27 1752 (0x06D8)
Successfully unregistered Task Sequence Progress UI. TSManager 01.05.2021 13:19:27 1752 (0x06D8)
g_TSManager.Run(), HRESULT=80004005 (tsmanager.cpp,1044) TSManager 01.05.2021 13:19:27 1752 (0x06D8)
::RegQueryValueExW(hSubKey, szReg, NULL, NULL, NULL, &dwSize), HRESULT=80070002 (..\utils.cpp,1104) TSManager 01.05.2021 13:19:27 1752 (0x06D8)
RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram TSManager 01.05.2021 13:19:27 1752 (0x06D8)
GetTsRegValue() is unsuccessful. 0x80070002. TSManager 01.05.2021 13:19:27 1752 (0x06D8)
End program: TSManager 01.05.2021 13:19:27 1752 (0x06D8)
Error Task Sequence Manager failed to execute task sequence. Code 0x80004005 TSManager 01.05.2021 13:19:27 1752 (0x06D8)
Sending error status message TSManager 01.05.2021 13:19:27 1752 (0x06D8)
MP server <<<http://ASSERVER>>>>80,443. CRL=false. TSManager 01.05.2021 13:19:27 1752 (0x06D8)
Setting authenticator TSManager 01.05.2021 13:19:27 1752 (0x06D8)
Sending StatusMessage TSManager 01.05.2021 13:19:27 1752 (0x06D8)
Setting the authenticator. TSManager 01.05.2021 13:19:27 1752 (0x06D8)
CLibSMSMessageWinHttpTransport::Send: WinHttpOpenRequest - URL: <<<http://ASSERVER>>>>:80 CCM_POST /ccm_system/request TSManager 01.05.2021 13:19:27 1752 (0x06D8)
Not in SSL. TSManager 01.05.2021 13:19:27 1752 (0x06D8)
Request was successful. TSManager 01.05.2021 13:19:27 1752 (0x06D8)
Finalize logging request ignored from process 1748 TSManager 01.05.2021 13:19:27 1752 (0x06D8)
Resuming resolve task sequence dependencies thread TSPxe 01.05.2021 13:19:35 1504 (0x05E0)
Process completed with exit code 2147500037 TSPxe 01.05.2021 13:19:35 1720 (0x06B8)
Task Sequence Manager returned code 0x80004005 TSPxe 01.05.2021 13:19:35 1720 (0x06B8)
ThreadToResolveAndExecuteTaskSequence returned code 0x00000000 TSPxe 01.05.2021 13:19:35 1504 (0x05E0)
ResolveProgressPage::OnWizardNext() TSPxe 01.05.2021 13:19:35 1504 (0x05E0)
Activating Finish Page. TSPxe 01.05.2021 13:19:35 1504 (0x05E0)
Exiting with return code 0x00000000 TSPxe 01.05.2021 13:19:35 1504 (0x05E0)
Execution complete. TSBootShell 01.05.2021 13:19:35 892 (0x037C)
hMap != 0, HRESULT=80070002 (..\environmentscope.cpp,493) TSBootShell 01.05.2021 13:19:35 892 (0x037C)
m_pGlobalScope->open(), HRESULT=80070002 (..\environmentlib.cpp,335) TSBootShell 01.05.2021 13:19:35 892 (0x037C)
this->open(), HRESULT=80070002 (..\environmentlib.cpp,561) TSBootShell 01.05.2021 13:19:35 892 (0x037C)
::RegQueryValueExW(hSubKey, szReg, NULL, NULL, NULL, &dwSize), HRESULT=80070002 (..\utils.cpp,1104) TSBootShell 01.05.2021 13:19:35 892 (0x037C)
RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram TSBootShell 01.05.2021 13:19:35 892 (0x037C)
GetTsRegValue() is unsuccessful. 0x80070002. TSBootShell 01.05.2021 13:19:35 892 (0x037C)
End program: TSBootShell 01.05.2021 13:19:35 892 (0x037C)
Finalizing logging from process 760 TSBootShell 01.05.2021 13:19:35 892 (0x037C)
Finalizing logs to root of first available drive TSBootShell 01.05.2021 13:19:35 892 (0x037C)
LOGGING: Setting log directory to "C:\SMSTSLog". TSBootShell 01.05.2021 13:19:35 892 (0x037C)

It can happen when unassigend Drivers exist but this is not the case. Any idea how to solve this issue? Thank you.

Microsoft Configuration Manager
{count} votes

Accepted answer
  1. Simon Ren-MSFT 35,396 Reputation points Microsoft Vendor
    2021-05-04T07:18:03.13+00:00

    Hi,

    Thanks for your information.

    From the screenshoot, we can see that your primary site server alreadly have the latest version isntalled. How many DPs do you have? If only one, yes, it could be the issue.

    Thanks for your time.

    Best regards,
    Simon

    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Simon Ren-MSFT 35,396 Reputation points Microsoft Vendor
    2021-05-03T07:02:36.017+00:00

    Hi,

    Thanks for posting in Microsoft MECM Q&A forum.

    What version of SCCM you are using, SCCM version 2002 or version 2006? There is no such thing as SCCM 2004.

    1, Please delete this folder C:\Windows\Temp\BootImages to have a try. Similar thread for your reference:
    Failed to inject OSD binaries into mounted WIM file ErrorCode = 2152205056

    2, Please try to Download and install the latest Windows ADK and Windows PE Add-on version 10.1.19041.1 for Windows 10 version 2004.
    Download and install the Windows ADK

    3, If possible, please remove all extra Drivers before updating using the Reload box to have a try.

    Bset 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.
    https://learn.microsoft.com/en-us/answers/articles/67444/email-notifications.html

    0 comments No comments

  2. Michael Jacinto 136 Reputation points
    2021-05-03T14:49:42.13+00:00

    Hello SimonRenMSFT, thank you for your Reply. I changed the title as also i add some more info about my enviorment.

    I Dleted the folder, but the issue persissts. But i guess the issue is cause i already have the latest version isntalled. Can it be?

    93335-version.jpeg

    93356-version2.jpeg

    0 comments No comments

  3. Michael Jacinto 136 Reputation points
    2021-05-04T10:55:51.97+00:00

    Hi, yes we have one DP. Taking this into consideration, i would say we can close the thread? Thank you.


Your answer

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