During an ordinary OS Deployment, I unexpectedly faced the following error:
Failed to Run Task Sequence
An error occurred while retrieving policy for this computer (0x80004005). For more information, contact your system administrator or helpdesk operator.
Since the sysadmin was me, myself and I, I quickly realized I was the only one to fix this issue :)
The solution was simple. The error occurred on a VM. A very common problem is incorrect date and time. And also in this case, the date was incorrect.
Press F8 to open a command prompt. Type “date” and fill in the current date. Type time to verify the time is correct. Then restart your machine and try again.