Access denied error when deploying an untrusted computer

 

Yesterday I had to build a new Windows 7 SP1 x64 image by a Customer. I created a new build and capture task sequence like I always do. I added the Windows 7 source files to SCCM 2012 R2, modified the Task sequence and started the deployment. Every time, right after the “Setup Windows and Configuration manager” step the Task sequence would fail with an Access Denied error.

I started analyzing the log files on the client and saw that there was a problem accessing the content of a package on the distribution point. I verified this by looking in the IIS log file on the DP, which showed the following:

10.159.252.38 PROPFIND /SMS_DP_SMSPKG$/51f41611-ecba-4859-a129-4291590c4a72 – 80 – 10.159.252.75 SMS+CCM+5.0 – 401 2 5 1509

I started digging and found the following hotfix from Microsoft:

http://support.microsoft.com/kb/2522623

After some testing it turned out that the hotfix did in fact solved my issue. I created a SCCM package containing the hotfix and created the following steps in my capture task sequence, right after the “Setup Windows and Configuration Manager” Step:

Task Sequence

The details of the “Install KB2522623” Step:

Step details

The next time I ran the task sequence it completed successfully

This entry was posted in Operating System Deployment. Bookmark the permalink.