"Error: 0x8004005" or "Error: 0x800C0005" error messages when you scan for updates

This article provides a solution to error messages when you scan for updates.

Applies to:   Windows 10 - all editions
Original KB number:   843499


When you visit the Windows Update Web site and then select Scan for updates, the result of the scan is zero percent. Additionally, you may receive one of the following error messages:

Error: 0x800C0005

Error: 0x8004005


This behavior may occur if certain dynamic-link library files (.dll files) aren't registered correctly or if there's a firewall between the computer and the Internet that doesn't allow HTTPS (SSL) connections.


To resolve this behavior, use the regsvr32 command to register several .dll files:

  1. Select Start, select Run, type cmd in the Open box, and then select OK.

  2. At the command prompt, type the following commands. Press ENTER after each line:

    regsvr32 Softpub.dll
    regsvr32 Wintrust.dll
    regsvr32 Initpki.dll
  3. Select OK.

  4. Restart your computer.