Windows Update error 0x8024500C

✔️

Windows Update is failing with error 0x8024500C. How do I fix this?

windows-update

1 Answer

✔️

This can happen if Windows Update is trying to connect to a WSUS server which is not available. To fix it, allow Windows Update to connect to Microsoft's servers.

Set registry key HKEY_LOCAL_MACHINE\​Software\​Policies\​Microsoft\​Windows\​WindowsUpdate\​DoNotConnectToWindowsUpdateInternetLocations to 0x00000000 (0).

Registry Editor

  1. Press WinR to open the Run dialog.
  2. In the "Open" field, type regedit and click OK.
    1. In the pane on the left, navigate to Computer >HKEY_LOCAL_MACHINE > Software > Policies > Microsoft > Windows > WindowsUpdate.
    2. In the pane on the right, right-click DoNotConnectToWindowsUpdateInternetLocations and select Modify....
    3. Change the Value data field to 0 and click OK.

Registry File

Save the following to a .reg file and import it into the registry by opening it with RegEdit:

Windows Registry Editor Version 5.00
; https://windows-hexerror.linestarve.com/q/c1-windows-update-error-0x8024500c

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate]
"DoNotConnectToWindowsUpdateInternetLocations"=dword:00000000

PowerShell

This command must be run as Administrator.
Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate" -Name "DoNotConnectToWindowsUpdateInternetLocations" -Value 0

Command Line

This command must be run as Administrator.
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate" /f /v "DoNotConnectToWindowsUpdateInternetLocations" /t REG_DWORD /d 0


User contributions licensed under CC BY-SA 3.0