Category: Windows Installer and Updates

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

Here it is:

http://www.portableupdate.com/

Categories:   Windows Installer and Updates   

==============

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

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

https://blogs.windows.com/windowsexperience/2016/08/02/how-to-get-the-windows-10-anniversary-update/

but can be done by ISO:

https://answers.microsoft.com/en-us/windows/wiki/windows_10-windows_install/how-to-upgrade-to-windows-10-anniversary-update/fab99802-4358-49d9-8278-e9664cd56311

Categories:   Windows OS-Level Issues   Windows Installer and Updates

==============

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

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

https://www.microsoft.com/en-us/download/details.aspx?id=20858

Categories:   Windows Installer and Updates   Windows OS-Level Issues

==============

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

A very nice downloader provided by Microsoft:

https://www.microsoft.com/en-us/software-download/windows8

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 206 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:
    https://support.microsoft.com/en-us/kb/3177467
  1. July 2016 update rollup for Windows 7 SP1 and Windows Server 2008 R2 SP1:
    https://support.microsoft.com/en-us/kb/3172605
  1. September 2016 update rollup for Windows 7 SP1 and Windows Server 2008 R2 SP1:
    https://support.microsoft.com/en-us/kb/3185278

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 325 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.

Steps:

  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 OFF
echo Simple Script to Reset / Clear Windows Update
echo.
PAUSE
echo.
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.
echo Task completed successfully...
echo.
PAUSE
  1. Install .net 4.5.1 from here: https://www.microsoft.com/en-us/download/details.aspx?id=40779
  2. If it says that an =/> version is already installed, run the .net repair tool from here: https://support.microsoft.com/en-us/kb/2698555
  3. Download the latest version of Windows Update from here: https://support.microsoft.com/en-us/kb/949104
  4. Next update IE or Edge to the latest version using a redist, here’s the one for EI11, https://support.microsoft.com/en-us/help/18520/download-internet-explorer-11-offline-installer
  5. Open IE11 or Edge, add update.microsoft.com 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 545 days ago

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

https://support.microsoft.com/en-us/kb/968003#/en-us/kb/968003

Categories:   Windows Installer and Updates   Windows OS-Level Issues

==============

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

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

https://support.microsoft.com/en-us/gp/windows-update-issues/en-us

Microsoft is now providing an interesting toolset for Windows Update issues on current operating systems:

http://support.microsoft.com/common/survey.aspx?scid=sw;en;3779&showpage=1

And another Fix-It:

http://support.microsoft.com/kb/968002

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

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=c17ba869-9671-4330-a63e-1fd44e0e2505&displaylang=en

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 739 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   

==============

When Windows updates fail
article #726, updated 1031 days ago

We have the System Update Readiness tool for workstations and DISM for servers:

http://support.microsoft.com/kb/947821

For Vista/2008 SP1 and up through 8.1/2012R2 so far. One heads-up: according to this article by a Microsoft developer, it will take about 10 minutes to run, it takes the form of “checksur.exe”.

Categories:   Windows Installer and Updates   Windows OS-Level Issues