Windows Update fails on Server 2012 R2 Virtual Machine

10-11  Source: Network gathering  Views:49 

Advertisement
I have set up a virtual network with two virtual machines. The first VM is Server 2008 R2 and is set up as a domain controller. The second VM is Server 2012 R2, and has been joined to the domain.  The DC (TestVM1) is also set up as a DNS server. 
From TestVM2 (Server 2012 R2), I am able to log in using a domain login, and I am able to browse to a public website.
I was able to run Windows Updates from TestVM1, but when I attempt to run Windows Updates from TestVM2, it fails.
The Windows Update client shows "Error(s) found:" and "Code 8024402F". 
Errors in WindowsUpdate.log include
2014-10-17 18:26:14:235  800 950 Setup FATAL: GetClientUpdateUrl failed, err = 0x8024D009
2014-10-17 18:26:26:238  800 950 Misc WARNING: Send failed with hr = 80072ee7.
2014-10-17 18:26:26:238  800 950 Misc WARNING: Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used : <None>
2014-10-17 18:26:26:238  800 950 Misc WARNING: Send request failed, hr:0x80072ee7
2014-10-17 18:26:26:238  800 950 Misc WARNING: WinHttp: SendRequestUsingProxy failed for <http://v4.download.windowsupdate.com/c/msdownload/update/others/2014/08/13518740_b1b71791444e5dec0018bcd60303445108442c12.cab>.
error 0x8024402c
2014-10-17 18:26:26:238  800 950 Misc WARNING: WinHttp: SendRequestToServerForFileInformation MakeRequest failed. error 0x8024402c
2014-10-17 18:26:26:238  800 950 Misc WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x8024402c
2014-10-17 18:26:26:238  800 950 Misc WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x8024402c
2014-10-17 18:26:26:238  800 950 Misc WARNING: WinHttp: WinHttpQueryHeaders(WINHTTP_QUERY_CONTENT_TYPE) for X-CID failed. error 0x80072ef3
2014-10-17 18:26:26:238  800 950 PT WARNING: ECP: DownloadCabFile: failed to get CDN Provider for error reporting, hr = 0X80072EF3
2014-10-17 18:26:26:238  800 950 Misc WARNING: WinHttp: WinHttpQueryHeaders(WINHTTP_QUERY_CONTENT_TYPE) for X-CCC failed. error 0x80072ef3
2014-10-17 18:26:26:238  800 950 PT WARNING: ECP: DownloadCabFile: failed to get CDN Country for error reporting, hr = 0X80072EF3
2014-10-17 18:26:26:238  800 950 PT WARNING: ECP: Failed to download cab file from
http://download.windowsupdate.com/c/msdownload/update/others/2014/08/13518740_b1b71791444e5dec0018bcd60303445108442c12.cab with error 0x8024402c
2014-10-17 18:26:26:238  800 950 PT WARNING: ECP: This roundtrip contained some optimized updates which failed. New Update count = 34, Old Count = 60
2014-10-17 18:26:26:317  800 950 PT   + SyncUpdates round trips: 1
2014-10-17 18:26:26:317  800 950 PT WARNING: Sync of Updates: 0x8024402f
2014-10-17 18:26:26:317  800 950 PT WARNING: SyncServerUpdatesInternal failed: 0x8024402f
2014-10-17 18:26:26:317  800 950 Agent   * WARNING: Failed to synchronize, error = 0x8024402F
2014-10-17 18:26:26:317  800 950 Agent   * WARNING: Exit code = 0x8024402F
This is blocking further work.  Assistance would be greatly appreciated.
I am having the exact same issue. Fresh build of Server 2012 R2 from the Microsoft Volume Licensing ISO. I tried before and after joining to the domain. Same error every time.  Firewall is turned off. No AV. We do have a cloud proxy service, but I bypassed
that as a test and got the same error message.  I also tried to stop wuauserv and cleaning out the folder and starting it back up.  No joy as well.  This is a VM server running on ESXi 5.1.  Server 2008 servers dont seem to have
an issue.  Server 2012 server don't seem to have an issue.  Only this new Server 2012 R2 server.  My logs are below:
2014-10-28 14:28:46:104  696 4a4 AU ###########  AU: Uninitializing Automatic Updates  ###########
2014-10-28 14:28:46:104  696 4a4 WuTask Uninit WU Task Manager
2014-10-28 14:28:46:198  696 4a4 Service *********
2014-10-28 14:28:46:198  696 4a4 Service **  END  **  Service: Service exit [Exit code = 0x240001]
2014-10-28 14:28:46:198  696 4a4 Service *************
2014-10-28 14:29:24:198  696 5c8 Misc ===========  Logging initialized (build: 7.9.9600.17092, tz: -0400)  ===========
2014-10-28 14:29:24:198  696 5c8 Misc   = Process: C:\Windows\system32\svchost.exe
2014-10-28 14:29:24:198  696 5c8 Misc   = Module: c:\windows\system32\wuaueng.dll
2014-10-28 14:29:24:198  696 5c8 Service *************
2014-10-28 14:29:24:198  696 5c8 Service ** START **  Service: Service startup
2014-10-28 14:29:24:198  696 5c8 Service *********
2014-10-28 14:29:24:214  696 5c8 Agent   * WU client version 7.9.9600.17092
2014-10-28 14:29:24:214  696 5c8 Agent   * Base directory: C:\Windows\SoftwareDistribution
2014-10-28 14:29:24:214  696 5c8 Agent   * Access type: No proxy
2014-10-28 14:29:24:214  696 5c8 Service UpdateNetworkState Ipv6, cNetworkInterfaces = 1.
2014-10-28 14:29:24:214  696 5c8 Service UpdateNetworkState Ipv4, cNetworkInterfaces = 1.
2014-10-28 14:29:24:214  696 5c8 Agent   * Network state: Connected
2014-10-28 14:29:24:214  696 5c8 Service UpdateNetworkState Ipv6, cNetworkInterfaces = 1.
2014-10-28 14:29:24:214  696 5c8 Service UpdateNetworkState Ipv4, cNetworkInterfaces = 1.
2014-10-28 14:29:24:510  696 5c8 DtaStor Default service for AU is {00000000-0000-0000-0000-000000000000}
2014-10-28 14:29:24:510  696 5c8 DtaStor Default service for AU is {9482F4B4-E343-43B6-B170-9A65BC822C77}
2014-10-28 14:29:24:542  696 5c8 DtaStor Data store successfully created
2014-10-28 14:29:24:542  696 5c8 Agent ***********  Agent: Initializing global settings cache  ***********
2014-10-28 14:29:24:542  696 5c8 Agent   * Endpoint Provider: 00000000-0000-0000-0000-000000000000
2014-10-28 14:29:24:542  696 5c8 Agent   * WSUS server: <NULL>
2014-10-28 14:29:24:542  696 5c8 Agent   * WSUS status server: <NULL>
2014-10-28 14:29:24:542  696 5c8 Agent   * Target group: (Unassigned Computers)
2014-10-28 14:29:24:542  696 5c8 Agent   * Windows Update access disabled: No
2014-10-28 14:29:24:542  696 5c8 Misc WARNING: Network Cost is assumed to be not supported as something failed with trying to get handles to wcmapi.dll
2014-10-28 14:29:24:542  696 5c8 WuTask WuTaskManager delay initialize completed successfully..
2014-10-28 14:29:24:542  696 5c8 Report WARNING: Failed to initialize event uploader for new server {9482F4B4-E343-43B6-B170-9A65BC822C77} with hr = 8024043d.
2014-10-28 14:29:24:542  696 5c8 Report CWERReporter::Init succeeded
2014-10-28 14:29:24:542  696 5c8 Agent ***********  Agent: Initializing Windows Update Agent  ***********
2014-10-28 14:29:24:542  696 5c8 DnldMgr Download manager restoring 0 downloads
2014-10-28 14:29:24:557  696 5c8 AU ###########  AU: Initializing Automatic Updates  ###########
2014-10-28 14:29:24:557  696 5c8 AU AIR Mode is disabled
2014-10-28 14:29:24:557  696 5c8 AU   # AU disabled through User preference
2014-10-28 14:29:24:557  696 5c8 AU   # Will interact with non-admins (Non-admins are elevated (User preference))
2014-10-28 14:29:24:557  696 5c8 AU WARNING: Failed to get Wu Exemption info from NLM, assuming not exempt, error = 0x80240037
2014-10-28 14:29:24:557  696 5c8 AU AU finished delayed initialization
2014-10-28 14:29:24:557  696 234 DnldMgr Asking handlers to reconcile their sandboxes
2014-10-28 14:29:35:776  696 578 IdleTmr Incremented idle timer priority operation counter to 1
2014-10-28 14:29:37:307  696 52c AU Triggering AU detection through DetectNow API
2014-10-28 14:29:37:307  696 52c AU Triggering Online detection (interactive)
2014-10-28 14:29:37:323  696 5c8 AU #############
2014-10-28 14:29:37:323  696 5c8 AU ## START ##  AU: Search for updates
2014-10-28 14:29:37:323  696 5c8 AU #########
2014-10-28 14:29:37:323  696 5c8 SLS Retrieving SLS response from server...
2014-10-28 14:29:37:323  696 5c8 SLS Making request with URL
HTTPS://sls.update.microsoft.com/SLS/{9482F4B4-E343-43B6-B170-9A65BC822C77}/x64/6.3.9600.0/0?CH=871&L=en-US&P=&PT=0x7&WUA=7.9.9600.17092
2014-10-28 14:29:58:339  696 5c8 Misc WARNING: Proxy List used: <172.25.7.9:80> Bypass List used : <(null)> Auth Schemes used : <None>
2014-10-28 14:29:58:339  696 5c8 Misc WARNING: Send request failed, hr:0x80072ee2
2014-10-28 14:29:58:339  696 5c8 Misc WARNING: WinHttp: SendRequestUsingProxy failed for <HTTPS://sls.update.microsoft.com/SLS/{9482F4B4-E343-43B6-B170-9A65BC822C77}/x64/6.3.9600.0/0?CH=871&L=en-US&P=&PT=0x7&WUA=7.9.9600.17092>.
error 0x80072ee2
2014-10-28 14:29:58:339  696 5c8 Misc WARNING: WinHttp: SendRequestToServerForFileInformation MakeRequest failed. error 0x80072ee2
2014-10-28 14:29:58:339  696 5c8 Misc WARNING: WinHttp: SendRequestToServerForFileInformation failed with 0x80072ee2
2014-10-28 14:29:58:339  696 5c8 Misc WARNING: WinHttp: ShouldFileBeDownloaded failed with 0x80072ee2
2014-10-28 14:29:58:339  696 5c8 SLS FATAL: SLS:CSLSDownloader::GetUrlContent: DoFileDownload failed with 0x80072ee2.
2014-10-28 14:29:58:339  696 5c8 SLS FATAL: GetResponse failed with hresult 0x80072ee2...
2014-10-28 14:29:58:339  696 5c8 EP FATAL: EP: CSLSEndpointProvider::GetWUClientDataAndInitParser - failed to get SLS data, error = 0x80072EE2
2014-10-28 14:29:58:339  696 5c8 EP FATAL: EP: CSLSEndpointProvider::GetEndpointFromSLS - Failed to get client data and init parser, error = 0x80072EE2
2014-10-28 14:29:58:339  696 5c8 EP FATAL: Failed to obtain 9482F4B4-E343-43B6-B170-9A65BC822C77 redir SecondaryServiceAuth URL, error = 0x80072EE2
2014-10-28 14:29:58:339  696 5c8 Agent WARNING: Failed to obtain the authorization cab URL for service 117cab2d-82b1-4b5a-a08c-4d62dbee7782, hr=0
2014-10-28 14:29:58:339  696 5c8 Agent FATAL: Caller Service Recovery failed to opt in to service 117cab2d-82b1-4b5a-a08c-4d62dbee7782, hr=0X80072EE2
2014-10-28 14:29:58:339  696 5c8 IdleTmr WU operation (CSearchCall::Init ID 1) started; operation # 7; does use network; is not at background priority
2014-10-28 14:29:58:339  696 5c8 IdleTmr Incremented PDC RefCount for Network to 1
2014-10-28 14:29:58:339  696 5c8 IdleTmr Incremented idle timer priority operation counter to 2
2014-10-28 14:29:58:385  696 5c8 Report ***********  Report: Initializing static reporting data  ***********
2014-10-28 14:29:58:385  696 5c8 Report   * OS Version = 6.3.9600.0.0.196880
2014-10-28 14:29:58:385  696 5c8 Report   * OS Product Type = 0x00000007
2014-10-28 14:29:58:401  696 5c8 Report   * Computer Brand = VMware, Inc.
2014-10-28 14:29:58:401  696 5c8 Report   * Computer Model = VMware Virtual Platform
2014-10-28 14:29:58:401  696 5c8 Report   * Platform Role = 1
2014-10-28 14:29:58:401  696 5c8 Report   * AlwaysOn/AlwaysConnected (AOAC) = 0
2014-10-28 14:29:58:401  696 5c8 Report   * Bios Revision = 6.00
2014-10-28 14:29:58:401  696 5c8 Report   * Bios Name = PhoenixBIOS 4.0 Release 6.0    
2014-10-28 14:29:58:401  696 5c8 Report   * Bios Release Date = 2013-08-16T00:00:00
2014-10-28 14:29:58:401  696 5c8 Report   * Bios Sku Number unavailable.
2014-10-28 14:29:58:401  696 5c8 Report   * Bios Vendor = Phoenix Technologies LTD
2014-10-28 14:29:58:401  696 5c8 Report   * Bios Family unavailable.
2014-10-28 14:29:58:401  696 5c8 Report   * Bios Major Release = 4
2014-10-28 14:29:58:401  696 5c8 Report   * Bios Minor Release = 6
2014-10-28 14:29:58:401  696 5c8 Report   * Locale ID = 1033
2014-10-28 14:29:58:401  696 5c8 Agent *** START ***  Queueing Finding updates [CallerId = AutomaticUpdatesWuApp  Id = 1]
2014-10-28 14:29:58:401  696 5c8 AU <<## SUBMITTED ## AU: Search for updates  [CallId = {4A8CCE12-100B-4178-998D-608DFBB0B2D0} ServiceId = {9482F4B4-E343-43B6-B170-9A65BC822C77}]
2014-10-28 14:29:58:432  696 b0c Agent ***  END  ***  Queueing Finding updates [CallerId = AutomaticUpdatesWuApp  Id = 1]
2014-10-28 14:29:58:432  696 b0c Agent *************
2014-10-28 14:29:58:432  696 b0c Agent ** START **  Agent: Finding updates [CallerId = AutomaticUpdatesWuApp  Id = 1]
2014-10-28 14:29:58:432  696 b0c Agent *********
2014-10-28 14:29:58:432  696 b0c Agent   * Online = Yes; Ignore download priority = No
2014-10-28 14:29:58:432  696 b0c Agent   * Criteria = "IsInstalled=0 and DeploymentAction='Installation' or IsPresent=1 and DeploymentAction='Uninstallation' or IsInstalled=1 and DeploymentAction='Installation' and RebootRequired=1
or IsInstalled=0 and DeploymentAction='Uninstallation' and RebootRequired=1"
2014-10-28 14:29:58:432  696 b0c Agent   * ServiceID = {9482F4B4-E343-43B6-B170-9A65BC822C77} Windows Update
2014-10-28 14:29:58:432  696 b0c Agent   * Search Scope = {Machine & All Users}
2014-10-28 14:29:58:432  696 b0c Agent   * Caller SID for Applicability: S-1-5-21-600452275-980750782-2124898778-9669
2014-10-28 14:29:58:432  696 b0c SLS Retrieving SLS response from server...
2014-10-28 14:29:58:432  696 b0c SLS Making request with URL
HTTPS://sls.update.microsoft.com/SLS/{9482F4B4-E343-43B6-B170-9A65BC822C77}/x64/6.3.9600.0/0?CH=871&L=en-US&P=&PT=0x7&WUA=7.9.9600.17092
2014-10-28 14:29:59:135  696 b0c Misc Validating signature for C:\Windows\SoftwareDistribution\SLS\9482F4B4-E343-43B6-B170-9A65BC822C77\sls.cab with dwProvFlags 0x00000080:
2014-10-28 14:29:59:135  696 b0c Misc  Microsoft signed: NA
2014-10-28 14:29:59:135  696 b0c Misc  Infrastructure signed: Yes
2014-10-28 14:29:59:135  696 b0c Misc Validating signature for C:\Windows\SoftwareDistribution\SLS\9482F4B4-E343-43B6-B170-9A65BC822C77\TMP3958.tmp with dwProvFlags 0x00000080:
2014-10-28 14:29:59:135  696 b0c Misc  Microsoft signed: NA
2014-10-28 14:29:59:135  696 b0c Misc  Infrastructure signed: Yes
2014-10-28 14:29:59:135  696 b0c EP Got 9482F4B4-E343-43B6-B170-9A65BC822C77 redir SecondaryServiceAuth URL: "117cab2d-82b1-4b5a-a08c-4d62dbee7782"
2014-10-28 14:29:59:135  696 b0c SLS FATAL: SLS:CSLSRequest::RetrieveAdditionalAttributesIfRequired: CoCreateInstance failed with 0x80040154.
2014-10-28 14:29:59:135  696 b0c Agent WARNING: Failed to retrieve SLS response data for service 117cab2d-82b1-4b5a-a08c-4d62dbee7782, error = 0x80040154
2014-10-28 14:29:59:135  696 b0c Agent FATAL: Caller Service Recovery failed to opt in to service 117cab2d-82b1-4b5a-a08c-4d62dbee7782, hr=0X80040154
2014-10-28 14:29:59:135  696 b0c EP Got 9482F4B4-E343-43B6-B170-9A65BC822C77 redir Client/Server URL: "https://fe2.update.microsoft.com/v6/ClientWebService/client.asmx"
2014-10-28 14:29:59:135  696 b0c Setup Checking for agent SelfUpdate
2014-10-28 14:29:59:135  696 b0c Setup Client version: Core: 7.9.9600.17092  Aux: 7.9.9600.17031
2014-10-28 14:29:59:135  696 b0c EP Got 9482F4B4-E343-43B6-B170-9A65BC822C77 redir SelfUpdate URL: "https://fe2.update.microsoft.com/v10/3/windowsupdate/selfupdate"
2014-10-28 14:30:00:151  696 b0c Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\wuident.cab with dwProvFlags 0x00000080:
2014-10-28 14:30:00:151  696 b0c Misc  Microsoft signed: NA
2014-10-28 14:30:00:151  696 b0c Misc  Infrastructure signed: Yes
2014-10-28 14:30:00:151  696 b0c Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\TMP3D51.tmp with dwProvFlags 0x00000080:
2014-10-28 14:30:00:167  696 b0c Misc  Microsoft signed: NA
2014-10-28 14:30:00:167  696 b0c Misc  Infrastructure signed: Yes
2014-10-28 14:30:00:167  696 b0c Setup FATAL: GetClientUpdateUrl failed, err = 0x8024D009
2014-10-28 14:30:00:167  696 b0c Setup Skipping SelfUpdate check based on the /SKIP directive in wuident
2014-10-28 14:30:00:167  696 b0c Setup SelfUpdate check completed.  SelfUpdate is NOT required.
2014-10-28 14:30:00:323  696 b0c PT +++++++++++  PT: Synchronizing server updates  +++++++++++
2014-10-28 14:30:00:323  696 b0c PT   + ServiceId = {9482F4B4-E343-43B6-B170-9A65BC822C77}, Server URL =
https://fe2.update.microsoft.com/v6/ClientWebService/client.asmx
2014-10-28 14:30:01:104  696 b0c PT WARNING: Cached cookie has expired or new PID is available
2014-10-28 14:30:01:104  696 b0c PT WARNING: PTWarn: Anonymous plug-in skipped for WU
2014-10-28 14:30:01:198  696 b0c Agent Reading cached app categories using lifetime 604800 seconds
2014-10-28 14:30:01:198  696 b0c Agent Read 1 cached app categories
2014-10-28 14:30:40:917  696 b0c PT WARNING: ECP: Failed to validate cab file digest downloaded from
http://download.windowsupdate.com/d/msdownload/update/others/2013/09/9242543_a77d372b9c8b13c599a3daf4b321ea1903da9a72.cab with error 0x80091007
2014-10-28 14:30:40:917  696 b0c PT WARNING: ECP: This roundtrip contained some optimized updates which failed. New Update count = 57, Old Count = 60
2014-10-28 14:30:41:151  696 b0c PT   + SyncUpdates round trips: 14
2014-10-28 14:30:41:151  696 b0c PT WARNING: Sync of Updates: 0x8024402f
2014-10-28 14:30:41:151  696 b0c PT WARNING: SyncServerUpdatesInternal failed: 0x8024402f
2014-10-28 14:30:41:151  696 b0c Agent   * WARNING: Failed to synchronize, error = 0x8024402F
2014-10-28 14:30:41:151  696 b0c Agent   * WARNING: Exit code = 0x8024402F
2014-10-28 14:30:41:151  696 b0c Agent *********
2014-10-28 14:30:41:151  696 b0c Agent **  END  **  Agent: Finding updates [CallerId = AutomaticUpdatesWuApp  Id = 1]
2014-10-28 14:30:41:151  696 b0c Agent *************
2014-10-28 14:30:41:151  696 b0c Agent WARNING: WU client failed Searching for update with error 0x8024402f
2014-10-28 14:30:41:151  696 b0c IdleTmr WU operation (CSearchCall::Init ID 1, operation # 7) stopped; does use network; is not at background priority
2014-10-28 14:30:41:151  696 b0c IdleTmr Decremented PDC RefCount for Network to 0
2014-10-28 14:30:41:151  696 b0c IdleTmr Decremented idle timer priority operation counter to 1
2014-10-28 14:30:41:151  696 6fc AU >>##  RESUMED  ## AU: Search for updates [CallId = {4A8CCE12-100B-4178-998D-608DFBB0B2D0} ServiceId = {9482F4B4-E343-43B6-B170-9A65BC822C77}]
2014-10-28 14:30:41:151  696 6fc AU   # WARNING: Search callback failed, result = 0x8024402F
2014-10-28 14:30:41:151  696 6fc AU #########
2014-10-28 14:30:41:151  696 6fc AU ##  END  ##  AU: Search for updates  [CallId = {4A8CCE12-100B-4178-998D-608DFBB0B2D0} ServiceId = {9482F4B4-E343-43B6-B170-9A65BC822C77}]
2014-10-28 14:30:41:151  696 6fc AU #############
2014-10-28 14:30:41:151  696 6fc AU All AU searches complete.
2014-10-28 14:30:41:151  696 6fc AU   # WARNING: Failed to find updates with error code 8024402f
Derek
Systems Engineer
Derek Desktop Engineer
Related articles