Summary
Error
During the installation of patches by Server Automation on a windows 7 system, the patches fail. The WindowsUpdate.log on the windows PC shows the following during the patching attempt...
2017-06-05 02:09:29:446 724 a08 PT +++++++++++ PT: Synchronizing server updates +++++++++++
2017-06-05 02:09:29:446 724 a08 PT + Offline serviceId = {AF45F3F2-F726-46F8-BB19-7C0ECFC145F2}
2017-06-05 02:09:29:446 724 a08 PT WARNING: Cached cookie has expired or new PID is available
2017-06-05 02:10:11:582 724 a08 OfflSnc WARNING: Failed to create output xml with 0x8007000e
2017-06-05 02:10:12:611 724 a08 OfflSnc WARNING: PopulateSyncInfo failed with 0x8007000e
2017-06-05 02:10:12:611 724 a08 PT WARNING: OfflineSync::SyncUpdates failed.: 0x8007000e
2017-06-05 02:10:12:611 724 a08 PT WARNING: SyncUpdates_WithRecovery failed.: 0x8007000e
2017-06-05 02:10:12:611 724 a08 PT WARNING: Sync of Updates: 0x8007000e
2017-06-05 02:10:12:611 724 a08 PT WARNING: SyncServerUpdatesInternal failed: 0x8007000e
2017-06-05 02:10:12:611 724 a08 Agent * WARNING: Failed to synchronize, error = 0x8007000E
2017-06-05 02:10:12:705 724 a08 Agent * WARNING: Exit code = 0x8007000E
Cause
Server Automation makes use of the Windows Update Agent (WUA) process on the windows machine itself. Ultimately, this was a windows issue, not a SA one.
The WUA was going out of memory during the scan of the patches. This was the error:
WARNING: ISusInternal::GetUpdateMetadata2 failed, hr=8007000E
Fix
This is a known defect in Windows 7 32-bit. The following patches were installed to address it...
1) https://support.microsoft.com/en-us/kb/3050265
Description: This update addresses an issue in which Windows Update scans can fail and generate a 0x8007000E error.
2) https://support.microsoft.com/en-us/kb/3102810
Description: Installing and searching for updates is slow and high CPU usage occurs in Windows 7 and Windows Server 2008 R2
3) https://support.microsoft.com/en-us/kb/3112343
Description: Assume that you use Software Update agent to apply software updates or determine the software update compliance in System Center Configuration Manager 2007 R2. Windows Update agent scans client computers periodically. In this situation, the scan fails and generates a "Not Required" state for all updates. Additionally, you receive an "8007000E" error message.
In addition to the OS patches above being installed, the UserVA memory was increased on the PC so that the WUA process could use 3GB memory on the server:
bcdedit /set IncreaseUserVa 3072
Afterwards, the following commands were used to restart WUA on the PC.
After these changes the scanning and patching was successful.
net stop wuauserv
sc config wuauserv type= own
net start wuauserv
After these changes the scanning and patching was successful.
Additional documentation regarding this error can be found at: