Share via

unknown host (gethostbyname failed) : 80072ee7 Failed task sequence 0x80004005

Nicolas 21 Reputation points
2022-07-13T14:26:14.387+00:00

Hello,

Below error received in the smstsl.log

------------------------------------------------------------------------------------------------------------------------

Importing certificates to root store... TSMBootstrap 12/07/2022 19:31:37 1568 (0x0620)
Importing certificates to root store TSMBootstrap 12/07/2022 19:31:37 1568 (0x0620)
Added certificate to store or replaced matching certificate in store. TSMBootstrap 12/07/2022 19:31:37 1568 (0x0620)
Support Unknown Machines: 1 TSMBootstrap 12/07/2022 19:31:37 1568 (0x0620)
Custom hook from X:\TSConfig.INI is TSMBootstrap 12/07/2022 19:31:37 1568 (0x0620)
No hook is found to be executed before downloading policy TSMBootstrap 12/07/2022 19:31:37 1568 (0x0620)
Authenticator from the environment is empty. TSMBootstrap 12/07/2022 19:31:37 1568 (0x0620)
Need to create Authenticator Info using PFX TSMBootstrap 12/07/2022 19:31:37 1568 (0x0620)
Initialized CStringStream object with string: DSFKSD45-FDSFDF48-SQDQOIJ-XCOWCHOI. TSMBootstrap 12/07/2022 19:31:37 1568 (0x0620)
Current time info: . TSMBootstrap 12/07/2022 19:31:37 1568 (0x0620)
Getting MP time information TSMBootstrap 12/07/2022 19:31:37 1568 (0x0620)
Requesting client identity TSMBootstrap 12/07/2022 19:31:37 1568 (0x0620)
Setting the authenticator. TSMBootstrap 12/07/2022 19:31:37 1568 (0x0620)
CLibSMSMessageWinHttpTransport::Send: WinHttpOpenRequest - URL: SRVSCCM.dns:80 CCM_POST /ccm_system/request TSMBootstrap 12/07/2022 19:31:37 1568 (0x0620)
Not in SSL. TSMBootstrap 12/07/2022 19:31:37 1568 (0x0620)
Error. Received 0x80072ee7 from WinHttpSendRequest. TSMBootstrap 12/07/2022 19:31:37 1568 (0x0620)
unknown host (gethostbyname failed) TSMBootstrap 12/07/2022 19:31:37 1568 (0x0620)
hr, HRESULT=80072ee7 (..\libsmsmessaging.cpp,10458) TSMBootstrap 12/07/2022 19:31:37 1568 (0x0620)
Sending with winhttp failed; 80072ee7 TSMBootstrap 12/07/2022 19:31:37 1568 (0x0620)
Will retry in 6 second(s) TSMBootstrap 12/07/2022 19:31:37 1568 (0x0620)
Retrying... TSMBootstrap 12/07/2022 19:31:44 1568 (0x0620)
CLibSMSMessageWinHttpTransport::Send: WinHttpOpenRequest - URL: SRVSCCM.dns:80 CCM_POST /ccm_system/request TSMBootstrap 12/07/2022 19:31:44 1568 (0x0620)
Not in SSL. TSMBootstrap 12/07/2022 19:31:44 1568 (0x0620)
Error. Received 0x80072ee7 from WinHttpSendRequest. TSMBootstrap 12/07/2022 19:31:44 1568 (0x0620)
unknown host (gethostbyname failed) TSMBootstrap 12/07/2022 19:31:44 1568 (0x0620)
hr, HRESULT=80072ee7 (..\libsmsmessaging.cpp,10458) TSMBootstrap 12/07/2022 19:31:44 1568 (0x0620)
Sending with winhttp failed; 80072ee7 TSMBootstrap 12/07/2022 19:31:44 1568 (0x0620)
Will retry in 12 second(s) TSMBootstrap 12/07/2022 19:31:44 1568 (0x0620)
Retrying... TSMBootstrap 12/07/2022 19:31:56 1568 (0x0620)

------------------------------------------------------------------------------------------------------------------------------

In the taske sequence wizard window I have the following message:
Failed task sequence 0x80004005

Thank you in advance for your feedback.

Microsoft Security | Intune | Configuration Manager | Other

Answer accepted by question author

Simon Ren-MSFT 40,386 Reputation points Microsoft External Staff
2022-07-15T13:23:35.087+00:00

Hi @Nicolas ,

1.The error 0x80072ee7 which means your SCCM server(***.dns:80) could not be resolved from the client. Are there multiple DHCP servers in you environment? I have also encountered the same error before and it came out that my client refer to the wrong DHCP server which is responsible for resolving IP address in another domain. After I turned off the wrong DHCP server, the issue resolved and the OS deployment completed successfully. So it's recommended that you check the DHCP servers and network settings in your environment to see if it is configured correctly.

How To Quickly Solve the SCCM Task Sequence Error 80072ee7
Note: This is non-Microsoft link, just for your reference.

2.May we know if the clients are in the same subnet/VLAN to the DHCP server and the PXE-enabled DP? If there are in different subnet/VLAN, you need configure IP Helper to make the PXE work well.

3,As @Rahul Jindal mentioned. Please also make sure there is no time sync issue between the client and MP/DP. For troubleshooting purpose, we can create a new task sequence or media to have a try. Similar thread for your reference:
SyncTimeWithMP() failed. 80004005

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.

Was this answer helpful?

1 person found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Nicolas 21 Reputation points
    2022-07-13T15:42:09.287+00:00

    Thanks, I'll check it out.

    Was this answer helpful?

    0 comments No comments

  2. Garth 5,806 Reputation points
    2022-07-13T15:32:05.21+00:00

    80072ee7 = The server name or address could not be resolved

    So.... Check the Server name and DNS.

    Was this answer helpful?

    0 comments No comments

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.