Azure VM Windows Update error 0x8024000e

Wayne Stringfield 1 Reputation point
2020-03-10T15:12:40.077+00:00

I have an Azure VM running Windows 2016 Datacenter, and the Windows Update just gives an error 0x8024000e with a Retry button. I have tried just about every solution I can find on line with no success.

Here is the last part of the log that was created by using the Get-WindowsUpdateLog PowerShell command:

2020/03/10 14:13:20.8984692 700   4036  Agent           Earliest future timer found:  
2020/03/10 14:13:20.8984857 700   4036  Agent               Timer: 29A863E7-8609-4D1E-B7CD-5668F857F1DB, Expires 2020-03-11 13:48:13, not idle-only, not network-only  
2020/03/10 14:13:21.9009388 700   3176  Agent           Earliest future timer found:  
2020/03/10 14:13:21.9009502 700   3176  Agent               Timer: 29A863E7-8609-4D1E-B7CD-5668F857F1DB, Expires 2020-03-11 13:48:13, not idle-only, not network-only  
2020/03/10 14:13:21.9032313 700   3176  Misc            CreateSessionStateChangeTrigger, TYPE:2, Enable:No  
2020/03/10 14:13:21.9032343 700   3176  Misc            CreateSessionStateChangeTrigger, TYPE:4, Enable:No  
2020/03/10 14:13:21.9341321 700   3176  Handler         CUHCbsHandler::CancelDownloadRequest called  
2020/03/10 14:13:22.0126098 700   3176  Shared          * END * Service exit Exit code = 0x240001  
2020/03/10 14:31:28.6133715 700   1796  Shared          * START * Service startup  
2020/03/10 14:31:28.6277143 700   1796  Agent           WU client version 10.0.14393.2273  
2020/03/10 14:31:28.6279035 700   1796  Agent           SleepStudyTracker: Machine is non-AOAC. Sleep study tracker disabled.  
2020/03/10 14:31:28.6279647 700   1796  Agent           Base directory: C:\Windows\SoftwareDistribution  
2020/03/10 14:31:28.6286094 700   1796  Agent           Datastore directory: C:\Windows\SoftwareDistribution\DataStore\DataStore.edb  
2020/03/10 14:31:28.7788975 700   1796  Shared          UpdateNetworkState Ipv6, cNetworkInterfaces = 3.  
2020/03/10 14:31:28.7789170 700   1796  Shared          UpdateNetworkState Ipv4, cNetworkInterfaces = 1.  
2020/03/10 14:31:28.7793495 700   1796  Shared          Network state: Connected  
2020/03/10 14:31:28.7863132 700   1796  Misc            LoadHistoryEventFromRegistry completed, hr = 8024000C  
2020/03/10 14:31:28.7893596 700   1796  Shared          UpdateNetworkState Ipv6, cNetworkInterfaces = 3.  
2020/03/10 14:31:28.7893639 700   1796  Shared          UpdateNetworkState Ipv4, cNetworkInterfaces = 1.  
2020/03/10 14:31:28.7893684 700   1796  Shared          Power status changed  
2020/03/10 14:31:28.7899834 700   1796  Agent           Initializing global settings cache  
2020/03/10 14:31:28.7899839 700   1796  Agent           WSUS server: NULL  
2020/03/10 14:31:28.7899842 700   1796  Agent           WSUS status server: NULL  
2020/03/10 14:31:28.7899845 700   1796  Agent           Alternate Download Server: NULL  
2020/03/10 14:31:28.7899849 700   1796  Agent           Fill Empty Content Urls: No  
2020/03/10 14:31:28.7899855 700   1796  Agent           Target group: (Unassigned Computers)  
2020/03/10 14:31:28.7899858 700   1796  Agent           Windows Update access disabled: No  
2020/03/10 14:31:28.7906860 700   1796  Agent               Timer: 29A863E7-8609-4D1E-B7CD-5668F857F1DB, Expires 2020-03-11 13:48:13, not idle-only, not network-only  
2020/03/10 14:31:28.7950935 700   1796  Agent           Initializing Windows Update Agent  
2020/03/10 14:31:28.7956701 700   1796  DownloadManager Download manager restoring 0 downloads  
2020/03/10 14:31:28.7961829 700   1796  Agent           CPersistentTimeoutScheduler | GetTimer, returned hr = 0x00000000  
2020/03/10 14:31:28.8264124 700   2680  Shared          Effective power state: AC  
2020/03/10 14:31:28.8264133 700   2680  DownloadManager Power state change detected. Source now: AC  
2020/03/10 14:31:43.9471733 700   1796  Agent           Earliest future timer found:  
2020/03/10 14:31:43.9471823 700   1796  Agent               Timer: 29A863E7-8609-4D1E-B7CD-5668F857F1DB, Expires 2020-03-11 13:48:13, not idle-only, not network-only  
2020/03/10 14:31:43.9494621 700   1796  Misc            CreateSessionStateChangeTrigger, TYPE:2, Enable:No  
2020/03/10 14:31:43.9494652 700   1796  Misc            CreateSessionStateChangeTrigger, TYPE:4, Enable:No  
2020/03/10 14:31:44.0081335 700   1796  Handler         CUHCbsHandler::CancelDownloadRequest called  
2020/03/10 14:31:44.1029047 700   1796  Shared          * END * Service exit Exit code = 0x240001  
2020/03/10 14:35:16.8428703 700   5536  Shared          * START * Service startup  
2020/03/10 14:35:16.8552549 700   5536  Agent           WU client version 10.0.14393.2273  
2020/03/10 14:35:16.8554434 700   5536  Agent           SleepStudyTracker: Machine is non-AOAC. Sleep study tracker disabled.  
2020/03/10 14:35:16.8554946 700   5536  Agent           Base directory: C:\Windows\SoftwareDistribution  
2020/03/10 14:35:16.8576036 700   5536  Agent           Datastore directory: C:\Windows\SoftwareDistribution\DataStore\DataStore.edb  
2020/03/10 14:35:17.5730664 700   5536  DataStore       Service 3DA21691-E39D-4DA6-8A4B-B43877BCB1B7 added  
2020/03/10 14:35:17.5887355 700   5536  DataStore       Service 9482F4B4-E343-43B6-B170-9A65BC822C77 added  
2020/03/10 14:35:17.5937064 700   5536  DataStore       Data store successfully created  
2020/03/10 14:35:17.5949271 700   5536  Shared          UpdateNetworkState Ipv6, cNetworkInterfaces = 3.  
2020/03/10 14:35:17.5949478 700   5536  Shared          UpdateNetworkState Ipv4, cNetworkInterfaces = 1.  
2020/03/10 14:35:17.5954745 700   5536  Shared          Network state: Connected  
2020/03/10 14:35:17.5988347 700   5536  Misc            LoadHistoryEventFromRegistry completed, hr = 8024000C  
2020/03/10 14:35:17.6014003 700   5536  Shared          UpdateNetworkState Ipv6, cNetworkInterfaces = 3.  
2020/03/10 14:35:17.6014049 700   5536  Shared          UpdateNetworkState Ipv4, cNetworkInterfaces = 1.  
2020/03/10 14:35:17.6014097 700   5536  Shared          Power status changed  
2020/03/10 14:35:17.6018521 700   5536  Agent           Initializing global settings cache  
2020/03/10 14:35:17.6018526 700   5536  Agent           WSUS server: NULL  
2020/03/10 14:35:17.6018530 700   5536  Agent           WSUS status server: NULL  
2020/03/10 14:35:17.6018533 700   5536  Agent           Alternate Download Server: NULL  
2020/03/10 14:35:17.6018537 700   5536  Agent           Fill Empty Content Urls: No  
2020/03/10 14:35:17.6018539 700   5536  Agent           Target group: (Unassigned Computers)  
2020/03/10 14:35:17.6018544 700   5536  Agent           Windows Update access disabled: No  
2020/03/10 14:35:17.6048890 700   5536  Agent           Initializing Windows Update Agent  
2020/03/10 14:35:17.6049388 700   5536  DownloadManager Download manager restoring 0 downloads  
2020/03/10 14:35:17.6053628 700   5536  Agent           CPersistentTimeoutScheduler | GetTimer, returned hr = 0x80248007  
2020/03/10 14:35:17.6053710 700   5536  Agent           CPersistentTimeoutEvent | Resubscribe, no existing/cached timer for Id=29A863E7-8609-4D1E-B7CD-5668F857F1DB.  
2020/03/10 14:35:17.6053723 700   5536  Agent           Adding timer:  
2020/03/10 14:35:17.6053803 700   5536  Agent               Timer: 29A863E7-8609-4D1E-B7CD-5668F857F1DB, Expires 2020-03-11 14:35:17, not idle-only, not network-only  
2020/03/10 14:35:17.6396065 700   2988  Shared          Effective power state: AC  
2020/03/10 14:35:17.6396073 700   2988  DownloadManager Power state change detected. Source now: AC  
2020/03/10 14:36:04.7513873 700   4808  ComApi          * START *   Init Search ClientId = UpdateOrchestrator  
2020/03/10 14:36:04.7513912 700   4808  ComApi          * START *   Search ClientId = UpdateOrchestrator  
2020/03/10 14:36:05.5228232 700   4808  Agent           * START * Queueing Finding updates [CallerId = UpdateOrchestrator  Id = 1]  
2020/03/10 14:36:05.5228282 700   4808  Agent           Added service 00000000-0000-0000-0000-000000000000 to sequential scan list  
2020/03/10 14:36:05.5228504 700   4808  ComApi          Search ClientId = UpdateOrchestrator  
2020/03/10 14:36:05.5275297 700   5692  Agent           * END * Queueing Finding updates [CallerId = UpdateOrchestrator  Id = 1]  
2020/03/10 14:36:05.5306251 700   5692  Agent           * START * Finding updates CallerId = UpdateOrchestrator  Id = 1  
2020/03/10 14:36:05.5306260 700   5692  Agent           Online = Yes; AllowCachedResults = No; Ignore download priority = No  
2020/03/10 14:36:05.5306268 700   5692  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""  
2020/03/10 14:36:05.5306297 700   5692  Agent           ServiceID = {00000000-0000-0000-0000-000000000000} Third party service  
2020/03/10 14:36:05.5306301 700   5692  Agent           Search Scope = {Machine}  
2020/03/10 14:36:05.5306328 700   5692  Agent           Caller SID for Applicability: S-1-5-21-3178778973-2557035406-129915985-500  
2020/03/10 14:36:05.5306333 700   5692  Agent           ProcessDriverDeferrals is set  
2020/03/10 14:36:05.5306336 700   5692  Agent           RegisterService is set  
1601/01/01 00:00:00.0000000 700   5692                  Unknown( 38): GUID=adf11b8c-baac-3d44-1059-4f8c843b025a (No Format Information found).  
2020/03/10 14:36:05.5475893 700   5692  SLS             Retrieving SLS response from server...  
2020/03/10 14:36:05.5482470 700   5692  SLS             Making request with URL HTTPS://sls.update.microsoft.com/SLS/{9482F4B4-E343-43B6-B170-9A65BC822C77}/x64/10.0.14393.0/0?CH=542&L=en-US&P=&PT=0x8&WUA=10.0.14393.2273  
2020/03/10 14:36:05.7029307 700   5692  Misc            Validating signature for C:\Windows\SoftwareDistribution\SLS\9482F4B4-E343-43B6-B170-9A65BC822C77\sls.cab with dwProvFlags 0x00000080:  
2020/03/10 14:36:05.7089111 700   5692  Misc             Microsoft signed: NA  
2020/03/10 14:36:05.7090568 700   5692  Misc             Infrastructure signed: Yes  
2020/03/10 14:36:05.7108644 700   5692  Misc            Validating signature for C:\Windows\SoftwareDistribution\SLS\9482F4B4-E343-43B6-B170-9A65BC822C77\TMPB293.tmp with dwProvFlags 0x00000080:  
2020/03/10 14:36:05.7146574 700   5692  Misc             Microsoft signed: NA  
2020/03/10 14:36:05.7147035 700   5692  Misc             Infrastructure signed: Yes  
2020/03/10 14:36:05.7205663 700   5692  Misc            Got 9482F4B4-E343-43B6-B170-9A65BC822C77 redir SecondaryServiceAuth URL: 117cab2d-82b1-4b5a-a08c-4d62dbee7782""  
2020/03/10 14:36:05.7215164 700   5692  SLS             CoCreateInstance Failed: hr = 0x80040154  
2020/03/10 14:36:05.7215186 700   5692  Agent           Failed to retrieve SLS response data for service 117cab2d-82b1-4b5a-a08c-4d62dbee7782, error = 0x80040154  
2020/03/10 14:36:05.7215207 700   5692  Agent           Caller Service Recovery failed to opt in to service 117cab2d-82b1-4b5a-a08c-4d62dbee7782, hr=0X80040154  
2020/03/10 14:36:05.7228362 700   5692  Misc            Got 9482F4B4-E343-43B6-B170-9A65BC822C77 redir Client/Server URL: https://fe2.update.microsoft.com/v6/ClientWebService/client.asmx""  
2020/03/10 14:36:06.0306043 700   5692  ProtocolTalker  ServiceId = {9482F4B4-E343-43B6-B170-9A65BC822C77}, Server URL = https://fe2.update.microsoft.com/v6/ClientWebService/client.asmx  
2020/03/10 14:36:06.0307403 700   5692  ProtocolTalker  PT: Calling GetConfig on server  
2020/03/10 14:36:06.0309518 700   5692  WebServices     Auto proxy settings for this web service call.  
2020/03/10 14:36:06.1310676 700   5692  ProtocolTalker  PT: Service supports GetConfig2, Calling GetConfig2 on server  
2020/03/10 14:36:06.1551549 700   5692  ProtocolTalker  Cached cookie has expired or new PID is available  
2020/03/10 14:36:06.1553198 700   5692  ProtocolTalker  PTWarn: Anonymous plug-in skipped for WU  
2020/03/10 14:36:29.1470412 700   5692  ProtocolTalker  PopulateDataStore failed 0x8024000e  
2020/03/10 14:36:29.1883049 700   5692  ProtocolTalker  SyncUpdates round trips: 25  
2020/03/10 14:36:29.1886778 700   5692  ProtocolTalker  Sync of Updates 0x8024000e  
2020/03/10 14:36:29.1895288 700   5692  ProtocolTalker  SyncServerUpdatesInternal failed 0x8024000e  
2020/03/10 14:36:29.1946527 700   5692  Agent           Failed to synchronize, error = 0x8024000E  
2020/03/10 14:36:29.2178166 700   5692  Agent           Exit code = 0x8024000E  
2020/03/10 14:36:29.2178174 700   5692  Agent           * END * Finding updates CallerId = UpdateOrchestrator  Id = 1  
2020/03/10 14:36:29.2451620 700   5136  ComApi          *RESUMED* Search ClientId = UpdateOrchestrator  
2020/03/10 14:36:29.2459763 700   5136  ComApi          Updates found = 0  
2020/03/10 14:36:29.2459769 700   5136  ComApi          Exit code = 0x00000000, Result code = 0x8024000E  
2020/03/10 14:36:29.2459774 700   5136  ComApi          * END *   Search ClientId = UpdateOrchestrator  
2020/03/10 14:36:29.2466937 700   4808  ComApi          ISusInternal:: DisconnectCall failed, hr=8024000C  
2020/03/10 14:36:35.3427082 700   4808  ComApi          * START *   Init Search ClientId = UpdateOrchestrator  
2020/03/10 14:36:35.3427117 700   4808  ComApi          * START *   Search ClientId = UpdateOrchestrator  
2020/03/10 14:36:35.3547650 700   4808  Agent           * START * Queueing Finding updates [CallerId = UpdateOrchestrator  Id = 2]  
2020/03/10 14:36:35.3547687 700   4808  Agent           Removing service 00000000-0000-0000-0000-000000000000 from sequential scan list  
2020/03/10 14:36:35.3547714 700   4808  Agent           Added service 00000000-0000-0000-0000-000000000000 to sequential scan list  
2020/03/10 14:36:35.3547847 700   4808  ComApi          Search ClientId = UpdateOrchestrator  
2020/03/10 14:36:35.3587554 700   5236  Agent           * END * Queueing Finding updates [CallerId = UpdateOrchestrator  Id = 2]  
2020/03/10 14:36:35.3618203 700   5236  Agent           * START * Finding updates CallerId = UpdateOrchestrator  Id = 2  
2020/03/10 14:36:35.3618212 700   5236  Agent           Online = Yes; AllowCachedResults = No; Ignore download priority = No  
2020/03/10 14:36:35.3618219 700   5236  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""  
2020/03/10 14:36:35.3618251 700   5236  Agent           ServiceID = {00000000-0000-0000-0000-000000000000} Third party service  
2020/03/10 14:36:35.3618255 700   5236  Agent           Search Scope = {Machine}  
2020/03/10 14:36:35.3618282 700   5236  Agent           Caller SID for Applicability: S-1-5-21-3178778973-2557035406-129915985-500  
2020/03/10 14:36:35.3618287 700   5236  Agent           ProcessDriverDeferrals is set  
2020/03/10 14:36:35.3618290 700   5236  Agent           RegisterService is set  
2020/03/10 14:36:35.3634301 700   5236  Misc            Got 9482F4B4-E343-43B6-B170-9A65BC822C77 redir SecondaryServiceAuth URL: 117cab2d-82b1-4b5a-a08c-4d62dbee7782""  
2020/03/10 14:36:35.3643356 700   5236  SLS             CoCreateInstance Failed: hr = 0x80040154  
2020/03/10 14:36:35.3643379 700   5236  Agent           Failed to retrieve SLS response data for service 117cab2d-82b1-4b5a-a08c-4d62dbee7782, error = 0x80040154  
2020/03/10 14:36:35.3643402 700   5236  Agent           Caller Service Recovery failed to opt in to service 117cab2d-82b1-4b5a-a08c-4d62dbee7782, hr=0X80040154  
2020/03/10 14:36:35.3661600 700   5236  Misc            Got 9482F4B4-E343-43B6-B170-9A65BC822C77 redir Client/Server URL: https://fe2.update.microsoft.com/v6/ClientWebService/client.asmx""  
2020/03/10 14:36:35.4858421 700   5236  ProtocolTalker  ServiceId = {9482F4B4-E343-43B6-B170-9A65BC822C77}, Server URL = https://fe2.update.microsoft.com/v6/ClientWebService/client.asmx  
2020/03/10 14:36:35.4859806 700   5236  ProtocolTalker  OK to reuse existing configuration  
2020/03/10 14:36:35.4859847 700   5236  ProtocolTalker  Existing cookie is valid, just use it  
2020/03/10 14:36:35.8021001 700   5236  WebServices     Auto proxy settings for this web service call.  
2020/03/10 14:36:39.6638010 700   5236  ProtocolTalker  PopulateDataStore failed 0x8024000e  
2020/03/10 14:36:39.7090160 700   5236  ProtocolTalker  SyncUpdates round trips: 1  
2020/03/10 14:36:39.7090174 700   5236  ProtocolTalker  Sync of Updates 0x8024000e  
2020/03/10 14:36:39.7101581 700   5236  ProtocolTalker  SyncServerUpdatesInternal failed 0x8024000e  
2020/03/10 14:36:39.7138065 700   5236  Agent           Failed to synchronize, error = 0x8024000E  
2020/03/10 14:36:39.7371005 700   5236  Agent           Exit code = 0x8024000E  
2020/03/10 14:36:39.7371012 700   5236  Agent           * END * Finding updates CallerId = UpdateOrchestrator  Id = 2  
2020/03/10 14:36:39.7486827 700   2188  ComApi          *RESUMED* Search ClientId = UpdateOrchestrator  
2020/03/10 14:36:39.7489931 700   2188  ComApi          Updates found = 0  
2020/03/10 14:36:39.7489937 700   2188  ComApi          Exit code = 0x00000000, Result code = 0x8024000E  
2020/03/10 14:36:39.7489942 700   2188  ComApi          * END *   Search ClientId = UpdateOrchestrator  
2020/03/10 14:36:39.7492520 700   4808  ComApi          ISusInternal:: DisconnectCall failed, hr=8024000C  
2020/03/10 14:46:39.7613594 700   4796  Agent           Earliest future timer found:  
2020/03/10 14:46:39.7613772 700   4796  Agent               Timer: 29A863E7-8609-4D1E-B7CD-5668F857F1DB, Expires 2020-03-11 14:35:17, not idle-only, not network-only  
2020/03/10 14:46:40.7780569 700   5536  Agent           Earliest future timer found:  
2020/03/10 14:46:40.7780690 700   5536  Agent               Timer: 29A863E7-8609-4D1E-B7CD-5668F857F1DB, Expires 2020-03-11 14:35:17, not idle-only, not network-only  
2020/03/10 14:46:40.7848861 700   5536  Misc            CreateSessionStateChangeTrigger, TYPE:2, Enable:No  
2020/03/10 14:46:40.7848889 700   5536  Misc            CreateSessionStateChangeTrigger, TYPE:4, Enable:No  
2020/03/10 14:46:40.8208665 700   5536  Handler         CUHCbsHandler::CancelDownloadRequest called  
2020/03/10 14:46:41.2888788 700   5536  Shared          * END * Service exit Exit code = 0x240001  

Any help deciphering this log is appreciated. Thanks.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,582 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Ken Faulkner 1 Reputation point
    2020-03-16T00:51:47.17+00:00

    Having same issue myself with Azure VM Win Server 2016. Get anywhere with it?


  2. Paul Husted 1 Reputation point
    2020-04-17T13:14:10.647+00:00

    Same symptoms observed as well.

    Solution was simple - VM size was too small - updates were running out of RAM.
    Resized VM from B2s to B2ms, basically changing RAM from 4 GB to 8 GB.
    Updates started running as expected.

    0 comments No comments

  3. Ken Shields 1 Reputation point
    2020-07-20T12:46:46.223+00:00

    Perfect, had exactly the same error on various VMs in Azure, resized and bingo! Had to wait a while for the catalogue...

    Thank you!

    0 comments No comments