When you try to deploy a machine using a Task Sequence in SCCM, you may get the following error:
0x80004005
An error occurred while retrieving policy for this computer

Fix
There are many reasons why you get this error.
One of these reasons could be the network. Please check if your device can contact your SCCM server in order to retrieve all the required information (TS, packages, …) to start the deployment. Check the VLAN, Check your Network Firewall, …
Thanks for reading! You can follow me on Twitter @PrigentNico