MECM and Server 2022 Task Sequence: Error occurred while retrieving policy for this computer 0x80004005

MiM-5821 0 Reputation points
2024-09-26T10:22:18.7566667+00:00

Hello, we have a task sequence in MECM and are trying to deploy a physical server with bootable USB server 2022 created in MECM however when the server boots it loads the "Task Sequence Wizard" and details "Error occurred while retrieving policy for this computer 0x80004005"

  • I have opened F8 on the server and accessed the log file which is shown below.
  • We have also selected diskpart list disk and the disk0 is online ready for OS to be installed on it.
  • Any thoughts on what could be causing this issue?

<![LOG[LOGGING: Finalize process ID set to 2624]LOG]!><time="16:25:41.457+480" date="09-25-2024" component="TSBootShell" context="" type="1" thread="2628" file="tslogging.cpp:1861">

<![LOG[==============================[ TSBootShell.exe ]==============================]LOG]!><time="16:25:41.457+480" date="09-25-2024" component="TSBootShell" context="" type="1" thread="2628" file="bootshell.cpp:1207">

<![LOG[Succeeded loading resource DLL 'X:\sms\bin\x64\1033\TSRES.DLL']LOG]!><time="16:25:41.457+480" date="09-25-2024" component="TSBootShell" context="" type="1" thread="2628" file="util.cpp:1017">

<![LOG[Debug shell is enabled]LOG]!><time="16:25:41.457+480" date="09-25-2024" component="TSBootShell" context="" type="1" thread="2628" file="bootshell.cpp:1218">

<![LOG[Waiting for PNP initialization...]LOG]!><time="16:25:41.472+480" date="09-25-2024" component="TSBootShell" context="" type="1" thread="2648" file="bootshell.cpp:69">

<![LOG[RAM Disk Boot Path: MULTI(0)DISK(0)RDISK(0)PARTITION(1)\SOURCES\BOOT.WIM]LOG]!><time="16:25:41.472+480" date="09-25-2024" component="TSBootShell" context="" type="1" thread="2648" file="configpath.cpp:322">

<![LOG[WinPE boot path: C:\SOURCES\BOOT.WIM]LOG]!><time="16:25:41.472+480" date="09-25-2024" component="TSBootShell" context="" type="1" thread="2648" file="configpath.cpp:347">

<![LOG[Booted from removable device]LOG]!><time="16:25:41.472+480" date="09-25-2024" component="TSBootShell" context="" type="1" thread="2648" file="configpath.cpp:377">

<![LOG[Found config path C:]LOG]!><time="16:25:41.472+480" date="09-25-2024" component="TSBootShell" context="" type="1" thread="2648" file="bootshell.cpp:657">

<![LOG[Booting from removable media, not restoring bootloaders on hard drive]LOG]!><time="16:25:41.472+480" date="09-25-2024" component="TSBootShell" context="" type="1" thread="2648" file="bootshell.cpp:722">

<![LOG[C:\WinPE does not exist.]LOG]!><time="16:25:41.472+480" date="09-25-2024" component="TSBootShell" context="" type="1" thread="2648" file="bootshell.cpp:739">

<![LOG[C:_SmsTsWinPE\WinPE does not exist.]LOG]!><time="16:25:41.488+480" date="09-25-2024" component="TSBootShell" context="" type="1" thread="2648" file="bootshell.cpp:753">

<![LOG[Executing command line: wpeinit.exe -winpe]LOG]!><time="16:25:41.488+480" date="09-25-2024" component="TSBootShell" context="" type="1" thread="2648" file="bootshell.cpp:1012">

<![LOG[The command completed successfully.]LOG]!><time="16:26:02.244+480" date="09-25-2024" component="TSBootShell" context="" type="1" thread="2648" file="bootshell.cpp:1094">

<![LOG[Setting offline Windows drive and OS root directory to Task Sequence environment.]LOG]!><time="16:26:02.244+480" date="09-25-2024" component="TSBootShell" context="" type="1" thread="2648" file="bootshell.cpp:807">

<![LOG[ Processing volume C:\ ]LOG]!><time="16:26:02.244+480" date="09-25-2024" component="TSBootShell" context="" type="1" thread="2648" file="bootshell.cpp:550">

<![LOG[ Volume C:\ is not a local hard drive.]LOG]!><time="16:26:02.244+480" date="09-25-2024" component="TSBootShell" context="" type="1" thread="2648" file="bootshell.cpp:553">

<![LOG[ Processing volume X:\ ]LOG]!><time="16:26:02.244+480" date="09-25-2024" component="TSBootShell" context="" type="1" thread="2648" file="bootshell.cpp:550">

