Today I came around an interesting issue regarding the Installation of Software Updates in a Windows 7 x86 Task-Sequence. The Initial Situation was a Build and Capture Task-Sequence for Windows 7 SP1 x86 with ConfigMgr 2012 R2 SP1.
During the Task-Sequence, which created a Windows 7 Reference-Image, was a step for installing Software Updates. Normally this step would install about 170 updates. In this case the step took about 3 minutes and then the Task-Sequence continued with the next step without installing any updates.
After examining the WindowsUpdate.log file I found the following error:
WARNING: ISusInternal::GetUpdateMetadata2 failed, hr=8007000E
The underlying problem here is described in this Microsoft Blog Post: ConfigMgr 2012 update scan fails and causes incorrect compliance status
Microsoft states that this is a memory allocation issue, which will only occur on Windows 7 x86 Computers. Windows 7 x64 Computers are not affected because the address space is effectively unlimited. Well, my Windows 7 SP1 x64 Task-Sequence is running smoothly so that seems true.
The resolution here was to include the latest update for the Windows Update Agent for Windows 7 x86 as Application (or Package) in the Task-Sequence and install it before the Install Software Update Step.
The latest “Windows Update Agent” Updates are currently from October 2015:
Below you see the version of the Windows Update Agent before (left) and after (right) the “Windows Update Agent” Update was applied
After applying the Update, the Install Software Update Step ran through without any further issues, installing all the updates.
I hope this helps anyone which has the same issue 🙂