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 thoughts on “SCCM 2012 OSD: Failed to Run Task Sequence (0x80004005)”
Thank you posting this regarding SCCM. I’ve been battling with this issue for a while now and for the life of me could not find a working solution.
I do have one question though, in what way should I add the FQDN in the hosts file of the boot image? Should it just be the ip or both ip and server name?
Also, should this be done with both boot images?
You have to make to following entry inside your host file:
If you have any questions please let me know,
Thanks for posting a reply to my question. I’m in the process of setting up my lab in hyper-v so I’ll let you know.
Just wanted to let you know that this worked for me!!!!
Thanks again for sharing your experiences with SCCM 2012.
I’m still having this error show up. Is there anything else it could be. I’ve tried it serveral times and it has works, but today for some reason the error has come up.