<![LOG[ Volume X:\ is not a local hard drive.]LOG]!><time="16:26:02.244+480" date="09-25-2024" component="TSBootShell" context="" type="1" thread="2648" file="bootshell.cpp:553">

<![LOG[_OSDDetectedWinDrive='', _OSDDetectedWinDir='']LOG]!><time="16:26:02.244+480" date="09-25-2024" component="TSBootShell" context="" type="1" thread="2648" file="bootshell.cpp:604">

<![LOG[Starting DNS client service.]LOG]!><time="16:26:02.244+480" date="09-25-2024" component="TSBootShell" context="" type="1" thread="2648" file="bootshell.cpp:818">

<![LOG[Executing command line: X:\sms\bin\x64\TsmBootstrap.exe /env:WinPE /configpath:C:]LOG]!><time="16:26:02.244+480" date="09-25-2024" component="TSBootShell" context="" type="1" thread="2648" file="bootshell.cpp:1012">

<![LOG[The command completed successfully.]LOG]!><time="16:26:02.260+480" date="09-25-2024" component="TSBootShell" context="" type="1" thread="2648" file="bootshell.cpp:1094">

<![LOG[==============================[ TSMBootStrap.exe ]==============================]LOG]!><time="16:26:02.322+480" date="09-25-2024" component="TSMBootstrap" context="" type="1" thread="2556" file="tsmbootstrap.cpp:1232">

<![LOG[Command line: X:\sms\bin\x64\TsmBootstrap.exe /env:WinPE /configpath:C:]LOG]!><time="16:26:02.322+480" date="09-25-2024" component="TSMBootstrap" context="" type="0" thread="2556" file="tsmbootstrap.cpp:1233">

<![LOG[Succeeded loading resource DLL 'X:\sms\bin\x64\1033\TSRES.DLL']LOG]!><time="16:26:02.322+480" date="09-25-2024" component="TSMBootstrap" context="" type="1" thread="2556" file="util.cpp:1017">

<![LOG[Succeeded loading resource DLL 'X:\sms\bin\x64\TSRESNLC.DLL']LOG]!><time="16:26:02.322+480" date="09-25-2024" component="TSMBootstrap" context="" type="1" thread="2556" file="resourceutils.cpp:169">

<![LOG[Current OS version is 10.0.22000.0]LOG]!><time="16:26:06.159+480" date="09-25-2024" component="TSMBootstrap" context="" type="1" thread="2556" file="util.cpp:3982">

<![LOG[In WinPE starting tsmbootstrap.exe version 5.0.9088.1001 from location 'X:\sms\bin\x64\TsmBootstrap.exe']LOG]!><time="16:26:06.221+480" date="09-25-2024" component="TSMBootstrap" context="" type="1" thread="2556" file="tsmbootstrap.cpp:1021">

<![LOG[Adding SMS bin folder "X:\sms\bin\x64" to the system environment PATH]LOG]!><time="16:26:06.221+480" date="09-25-2024" component="TSMBootstrap" context="" type="1" thread="2556" file="tsmbootstrap.cpp:1027">

<![LOG[Unable to open PXE registry key. Not a PXE boot.]LOG]!><time="16:26:06.221+480" date="09-25-2024" component="TSMBootstrap" context="" type="0" thread="2556" file="tsmbootstrap.cpp:897">

<![LOG[Media Root = C:]LOG]!><time="16:26:06.221+480" date="09-25-2024" component="TSMBootstrap" context="" type="1" thread="2556" file="tsmbootstrap.cpp:1064">

<![LOG[WinPE boot type: 'Ramdisk:SourceIdentified']LOG]!><time="16:26:06.221+480" date="09-25-2024" component="TSMBootstrap" context="" type="0" thread="2556" file="tsmbootstrap.cpp:832">

<![LOG[Failed to find the source drive where WinPE was booted from]LOG]!><time="16:26:06.221+480" date="09-25-2024" component="TSMBootstrap" context="" type="2" thread="2556" file="tsmbootstrap.cpp:1100">

<![LOG[Executing from Media in WinPE]LOG]!><time="16:26:06.221+480" date="09-25-2024" component="TSMBootstrap" context="" type="1" thread="2556" file="tsmbootstrap.cpp:1105">

<![LOG[Verifying Media Layout.]LOG]!><time="16:26:06.239+480" date="09-25-2024" component="TSMBootstrap" context="" type="1" thread="2556" file="tsmediawizardcontrol.cpp:1746">

<![LOG[MediaType = BootMedia]LOG]!><time="16:26:06.242+480" date="09-25-2024" component="TSMBootstrap" context="" type="1" thread="2556" file="tsmediawizardcontrol.cpp:2730">

