SCCM 2012 OSD: Failed to Run Task Sequence (0x80004005)

Standard

Recently I moved from ISP. On the new router it’s not possible to change the DNS servers for DHCP clients. Therefore my router is the DNS server and cannot find my domain servers with the FQDN, NETBIOS isn’t a problem. I started a new Operating System deployment task and the client reported the following error, right after the start of WinPE and before getting the policies:

 

 

After investigating the SMSTS.LOG I found out that the MP cannot be contacted through the FQDN. The easiest solution is to enter a static IP, but the idea of entering a static IP for each new deployment is not that dynamic. My best workaround was to change the hosts file of the Boot Image and add the FQDN of the MP. See below the steps which needs to be taken to add the MP to the hosts file of the Boot Image

1. Mount the WinPE BootImage with DISM

 

  

 

2. Edit the Hosts file in .WindowsSystem32DriversEtc and add the entry of the MP

 

3.Unmount the WinPE BootImage with DISM and commit changes

 

  

 

4. Update the Distribution Points with this new Image.

 

5. Done!