Category: Windows Installer and Updates

Install All Microsoft Redistributable VC++ Runtimes
article #643, updated 68 days ago

Below-linked is a tool which will automatically install all of the redistributable Microsoft Visual C++ runtime DLLs, all versions, 2005 to present:

This is a great way to handle many missing DLLs. Below is another tool, a PowerShell script, newer-fangled engineering with additional capabilities, definitely better for enterprise use, and quite a lot faster:

Once you have all of the files for the latter, the best command to do the fully automatic install is probably this:

.\Install-VisualCRedistributables.ps1 -xml VisualCRedistributablesSupported.xml -install

It may be helpful to do this first:

Unblock-File .\Install-VisualCRedistributables.ps1

Categories:   Windows OS-Level Issues   Windows Installer and Updates


Very interesting alternative to wsusoffline
article #1040, updated 152 days ago

Here it is:

Categories:   Windows Installer and Updates   


Upgrading Windows 10 Versions
article #1036, updated 185 days ago

When going to version 1607 of 10, it is reportedly supposed to be automatic:

but can be done by ISO:

Categories:   Windows OS-Level Issues   Windows Installer and Updates


The System Update Readiness Tool for Windows 7 for x64-based Systems
article #1034, updated 187 days ago

A 539-megabyte monster! Appears to be designed to solve lots of problems.

Categories:   Windows Installer and Updates   Windows OS-Level Issues


Download current ISOs for Windows 7, 8.1, and 10
article #1015, updated 244 days ago

A very nice downloader provided by Microsoft:

Categories:   Windows Installer and Updates   Windows OS-Level Issues


Windows Update freezes / gets stuck while searching for updates, in Windows 7 and Windows Server 2008 R2
article #1000, updated 296 days ago

This has been happening on long-installed machines for quite a while. But in the last week, four different sets of Windows 7 64-bit install media, over seven different reloads, have had Windows Update get stuck, or freeze, while searching for Windows updates, eating 100% of one CPU core. Several changes in reload pattern were attempted, some of which included WSUSoffline, without success. Profoundly expert help provided the following. Before deliberately attempting Windows Update, we are to install these, in this order:

  1. Servicing stack update for Windows 7 SP1 and Windows Server 2008 R2 SP1: September 20, 2016:
  1. July 2016 update rollup for Windows 7 SP1 and Windows Server 2008 R2 SP1:
  1. September 2016 update rollup for Windows 7 SP1 and Windows Server 2008 R2 SP1:

Windows Update may get stuck again, searching for new updates, the first time any of the above is attempted. If this occurs, each time, we do this:

  1. In TASKMGR, terminate process wusa.exe
  2. Restart service wuauserv
  3. Try the install again.

The second time we do each install (after the termination and service restart), the popup for searching for Windows updates comes up for 3-10 seconds, and then we are asked whether we want to install. We then say yes, and it installs. Then we move to the next one of the three!

Categories:   Windows Installer and Updates   Windows OS-Level Issues


The New Hunsinger Windows Update Clog Destructifier
article #979, updated 414 days ago

Mike Hunsinger, who has been addressing Windows Update issues with considerable success over time, recently provided for the following writeup. It is useful when:

  • Windows is running slowly or generally unreliably, needs rebooted frequently.
  • The Windows Update service spikes CPU usage over 70% when it runs.
  • When you check for new updates, it just hangs endlessly on “checking for updates”.
  • The last successful update was years ago.


  1. Clean up the system drive.
    • Before Server 2012, use Disk Cleanup (cleanmgr.exe). Be sure to check “service pack backup files” and “windows update”, if the version of Windows you are running gives these as options.
    • Server 2012 and after, use DISM (dism.exe). Run this in administrative CMD:
      dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase
      If it reports “The operation could not be completed due to pending operations.”, you have just been told that a server reboot is necessary and you’ll need to do this again afterwards. After it succeeds, do this:
      dism.exe /online /Cleanup-Image /SPSuperseded
  2. Run the following as a .bat file to reset Windows Updates caches and working spaces, rereg some dll’s, It works on all versions of windows, may skip some dll’s depending on the OS version:
echo Simple Script to Reset / Clear Windows Update
attrib -h -r -s %windir%\system32\catroot2
attrib -h -r -s %windir%\system32\catroot2\*.*
net stop wuauserv
net stop CryptSvc
net stop BITS
ren %windir%\system32\catroot2 catroot2.old
ren %windir%\SoftwareDistribution sold.old
ren "%ALLUSERSPROFILE%\application data\Microsoft\Network\downloader" downloader.old
regsvr32 /s wuaueng.dll 
regsvr32 /s wuaueng1.dll 
regsvr32 /s atl.dll 
regsvr32 /s wups.dll 
regsvr32 /s wups2.dll 
regsvr32 /s wuweb.dll 
regsvr32 /s wucltui.dll 
net Start BITS
net start CryptSvc
net start wuauserv
echo Task completed successfully...
  1. Install .net 4.5.1 from here:
  2. If it says that an =/> version is already installed, run the .net repair tool from here:
  3. Download the latest version of Windows Update from here:
  4. Next update IE or Edge to the latest version using a redist, here’s the one for EI11,
  5. Open IE11 or Edge, add to trusted sites, popup blocker exceptions, privacy exceptions.
  6. Finally, try re-running Windows Update. The “Checking for Updates” may run quickly, or it may take 4-6 hours to populate results.

