SyncTimeWithMP() failed; unknown host (gethostname failed). sending with winhttp failed; 80072ee7

Boopathi Subramaniam 3,301 Reputation points
2021-11-30T18:37:55.647+00:00

Hello Team,

OSD is initiated from a VM. It fails with "An Error Occurred While Retrieving Policy For This Computer (0x80004005). For more information, contact your system administrator or helpdesk operator."

153786-capture1.jpg

153750-capture.jpg

SCCM Distribution Point is at Netherland and Management Point server is at West Virginia.
Updated the SCCM Distribution Point and Management Point server are with same time zone UTC-5 Eastern Time Zone.

But still client is not able to contact Management Point server.

Please help how this can be solved

Microsoft Configuration Manager Deployment
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Deployment: The process of delivering, assembling, and maintaining a particular version of a software system at a site.
942 questions
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Boopathi Subramaniam 3,301 Reputation points
    2021-12-01T17:30:11.66+00:00

    Hello All,

    This issue is solved by adding valid DNS IP Address.

    5 people found this answer helpful.

  2. Pavel yannara Mirochnitchenko 12,411 Reputation points MVP
    2021-11-30T19:31:15.453+00:00

    Changing time zone should not make a difference. But your actual time might be wrong on VM, have you chacked that? Just type "time" in cmd when being in Winpe.

    0 comments No comments

  3. Amandayou-MSFT 11,061 Reputation points
    2021-12-01T02:52:01.46+00:00

    Hi @Boopathi Subramaniam ,

    The error of 80072ee7 is the server name or address could not be resolved, it means the client could not get the correct IP from the DHCP server.

    Please ensure all of the following components are on the same subnet or VLAN:

    The DHCP server
    The client computer
    The ConfigMgr server that's running Windows Deployment Services (WDS)
    The PXE-enabled Distribution Point (DP)

    And for detailed information, refer to this article:
    https://learn.microsoft.com/en-us/troubleshoot/mem/configmgr/troubleshoot-pxe-boot-issues


    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 "Comment".
    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.

    0 comments No comments

  4. Amandayou-MSFT 11,061 Reputation points
    2022-01-06T09:44:51.473+00:00

    Hi @Boopathi Subramaniam ,

    Thank you very much for your feedback and sharing. We're glad that the question is solved now. I think maybe other peoples with the same needs will benefit from it. Here's a short summary for the problem.

    Problem/Symptom:
    SyncTimeWithMP() failed;
    An Error Occurred While Retrieving Policy For This Computer (0x80004005)

    Solution:
    This issue is solved by adding valid DNS IP Address.

    Please click "Accept Answer" to your answer and upvote it, this will help other users to search for useful information more quickly. Thanks again for your time.


    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.

    0 comments No comments