Search This Blog

Windows Update Scanning Error Fix

If the Windows Update database and manifest corrupted, Windows Update scan can take a long time or crash.  The following may fix this problem.

  1. Run the Windows Update troubleshooter
  2. Run the System Update Readiness Tool
  3. Run the System File Checker (sfc) from Administrator Command Prompt. “sfc /scannow”
  4. Rename and recreate the SoftwareDistribution and Catroot2 folders
    • Stop the Windows Update service and its related services
      • net stop wuauserv
      • net stop bits
      • net stop cryptsvc
    • If the Windows Update service can not be stopped, change its startup type to Disabled, then reboot the computer.
    • Rename %windir%\SoftwareDistribution
    • Rename %windir%\system32\Catroot2
    • Start the Windows Update service and change its startup type to Automatic (Delayed Start).
  5. Re-register all the Windows Update DLLs (stop wuauserv, bits, and cryptsvc services first)
    • regsvr32 c:\windows\system32\vbscript.dll /s
      regsvr32 c:\windows\system32\mshtml.dll /s
      regsvr32 c:\windows\system32\msjava.dll /s
      regsvr32 c:\windows\system32\jscript.dll /s
      regsvr32 c:\windows\system32\msxml.dll /s
      regsvr32 c:\windows\system32\actxprxy.dll /s
      regsvr32 c:\windows\system32\shdocvw.dll /s
      regsvr32 wuapi.dll /s
      regsvr32 wuaueng1.dll /s
      regsvr32 wuaueng.dll /s
      regsvr32 wucltui.dll /s
      regsvr32 wups2.dll /s
      regsvr32 wups.dll /s
      regsvr32 wuweb.dll /s
      regsvr32 Softpub.dll /s
      regsvr32 Mssip32.dll /s
      regsvr32 Initpki.dll /s
      regsvr32 softpub.dll /s
      regsvr32 wintrust.dll /s
      regsvr32 initpki.dll /s
      regsvr32 dssenh.dll /s
      regsvr32 rsaenh.dll /s
      regsvr32 gpkcsp.dll /s
      regsvr32 sccbase.dll /s
      regsvr32 slbcsp.dll /s
      regsvr32 cryptdlg.dll /s
      regsvr32 Urlmon.dll /s
      regsvr32 Shdocvw.dll /s
      regsvr32 Msjava.dll /s
      regsvr32 Actxprxy.dll /s
      regsvr32 Oleaut32.dll /s
      regsvr32 Mshtml.dll /s
      regsvr32 msxml.dll /s
      regsvr32 msxml2.dll /s
      regsvr32 msxml3.dll /s
      regsvr32 Browseui.dll /s
      regsvr32 shell32.dll /s
      regsvr32 wuapi.dll /s
      regsvr32 wuaueng.dll /s
      regsvr32 wuaueng1.dll /s
      regsvr32 wucltui.dll /s
      regsvr32 wups.dll /s
      regsvr32 wuweb.dll /s
      regsvr32 jscript.dll /s
      regsvr32 atl.dll /s
      regsvr32 Mssip32.dll /s

No comments:

Post a Comment

Use WinSCP to Transfer Files in vCSA 6.7

This is a quick update on my previous post “ Use WinSCP to Transfer Files in vCSA 6.5 ”. When I try the same SFTP server setting in vCSA 6.7...