Install Software Updates during Build and Capture hangs

SCCM 2012 R2 SP1 with MDT 2013 integration.

The past 2 weeks I've solved a few issues for my Build and Capture TS. Most of the issues had to do with Software updates.

I think that if I solved his last issue, I have a me a golden image. I've read a lot of articles with similar issues in this forum, but none of them was helpful

I use this procedure to install Software updates http://www.toolzz.com/?p=1059

I have about 190 updates to install. Installation hangs after installation of the last patch

I'm not impatient, because I left it running for a day. Done this a few times. And the TS is running for 4 hours.

The VM has 2 vCpu's, and 4 GB mem. Tried it with 8 Gb mem, but didn't solve the issue. Had an issue with a disk space, expanded the disk. 60 GB. Also included a step to disable hibernation. first the VM was on a SSD disk. Moved it to a NON-SSD disk. didn't work. Tried a few restart steps in the TS. Removed the updates require multiple restarts https://support.microsoft.com/en-us/kb/2894518 Read somewhere to install KBKB2775511 before the Software Update step. Didn't work

Some of the logfiles I looked at http://www.wouden.net/Issues/Sccm/Logs.rar

Printscreen of part my TS Steps

Thanks in advanced

August 19th, 2015 9:22am

I'm running the TS again. During the task sequence I was monitoring the log, and saw these errors

I didn 't see these in the log I posted earlier. The WindowsUpdate.log on my VM is about 1 MB, so I think it's overwritten installing 190 updates. Found this article to determine the updates and solved the issue.

https://sysjam.wordpress.com/2015/03/13/299/

I don't know if this is causing the TS to hang, but I will try to remove the updates from the SUG, and decline them in WSUS. Also added two steps to enable verbose logging for Windows update

reg ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Trace" /v Flags /t REG_DWORD /d 22 /f
reg ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Trace" /v Level /t REG_DWORD /d 4 /f


  • Edited by Biga_b 16 hours 21 minutes ago
Free Windows Admin Tool Kit Click here and download it now
August 19th, 2015 11:30am

I'm running the TS again. During the task sequence I was monitoring the log, and saw these errors

I didn 't see these in the log I posted earlier. The WindowsUpdate.log on my VM is about 1 MB, so I think it's overwritten installing 190 updates. Found this article to determine the updates and solved the issue.

https://sysjam.wordpress.com/2015/03/13/299/

I don't know if this is causing the TS to hang, but I will try to remove the updates from the SUG, and decline them in WSUS. Also added two steps to enable verbose logging for Windows update

reg ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Trace" /v Flags /t REG_DWORD /d 22 /f
reg ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Trace" /v Level /t REG_DWORD /d 4 /f


August 19th, 2015 3:27pm

Eventually solved he issue.

I changed the Install Software updates steps a bit. add restart steps, and changed 2 steps installing mandatory and 2 steps installing available updates.

Also in the bios I had to changed the bootorder to disk instead of NIC.

  • Marked as answer by Biga_b 45 minutes ago
Free Windows Admin Tool Kit Click here and download it now
August 25th, 2015 3:08am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics