Bad HDD? It could be your Windows Updates

TCAT Shelbyville – Technical Blog posted this solution (that made my head hurt) to an illusion of a bad Hard Disk Drive (on a Server) and the real culprit was corrupt Windows update files.

TCAT Shelbyville - Technical Blog

Recently we had a server that kept trying to install Windows Updates AND it would attempt to do updates IF the you skipped the HDD scan.  The updates would fail and the computer would reboot to a login screen.

Here’s how we fixed the computer by deleting what we knew were corrupt update files.

    • Open a PowerShell and ran the following-
    • net stop bits
      net stop wuauserv
      net stop appidsvc
      net stop cryptsvc
      rmdir %windir%softwaredistribution /s /q 
      Del “%ALLUSERSPROFILE%Application DataMicrosoftNetworkDownloaderqmgr*.dat”
      sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
      sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
      cd /d %windir%system32
      regsvr32 /s wups.dll 
      regsvr32 /s wups2.dll 
      regsvr32 /s wucltui.dll 
      regsvr32.exe /s msxml.dll
      regsvr32.exe /s msxml3.dll
      regsvr32.exe /s msxml6.dll
      regsvr32.exe /s actxprxy.dll
      regsvr32.exe /s softpub.dll
      regsvr32.exe /s atl.dll
      regsvr32.exe /s urlmon.dll
      regsvr32.exe /s mshtml.dll
      regsvr32.exe /s shdocvw.dll
      regsvr32.exe /s browseui.dll
      regsvr32.exe /s jscript.dll
      regsvr32.exe /s vbscript.dll
      regsvr32.exe /s scrrun.dll
      regsvr32.exe /s wintrust.dll
      regsvr32.exe /s dssenh.dll
      regsvr32.exe /s rsaenh.dll
      regsvr32.exe /s…

View original post 159 more words

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Powered by WordPress.com.

Up ↑

%d bloggers like this: