Fix Slow Updates/High CPU Usages - Windows 7


Recommended Posts

This is something I have been testing in VM's and with the assistance of a few colleagues, but this has solved the following on clean installs and even some dirty installs:

 

-Checking for updates never finishes

-High CPU usage while Checking for Updates

-Windows Update freezes or locks up the system for periods of time

-Searching for updates can takes hours

 

 

Step 1: Install KB3172605 by downloading the .MSU, expanding the .MSU into a folder, and use DISM to apply the CAB file. In order to do this, enter the following commands in an admin command prompt. Please take note, if your system is 32-bit you would instead use Windows6.1-KB3172605-x86.msu

 

mkdir update
expand -f:* Windows6.1-KB3172605-x64.msu .\update
dism /online /add-package /packagepath:update\Windows6.1-KB3172605-x64.cab

 

Reboot your system and try running Windows Updates, sometimes this is all it takes. On a few of my test VMs, I found this one did the trick, on a few others it did not.

 

If you receive an error stating the manifest file contains a syntax error (0x800736B5) perform the following:

The issue is caused by the Version key under Component Based Servicing in the registry. It is out of date and DISM does not know how to process one of the commands inside the update.  The easiest way to fix this, is to download and install the Windows 7 Roll-up Prerequisite. In order to do this, download the Prerequisite file and perform the following commands from an admin command prompt:

 

mkdir prereq
expand -f:* Windows6.1-KB3020369-x64.msu .\prereq
dism /online /add-package /packagepath:prereq\Windows6.1-KB3020369-x64.cab

if your system is 32-bit you would instead use Windows6.1-KB3020369-x86.msu

 

Restart the machine and you should be able to install KB3172605 at this point, without any errors.

 

**As an additional note, if your Windows 7 system is a fresh-install and was recently upgraded to SP1, or has not done updates for a very very long time, there could possibly be hundreds of applicable updates. In this situation, it is advised to install the Windows 7 Rollup Package, which contains all updates between the launch of SP1 and April 2016.

 

TL;DR Steps

1. Install KB3172605 

2. Install Roll-up Prerequisite

3. Install Roll-up Package

4. Check for updates, which should run much faster now.

 

Download Links:

 

KB3172605

Windows 7 Roll-up Prerequisite (x86)

Windows 7 Roll-up Prerequisite (x64)

Windows 7 Roll-up Update (x86)

Windows 7 Roll-up Update (x64)

Instead of extracting the update and installing it by command, unplugging from the internet and restarting the windows update service before trying to install the update will also make the update install quicker.

 

That being said the command would be useful for remote work.

  • Like 2
  • 3 months later...

Wanted to list another great method.

Very handy on a clean Win7 x64 SP1 install.

Download these hotfixes:

Capture.thumb.JPG.9535221492a882271f6fab6c2b7aa8af.JPG


Do not install them.


Go here:

Use PowerShell to install a list of hotfix all at once.

Follow the simple directions -

PS will install each item silently, without rebooting, and echo each time a hotfix is installed.

Once all are done, reboot.

You should be able to use Windows Updates normally.

UPDATE:

Just tested on a new VM (Win7 x64 SP1) - worked great.
 

____________________________

This is the PS script

$dir = (Get-Item -Path ".\" -Verbose).FullName
 Foreach($item in (ls $dir *.msu -Name))
 {
    echo $item
    $item = $dir + "\" + $item
    wusa $item /quiet /norestart | Out-Null
 }

 

  • Like 2
13 minutes ago, Circaflex said:

I've found on a clean install, today actually, that if you install the pre req listed, then the rollup and then finally the kb 3172605 updates will work without any issues. Very simple process. 

Well... mine's cooler !
(and my post has more colors, so I win)

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • The problem of course is simply that government does not always know best. My point is that agency is taken away from the EU consumer in these cases. I'm sorry, but I do not believe that governments (politicians) are inherently good, and "looking out for me." Primarily they look to themselves and their own personal desires first, foremost, and always. When the EU or the DOJ fines these companies, claiming to "represent the welfare of the consumer," how much of these billion-dollar judgments are handed to the consumers they claim to represent? Not even a dollar, as I've seen. Yet the EUC lawyers who are paid to sit around and dream up these suits make huge commissions on the fines the EUC adjudicates, which is an ironclad fact I hope everyone is aware of. It's also rank corruption, of course, but that's another topic. Last, when the EU inflicts these judgments, or the DOJ, take your pick, the costs are bundled right along in the cost of the goods and services these companies provide the consumers they are "looking out for." If you are someone who believes his government is his savior then you have my condolences. I think Apple is right here, because the whole scheme of consumer choice is that consumers pick and choose among the products companies offer. Microsoft Windows is more compatible with third party software and hardware than any desktop OS on Earth, which is my sole reason for choosing it. Just because the EUC forces companies do certain things it knows the companies do not want to do, "or else", has no bearing on consumer benefit. This Siri thing is almost idiotic it's so infantile. But this is what the EUC does when the EU in Brussels becomes cash-strapped and needs a big infusion of cash. Some people get upset by "big companies" but it's the opposite when governments dwarf the size and scope of these companies, which is so obvious it hurts.... I mean you can't honestly believe that forcing Apple to do things with Siri it has its own reasons to decline is something that "opens up" Apple, do you? Say it aint' so...
    • Looks like many years since the request was made, a directory tree view finally may be added. https://github.com/files-community/Files/pull/18537
    • There's this from last year https://gist.github.com/threat...364659a8887841aa43deca4efd9 but nothing about a buffer overflow that MS somehow can't code against. No matter what, it makes sense to take a "protected by default" approach.
  • Recent Achievements

    • One Month Later
      sjbousquet earned a badge
      One Month Later
    • Week One Done
      sjbousquet earned a badge
      Week One Done
    • First Post
      DragonOfMercy earned a badge
      First Post
    • First Post
      bella52 earned a badge
      First Post
    • Reacting Well
      Techinmay earned a badge
      Reacting Well
  • Popular Contributors

    1. 1
      +primortal
      501
    2. 2
      PsYcHoKiLLa
      212
    3. 3
      +Edouard
      156
    4. 4
      Steven P.
      84
    5. 5
      FloatingFatMan
      72
  • Tell a friend

    Love Neowin? Tell a friend!