We have had the best results by updating in batches after this, first any critical SP’s or major Platform Updates. Then security, Office and the others as deemed necessary. Once you’ve completed a couple rounds of updates, the difference should start exhibiting itself with regards to the symptoms named.

Categories:   Windows OS-Level Issues   Windows Installer and Updates


SUBINACL fix for Windows Update issues
article #903, updated 634 days ago

Some Windows Update issues are permissions problems, which can be fixed using a method involving SUBINACL:

Categories:   Windows Installer and Updates   Windows OS-Level Issues


Windows Update problems busters
article #727, updated 722 days ago

Yet something newer than the below, the Windows Update Automated Troubleshooter:

Microsoft is now providing an interesting toolset for Windows Update issues on current operating systems:;en;3779&showpage=1

And another Fix-It:

And something to install, the SDK, which contains Windows Installer 4.5 and possibly 5.0 too:

The below are our previous methods, from the indefatigable Mike Hunsinger. It is best to try level 1, see if that fixes, go to level 2. Both of these are done in administrative command prompts.

Level 1.

  1. Stop services:
    net stop bits
    net stop wuauserv
    net stop appidsvc
    net stop cryptsvc
  2. Rename folders:
    ren %systemroot%\SoftwareDistribution SoftwareDistribution.bak
    ren %systemroot%\system32\catroot2 catroot2.bak
  3. Start services:
    net start bits
    net start wuauserv
    net start appidsvc
    net start cryptsvc
  4. If in Windows Vista or Server 2008 R1: bitsadmin /reset /allusers

Level 2.

  1. Stop services:
    net stop bits
    net stop wuauserv
    net stop appidsvc
    net stop cryptsvc
  2. Deletions:
    Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat"
  3. Registrations:
    cd /d %windir%\system32
    regsvr32.exe atl.dll
    regsvr32.exe urlmon.dll
    regsvr32.exe mshtml.dll
    regsvr32.exe shdocvw.dll
    regsvr32.exe browseui.dll
    regsvr32.exe jscript.dll
    regsvr32.exe vbscript.dll
    regsvr32.exe scrrun.dll
    regsvr32.exe msxml.dll
    regsvr32.exe msxml3.dll
    regsvr32.exe msxml6.dll
    regsvr32.exe actxprxy.dll
    regsvr32.exe softpub.dll
    regsvr32.exe wintrust.dll
    regsvr32.exe dssenh.dll
    regsvr32.exe rsaenh.dll
    regsvr32.exe gpkcsp.dll
    regsvr32.exe sccbase.dll
    regsvr32.exe slbcsp.dll
    regsvr32.exe cryptdlg.dll
    regsvr32.exe oleaut32.dll
    regsvr32.exe ole32.dll
    regsvr32.exe shell32.dll
    regsvr32.exe initpki.dll
    regsvr32.exe wuapi.dll
    regsvr32.exe wuaueng.dll
    regsvr32.exe wuaueng1.dll
    regsvr32.exe wucltui.dll
    regsvr32.exe wups.dll
    regsvr32.exe wups2.dll
    regsvr32.exe wuweb.dll
    regsvr32.exe qmgr.dll
    regsvr32.exe qmgrprxy.dll
    regsvr32.exe wucltux.dll
    regsvr32.exe muweb.dll
    regsvr32.exe wuwebv.dll
  4. Reset networking:
    netsh winsock reset
  5. Reconfigure proxy settings:
    • If on XP: proxycfg.exe -d
    • If not on XP: netsh winhttp reset proxy
  1. Start services:
    net start bits
    net start wuauserv
    net start appidsvc
    net start cryptsvc
  2. If in Windows Vista: bitsadmin /reset /allusers
  3. Install the latest Windows Update Agent.
  4. Reboot.

Categories:   Windows OS-Level Issues   Windows Installer and Updates


Common registry item missing causing Windows Installer and SFC errors
article #826, updated 828 days ago

This is often missing:

HKLM\Software\Microsoft\Windows\CurrentVersion\Component Based Servicing\Version

To fix it:

1. Navigate to C:\Windows\Servicing\Version and read the name of a subfolder. It will be named something like 6.1.7600.16385. That is your {TrustedInstaller ID}. Copy the name of that folder to the clipboard (and paste it in Notepad for safe keeping).
2. Find a subfolder in C:\Windows\WinSxS whose name starts with:

x86_microsoft-windows-servicingstack_31bf3856ad364e35_{TrustedInstaller ID} (32bit Windows)

amd64_microsoft-windows-servicingstack_31bf3856ad364e35_{TrustedInstaller ID} (64bit Windows)

Copy the name of that folder to the clipboard (and paste it in Notepad for safe keeping).

3. Create subkey “HKLM\Software\Microsoft\Windows\CurrentVersion\Component Based Servicing\Version”. You will need to take ownership of “Component Based Servicing” then give yourself full access permissions before you can create the key.

4. In the new Version key, create an “expandable value” using the TrustedInstaller ID as its name and the complete path of the folder you identified in WinSxS as its value. Properly you should use %SystemRoot%\WinSxS\whatever instead of C:\Windows\WinSxS\whatever.

Categories:   Windows Installer and Updates