How to fix windows update error: “Error ecountered, We couldn’t connect to the update service …”
I have tried all the “fixes” suggested here, here, and here, to no avail.
Specifically, I have attempted the following:
Disabling all third-party antivirus/antimalware software (in my case, MalwareBytes and CCleaner. I ran full scans with both products first before disabling them and rebooting, just to make sure a virus wasn’t causing my problems).I also disabled the Windows firewall and rebooted but that did not workRunning the Windows Update Troubleshooter did not work – I was even transferred to an agent who was unable to help me and suggested coming here to see if I could get it fixedI tried resetting windows update components and restarting but this did not work either.Changing my DNS settings to point to 8.8.8.8 and 8.8.4.4 for primary and secondary DNS servers, respectively.Deleting everything inside the C:WindowsSoftwareDistribution after stopping wuauserv, cryptSvc, bits, and msiserver (and starting them again after rebooting my PC).Running sfc /scannow (which indicated that there were no corrupted system files).Running the batch file Reset_Reregister_Windows_Update_Components_for_Windows11.bat, which I downloaded from here.While running the command line app as administrator, I also tried the following command DISM /Online /Cleanup-Image /RestoreHealth and it did not work.I also tried deleting the group policy and restarting and that did not workI checked the time and date settings and everything looks fine thereI run the network troubleshooter and everything seems fine there
I have tried everything I could find on Google to no avail. I attached the Windows update log to see if anyone can help me here. WindowsUpdate.log
In the Windows update log attached above, I noted the following error messages with corresponding codes:
2024/05/30 01:15:33.3272490 11192 11216 DataStore DS: JetAttachDatabase failed. Database file was not found.
…
…
…
2024/05/30 01:15:33.7967348 11192 11216 Agent *FAILED* [80070002] wuauengcore.dll, C:__w1ssrcClientlibutilfileutil.cpp @1030
2024/05/30 01:15:33.7967367 11192 11216 Agent *FAILED* [80070002] wuauengcore.dll, C:__w1ssrcClientlibutilfileutil.cpp @1068
…
…
…
2024/05/30 01:15:33.8226919 11192 9744 SLS Making request with URL HTTPS://slscr.update.microsoft.com/SLS/{9482F4B4-E343-43B6-B170-9A65BC822C77}/x64/10.0.26100.712/0?CH=115&L=en-US;de-DE&P=RingExternal;WUMUDCat&PT=0x30&WUA=1305.2404.25012.0&MK=Notebook++++++++++++++++++++++++&MD=N95TP6+++++++++++++++++++++++++ and send SLS events, cV=LDEDIm+/GECTvKjD.1.0.0.2.
2024/05/30 01:15:34.7058700 11192 9744 Misc *FAILED* [80072F8F] WinHttp: SendRequestWithAuthRetry using proxy failed for <HTTPS://slscr.update.microsoft.com/SLS/{9482F4B4-E343-43B6-B170-9A65BC822C77}/x64/10.0.26100.712/0?CH=115&L=en-US;de-DE&P=RingExternal;WUMUDCat&PT=0x30&WUA=1305.2404.25012.0&MK=Notebook++++++++++++++++++++++++&MD=N95TP6+++++++++++++++++++++++++>
2024/05/30 01:15:34.7058782 11192 9744 Agent *FAILED* [80072F8F] wuauengcore.dll, C:__w1ssrcClientlibDownloadFileDownloadSession.cpp @853
2024/05/30 01:15:34.7059155 11192 9744 SLS Complete the request URL HTTPS://slscr.update.microsoft.com/SLS/{9482F4B4-E343-43B6-B170-9A65BC822C77}/x64/10.0.26100.712/0?CH=115&L=en-US;de-DE&P=RingExternal;WUMUDCat&PT=0x30&WUA=1305.2404.25012.0&MK=Notebook++++++++++++++++++++++++&MD=N95TP6+++++++++++++++++++++++++ with [80072F8F] and http status code[0] and send SLS events.
2024/05/30 01:15:34.7059269 11192 9744 SLS *FAILED* [80072F8F] GetDownloadedOnWeakSSLCert
2024/05/30 01:15:34.7069919 11192 9744 SLS *FAILED* [80072F8F] Method failed [CSLSClient::GetResponse:660]
2024/05/30 01:15:34.7070022 11192 9744 Agent *FAILED* [80072F8F] wuauengcore.dll, C:__w1ssrcClientlibEndpointProvidersEndpointProviders.cpp @1842
2024/05/30 01:15:34.7070062 11192 9744 Agent *FAILED* [80072F8F] wuauengcore.dll, C:__w1ssrcClientlibEndpointProvidersEndpointProviders.cpp @1387
2024/05/30 01:15:34.7070107 11192 9744 Agent *FAILED* [80072F8F] wuauengcore.dll, C:__w1ssrcClientlibEndpointProvidersEndpointProviders.cpp @1398
2024/05/30 01:15:34.7070131 11192 9744 Agent *FAILED* [80072F8F] Method failed [CAgentServiceManager::DetectAndToggleServiceState:3020]
2024/05/30 01:15:34.7070151 11192 9744 Agent *FAILED* [80072F8F] SLS sync failed during service registration (cV: LDEDIm+/GECTvKjD.1.0.0.)
2024/05/30 01:15:34.7160785 11192 9744 Agent Total possible federated services: 1 (cV: LDEDIm+/GECTvKjD.1.0.0.)
2024/05/30 01:15:34.7160829 11192 9744 Agent Candidate federated service 9482F4B4-E343-43B6-B170-9A65BC822C77 (cV: LDEDIm+/GECTvKjD.1.0.0.)
2024/05/30 01:15:34.7160888 11192 9744 Agent Federated service 9482F4B4-E343-43B6-B170-9A65BC822C77 is not added due to an associated SLS registration failure (cV: LDEDIm+/GECTvKjD.1.0.0.)
2024/05/30 01:15:34.7160901 11192 9744 Agent Total allowed federated services: 0 (cV: LDEDIm+/GECTvKjD.1.0.0.)
2024/05/30 01:15:34.7160941 11192 9744 Agent *FAILED* [80072F8F] wuauengcore.dll, C:__w1ssrcClientEngineAgentRegisteredServiceUtil.cpp @3484
2024/05/30 01:15:34.7160985 11192 9744 Agent *FAILED* [80072F8F] Failed to execute service registration call {C7171C38-18A1-4626-9EA4-4A7328477514} (cV: LDEDIm+/GECTvKjD.1.0.1)
2024/05/30 01:15:34.7161306 11192 9744 Reporter OS Product Type = 0x00000030
2024/05/30 01:15:34.7284776 11192 9744 IdleTimer WU operation (SR.Device Driver Retrieval Client ID 1, operation # 3) stopped; does use network; is not at background priority (cV = LDEDIm+/GECTvKjD.1.0)
2024/05/30 01:15:34.7336610 1176 11100 ComApi * END * Federated Search failed to process service registration, hr=0x80072F8F (cV = LDEDIm+/GECTvKjD.1.0)
2024/05/30 01:15:34.7338401 1176 11180 ComApi XxxJobImpl: _EndXxx invoked (cV = LDEDIm+/GECTvKjD.1.0)
2024/05/30 01:15:34.7339160 1176 11180 ComApi *FAILED* [80072F8F] wuapicore.dll, C:__w1ssrcClientcomapiXxxJob.cpp @372
2024/05/30 01:15:34.7339181 1176 11180 ComApi *FAILED* [80072F8F] wuapicore.dll, C:__w1ssrcClientcomapiUpdateSearcher.cpp @343
2024/05/30 01:15:35.0160911 1176 11108 ComApi * START * SLS Discovery (cV = LDEDIm+/GECTvKjD.2.0)
2024/05/30 01:15:35.0170264 11192 11228 IdleTimer WU operation (CDiscoveryCall::Init.{124B2C8C-ABC9-4FF9-8309-D790A2C090F2} ID 2) started; operation # 8; does use network; is not at background priority (cV = LDEDIm+/GECTvKjD.2.0)
2024/05/30 01:15:35.0171267 1176 11108 ComApi *QUEUED* SLS Discovery (cV = LDEDIm+/GECTvKjD.2.0)
2024/05/30 01:15:35.0171284 1176 11108 ComApi XxxJobImpl: _EndXxx invoked (cV = LDEDIm+/GECTvKjD.2.0)
2024/05/30 01:15:35.0172085 11192 11328 Agent CDiscoveryCall::Execute – Invoking SLSClient (cv = LDEDIm+/GECTvKjD.2.1)
2024/05/30 01:15:35.0259499 11192 11328 SLS Get response for service 2B81F1BF-356C-4FA1-90F1-7581A62C6764 – forceExpire[False] asyncRefreshOnExpiry[True] (cV = LDEDIm+/GECTvKjD.2.2)
2024/05/30 01:15:35.0259552 11192 11328 SLS path used for cache lookup: /SLS/{2B81F1BF-356C-4FA1-90F1-7581A62C6764}/x64/10.0.26100.712/0?CH=115&L=en-US;de-DE&P=RingExternal;WUMUDCat&PT=0x30&WUA=1305.2404.25012.0&MK=Notebook++++++++++++++++++++++++&MD=N95TP6+++++++++++++++++++++++++
2024/05/30 01:15:35.0260299 11192 11328 SLS Retrieving SLS response from server…
2024/05/30 01:15:35.0263472 11192 11328 SLS MS-CV header: MS-CV: LDEDIm+/GECTvKjD.2.3
I also checked on error code 80070002 and realized I had to restart my router and run the network troubleshooter, but that did not solve the issue.
When I checked on error code 80072F8F I realized that I had to check if TLS 1.2 was enabled on my system but I am not sure how to go about it, including checking .NET frameworks and editing WinHTTP DefaultProtocol (DWORD) registry edits according to this link here. That’s where I got confused trying to figure things out since I am not sure how to go about it exactly and what to do or change.
I would appreciate any thoughts or help on this.
To solve this issue, I recently upgraded from Windows 11 Pro 23H2 to 24H2 x64 version 10.0.26100 build 26100, hardware abstraction layer 10.0.26100.1. Before the upgrade and even still after the upgrade, when I try to run Windows Update, I get the following error:I have tried all the “fixes” suggested here, here, and here, to no avail.Specifically, I have attempted the following:Disabling all third-party antivirus/antimalware software (in my case, MalwareBytes and CCleaner. I ran full scans with both products first before disabling them and rebooting, just to make sure a virus wasn’t causing my problems).I also disabled the Windows firewall and rebooted but that did not workRunning the Windows Update Troubleshooter did not work – I was even transferred to an agent who was unable to help me and suggested coming here to see if I could get it fixedI tried resetting windows update components and restarting but this did not work either.Changing my DNS settings to point to 8.8.8.8 and 8.8.4.4 for primary and secondary DNS servers, respectively.Deleting everything inside the C:WindowsSoftwareDistribution after stopping wuauserv, cryptSvc, bits, and msiserver (and starting them again after rebooting my PC).Running sfc /scannow (which indicated that there were no corrupted system files).Running the batch file Reset_Reregister_Windows_Update_Components_for_Windows11.bat, which I downloaded from here.While running the command line app as administrator, I also tried the following command DISM /Online /Cleanup-Image /RestoreHealth and it did not work.I also tried deleting the group policy and restarting and that did not workI checked the time and date settings and everything looks fine thereI run the network troubleshooter and everything seems fine thereI have tried everything I could find on Google to no avail. I attached the Windows update log to see if anyone can help me here. WindowsUpdate.logIn the Windows update log attached above, I noted the following error messages with corresponding codes: 2024/05/30 01:15:33.3272490 11192 11216 DataStore DS: JetAttachDatabase failed. Database file was not found.
…
…
…
2024/05/30 01:15:33.7967348 11192 11216 Agent *FAILED* [80070002] wuauengcore.dll, C:__w1ssrcClientlibutilfileutil.cpp @1030
2024/05/30 01:15:33.7967367 11192 11216 Agent *FAILED* [80070002] wuauengcore.dll, C:__w1ssrcClientlibutilfileutil.cpp @1068
…
…
…
2024/05/30 01:15:33.8226919 11192 9744 SLS Making request with URL HTTPS://slscr.update.microsoft.com/SLS/{9482F4B4-E343-43B6-B170-9A65BC822C77}/x64/10.0.26100.712/0?CH=115&L=en-US;de-DE&P=RingExternal;WUMUDCat&PT=0x30&WUA=1305.2404.25012.0&MK=Notebook++++++++++++++++++++++++&MD=N95TP6+++++++++++++++++++++++++ and send SLS events, cV=LDEDIm+/GECTvKjD.1.0.0.2.
2024/05/30 01:15:34.7058700 11192 9744 Misc *FAILED* [80072F8F] WinHttp: SendRequestWithAuthRetry using proxy failed for <HTTPS://slscr.update.microsoft.com/SLS/{9482F4B4-E343-43B6-B170-9A65BC822C77}/x64/10.0.26100.712/0?CH=115&L=en-US;de-DE&P=RingExternal;WUMUDCat&PT=0x30&WUA=1305.2404.25012.0&MK=Notebook++++++++++++++++++++++++&MD=N95TP6+++++++++++++++++++++++++>
2024/05/30 01:15:34.7058782 11192 9744 Agent *FAILED* [80072F8F] wuauengcore.dll, C:__w1ssrcClientlibDownloadFileDownloadSession.cpp @853
2024/05/30 01:15:34.7059155 11192 9744 SLS Complete the request URL HTTPS://slscr.update.microsoft.com/SLS/{9482F4B4-E343-43B6-B170-9A65BC822C77}/x64/10.0.26100.712/0?CH=115&L=en-US;de-DE&P=RingExternal;WUMUDCat&PT=0x30&WUA=1305.2404.25012.0&MK=Notebook++++++++++++++++++++++++&MD=N95TP6+++++++++++++++++++++++++ with [80072F8F] and http status code[0] and send SLS events.
2024/05/30 01:15:34.7059269 11192 9744 SLS *FAILED* [80072F8F] GetDownloadedOnWeakSSLCert
2024/05/30 01:15:34.7069919 11192 9744 SLS *FAILED* [80072F8F] Method failed [CSLSClient::GetResponse:660]
2024/05/30 01:15:34.7070022 11192 9744 Agent *FAILED* [80072F8F] wuauengcore.dll, C:__w1ssrcClientlibEndpointProvidersEndpointProviders.cpp @1842
2024/05/30 01:15:34.7070062 11192 9744 Agent *FAILED* [80072F8F] wuauengcore.dll, C:__w1ssrcClientlibEndpointProvidersEndpointProviders.cpp @1387
2024/05/30 01:15:34.7070107 11192 9744 Agent *FAILED* [80072F8F] wuauengcore.dll, C:__w1ssrcClientlibEndpointProvidersEndpointProviders.cpp @1398
2024/05/30 01:15:34.7070131 11192 9744 Agent *FAILED* [80072F8F] Method failed [CAgentServiceManager::DetectAndToggleServiceState:3020]
2024/05/30 01:15:34.7070151 11192 9744 Agent *FAILED* [80072F8F] SLS sync failed during service registration (cV: LDEDIm+/GECTvKjD.1.0.0.)
2024/05/30 01:15:34.7160785 11192 9744 Agent Total possible federated services: 1 (cV: LDEDIm+/GECTvKjD.1.0.0.)
2024/05/30 01:15:34.7160829 11192 9744 Agent Candidate federated service 9482F4B4-E343-43B6-B170-9A65BC822C77 (cV: LDEDIm+/GECTvKjD.1.0.0.)
2024/05/30 01:15:34.7160888 11192 9744 Agent Federated service 9482F4B4-E343-43B6-B170-9A65BC822C77 is not added due to an associated SLS registration failure (cV: LDEDIm+/GECTvKjD.1.0.0.)
2024/05/30 01:15:34.7160901 11192 9744 Agent Total allowed federated services: 0 (cV: LDEDIm+/GECTvKjD.1.0.0.)
2024/05/30 01:15:34.7160941 11192 9744 Agent *FAILED* [80072F8F] wuauengcore.dll, C:__w1ssrcClientEngineAgentRegisteredServiceUtil.cpp @3484
2024/05/30 01:15:34.7160985 11192 9744 Agent *FAILED* [80072F8F] Failed to execute service registration call {C7171C38-18A1-4626-9EA4-4A7328477514} (cV: LDEDIm+/GECTvKjD.1.0.1)
2024/05/30 01:15:34.7161306 11192 9744 Reporter OS Product Type = 0x00000030
2024/05/30 01:15:34.7284776 11192 9744 IdleTimer WU operation (SR.Device Driver Retrieval Client ID 1, operation # 3) stopped; does use network; is not at background priority (cV = LDEDIm+/GECTvKjD.1.0)
2024/05/30 01:15:34.7336610 1176 11100 ComApi * END * Federated Search failed to process service registration, hr=0x80072F8F (cV = LDEDIm+/GECTvKjD.1.0)
2024/05/30 01:15:34.7338401 1176 11180 ComApi XxxJobImpl: _EndXxx invoked (cV = LDEDIm+/GECTvKjD.1.0)
2024/05/30 01:15:34.7339160 1176 11180 ComApi *FAILED* [80072F8F] wuapicore.dll, C:__w1ssrcClientcomapiXxxJob.cpp @372
2024/05/30 01:15:34.7339181 1176 11180 ComApi *FAILED* [80072F8F] wuapicore.dll, C:__w1ssrcClientcomapiUpdateSearcher.cpp @343
2024/05/30 01:15:35.0160911 1176 11108 ComApi * START * SLS Discovery (cV = LDEDIm+/GECTvKjD.2.0)
2024/05/30 01:15:35.0170264 11192 11228 IdleTimer WU operation (CDiscoveryCall::Init.{124B2C8C-ABC9-4FF9-8309-D790A2C090F2} ID 2) started; operation # 8; does use network; is not at background priority (cV = LDEDIm+/GECTvKjD.2.0)
2024/05/30 01:15:35.0171267 1176 11108 ComApi *QUEUED* SLS Discovery (cV = LDEDIm+/GECTvKjD.2.0)
2024/05/30 01:15:35.0171284 1176 11108 ComApi XxxJobImpl: _EndXxx invoked (cV = LDEDIm+/GECTvKjD.2.0)
2024/05/30 01:15:35.0172085 11192 11328 Agent CDiscoveryCall::Execute – Invoking SLSClient (cv = LDEDIm+/GECTvKjD.2.1)
2024/05/30 01:15:35.0259499 11192 11328 SLS Get response for service 2B81F1BF-356C-4FA1-90F1-7581A62C6764 – forceExpire[False] asyncRefreshOnExpiry[True] (cV = LDEDIm+/GECTvKjD.2.2)
2024/05/30 01:15:35.0259552 11192 11328 SLS path used for cache lookup: /SLS/{2B81F1BF-356C-4FA1-90F1-7581A62C6764}/x64/10.0.26100.712/0?CH=115&L=en-US;de-DE&P=RingExternal;WUMUDCat&PT=0x30&WUA=1305.2404.25012.0&MK=Notebook++++++++++++++++++++++++&MD=N95TP6+++++++++++++++++++++++++
2024/05/30 01:15:35.0260299 11192 11328 SLS Retrieving SLS response from server…
2024/05/30 01:15:35.0263472 11192 11328 SLS MS-CV header: MS-CV: LDEDIm+/GECTvKjD.2.3 I also checked on error code 80070002 and realized I had to restart my router and run the network troubleshooter, but that did not solve the issue.When I checked on error code 80072F8F I realized that I had to check if TLS 1.2 was enabled on my system but I am not sure how to go about it, including checking .NET frameworks and editing WinHTTP DefaultProtocol (DWORD) registry edits according to this link here. That’s where I got confused trying to figure things out since I am not sure how to go about it exactly and what to do or change.I would appreciate any thoughts or help on this. Read More