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


Symptoms


When you visit the Windows Update Web site and then click 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

Cause


This behavior may occur if certain dynamic-link library files (.dll files) are not registered correctly or if there is a firewall between the computer and the Internet that does not allow HTTPS (SSL) connections.

Resolution


To resolve this behavior, use the regsvr32 command to reregister several .dll files:
  1. Click Start, click Run, type cmd in the Open box, and then click 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. Click OK.
  4. Restart your computer.