<![LOG[PasswordRequired = false]LOG]!><time="16:26:06.242+480" date="09-25-2024" component="TSMBootstrap" context="" type="1" thread="2556" file="tsmediawizardcontrol.cpp:2756">

<![LOG[Found network adapter "Broadcom Ethernet" with IP Address 10.xx.xx.xx ]LOG]!><time="16:26:06.242+480" date="09-25-2024" component="TSMBootstrap" context="" type="0" thread="2556" file="tsmbootstraputil.cpp:588">

<![LOG[Found network adapter "Broadcom Ethernet #2" with IP Address 0.0.0.0.]LOG]!><time="16:26:06.242+480" date="09-25-2024" component="TSMBootstrap" context="" type="0" thread="2556" file="tsmbootstraputil.cpp:588">

<![LOG[Found network adapter "Broadcom Ethernet #3" with IP Address 0.0.0.0.]LOG]!><time="16:26:06.242+480" date="09-25-2024" component="TSMBootstrap" context="" type="0" thread="2556" file="tsmbootstraputil.cpp:588">

<![LOG[Found network adapter "Broadcom Ethernet #4" with IP Address 0.0.0.0.]LOG]!><time="16:26:06.242+480" date="09-25-2024" component="TSMBootstrap" context="" type="0" thread="2556" file="tsmbootstraputil.cpp:588">

<![LOG[Running Wizard in Interactive mode]LOG]!><time="16:26:06.242+480" date="09-25-2024" component="TSMBootstrap" context="" type="1" thread="2556" file="tsmediawizardcontrol.cpp:2942">

<![LOG[Loading Media Variables from "C:\sms\data\variables.dat"]LOG]!><time="16:26:06.274+480" date="09-25-2024" component="TSMBootstrap" context="" type="1" thread="2556" file="tsremovablemedia.cpp:322">

<![LOG[no password for vars file]LOG]!><time="16:26:06.321+480" date="09-25-2024" component="TSMBootstrap" context="" type="0" thread="2556" file="tsmediawizardcontrol.cpp:192">

<![LOG[Activating Welcome Page.]LOG]!><time="16:26:06.337+480" date="09-25-2024" component="TSMBootstrap" context="" type="0" thread="2556" file="tsmediawelcomepage.cpp:131">

<![LOG[Loading bitmap]LOG]!><time="16:26:06.337+480" date="09-25-2024" component="TSMBootstrap" context="" type="1" thread="2556" file="tsmbootstrap.cpp:1338">

<![LOG[Executing command line: X:\windows\system32\cmd.exe /k]LOG]!><time="16:39:38.590+480" date="09-25-2024" component="TSBootShell" context="" type="1" thread="2628" file="bootshell.cpp:1012">

<![LOG[The command completed successfully.]LOG]!><time="16:39:38.590+480" date="09-25-2024" component="TSBootShell" context="" type="1" thread="2628" file="bootshell.cpp:1094">

<![LOG[Successfully launched command shell.]LOG]!><time="16:39:38.590+480" date="09-25-2024" component="TSBootShell" context="" type="1" thread="2628" file="bootshell.cpp:445">

Microsoft System Center
Microsoft System Center
A suite of Microsoft systems management products that offer solutions for managing datacenter resources, private clouds, and client devices.
989 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,090 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Wesley Li 8,855 Reputation points
    2024-09-26T13:38:33.82+00:00

    Hello

    The error code 0x80004005 is a generic error that can be caused by various issues during the task sequence. Here are a few common causes and potential solutions:

     

    Network Configuration:

    Ensure that the server has a valid IP address and can communicate with the MECM server. Check the network adapter settings and verify connectivity.

     

    Date and Time Settings:

    Incorrect date and time settings can cause this error. Use the command prompt (F8) to verify and correct the date and time settings.

     

    Boundary Configuration:

    Verify that the boundaries are correctly configured in MECM. The server must be within a boundary group that has access to the necessary content.

     

    Content Distribution:

    Ensure that all necessary content (applications, packages, etc.) is properly distributed to the distribution points. Check the status in the MECM console.

     

    SMSTS.log Analysis:

    The SMSTS.log file provides detailed information about the task sequence execution. Look for specific errors or warnings in this log to identify the root cause.

     

    Driver Issues:

    Ensure that the correct drivers for the network and storage controllers are included in the boot image. Missing or incorrect drivers can prevent the task sequence from accessing the necessary resources.

     

    By addressing these areas, you should be able to identify and resolve the issue causing the task sequence to fail.


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.