Here’s another ConfigMgr 2007 OSD tip from Frank Rojas out in Charlotte, North Carolina. If you have a Task Sequence that fails almost immediately after it boots into WinPE with an 0x80004005 error then you’ll want to check this one out:
Issue: When attempting to deploy a Task Sequence via SCCM 2007 OSD, the Task Sequence fails almost immediately after it boots into WinPE with the following error message:
An error occurred while retrieving policy for this computer (0x80004005). For more information, please contact your system administrator or helpdesk operator.
Examining the SMSTS.log shows the following error message:
No cert available for policy decoding
Failed to download policy (Policy_ID> (Code 0x80004005).
Cause: This error message can be caused by missing, expired, or blocked Certificates for either the Boot Media or the PXE Service Point.
Resolution: To determine if the Certificate is missing, expired, or blocked follow the steps below:
- In the Configuration Manager Admin Console, expand Site Database –> Site Management –> <Site_Code> –> Site Settings –> Certificates.
- Click on either Boot Media or PXE, depending on the method that the PC is being booted when trying to run the OSD Task Sequence.
- On the right hand pane, locate the Certificate being used and see if it is blocked, expired, or missing.
To resolve the issue for missing or expired certificates on Boot Media, a new certificate needs to be created:
- Recreate the Boot Media by going in the Configuration Manager Admin Console to Site Database –> Computer Management –> Operating System Deployment.
- Right clicking on Task Sequences and choosing Create Task Sequence Media.
- Step through the Task Sequence Media Wizard to create the appropriate media.
- In the Security screen, locate the Create self-signed media certificate option.
- Make sure that the Set start date is set to either today or some date in the past.
- Make sure that the Set expiration date is set to some date in the future.
- Finish stepping through the Task Sequence Media Wizard to finish creating the ISO or USB Flash Drive.
- Go to Site Database –> Site Management –> <Site_Code> –> Site Settings –> Certificates –> Boot Media and verify that there is now a valid non-expired non-blocked Certificate.
- If using CDs/DVDs, once the ISO is created, create a CD/DVD from the ISO and dispose any previous OSD CDs or DVDs.
- If using a USB Flash Drive, make sure to recreate all USB Flash Drives be redoing steps 1-8 above.
To resolve the issue for missing or expired certificates on a PXE Service Point, a new Certificate needs to be created:
- Go to Site Database –> Site Management –> <Site_Code> –> Site Settings –> Site Systems and choose the server where the PXE Service Point is located.
- In the right pane, right click on the ConfigMgr PXE service point and choose Properties.
- Click on the Database tab and locate the Create self-signed PXE certificate option.
- Under Create self-signed PXE certificate, set the Set expiration date option to some time in the future.
- Click OK.
- Go to Site Database –> Site Management –> <Site_Code> –> Site Settings –> Certificates –> PXE and verify that there is now a valid non-expired non-blocked Certificate.
- Update the Boot Images by going to Site Database –> Computer Management –> Operating System Deployment –> Boot Images.
- Expand both the Boot image (x64) and Boot image (x86) nodes (and any custom Boot Images if present).
- For each Boot Image, right click on Distribution Points and choose Update Distribution Points.
- Step through the Manage Distribution Points wizard until it has completed rebuilding the Boot Images.
- Restart the Windows Deployment Services (WDS) Server service.
To resolve the issue if the certificate is blocked, follow these steps:
- Go to Site Database –> Site Management –> <Site_Code> –> Site Settings –> Certificates.
- Choose either Boot Media (if the deployment is being done via a boot media) or PXE (if the deployment is being done via PXE). You will be able to see all of the certificates associated with either the Boot Media or the PXE point.
- Check to see if the applicable certificate is set to “Blocked” under the Status column. If the certificate is blocked, unblock it. To unblock a certificate, right click on it and choose “Unblock”.
If you are not certain which certificate is the applicable one, you may have to unblock the certificates one at a time, retry the deployment again, and then see if the error goes away. Once you have determined the applicable certificate, you may want to go back and re-block the certificates that were not applicable and were unblocked during the testing.
J.C. Hornbeck | Manageability Knowledge Engineer