Try checking the smsts.log. It is either a time sync issue or related to network drivers.
Error occurred while retrieving policy for this computer 0x80004005

Hi Experts,
I have a network boot image that I am trying to use to image the Surface Pro 7+ devices. The Task Sequence is created and is deployed on the All Unknown Computers Collection. The Boot image that is created also has support for the unknown computers, but when I am trying to image the devices, it is failing with the below error.
I have checked the boundaries and found that the site is added as the Active directory Site. I am not sure how to proceed with the troubleshooting here.
Thanks.
3 answers
Sort by: Most helpful
-
-
Gideoney 436 Reputation points
2022-10-31T08:20:08.3+00:00 1.The 0x80004005 is generic error code. You can’t guess anything from that error. You must examine the smsts.log file to find out the actual errors.
2.You will collect the logs at WinPE x:\windows\temp\smstslog\smsts.log. To get the command prompt window, you have to press the F8 key. You can save this log file by inserting a USB flash drive and copying this log file to this USB flash drive.
3.Most of the time, the task sequence fails due to missing content on the distribution point or retrieving policy for the system. In that time, it’s best to check all referenced packages to the task sequence have been successfully distributed.
4.For more details:
sccm-task-sequence-failed-error-0x800040055.Besides, the error is very similar to the threads below, the links for your reference:
failed-to-run-task-sequence-0x80004005
osd-via-boot-media-and-cmg-fails-with-error-0x80004005If the response is helpful, it's appreciated that you could click "Accept Answer" and upvote it.
-
Somtimes me 0 Reputation points
2023-02-17T07:17:32.1133333+00:00 Managed to fix the issue, turns out the certificate was expired. The following guide included a method to create a new one which we followed and it worked!
Error 0x80004005