Thursday, March 2, 2017

Windows Update doesn't work and consumes 100% of CPU (Win7 SP1)



I've observed a strange behaviour with Windows Update (Win7 SP1). The process svchost is consuming an entire core of my Virtual Machine (VirtualBox) doing nothing (i.e., there is no network traffic and the folder C:\Windows\SoftwareDistribution remains at the same size with the same number of files). Moreover, the process sometimes consumes a large quantity of memory (> 1 GB). I've also noted that sometimes the folder SoftwareDistribution increases in size during a period of time, and after that nothing happens and svchost continues to consume an entire core.


I know that the problem is with Windows Update, since I've tracked (using Resource Monitor) what service is related with the behaviour related above.


The image below shows what I'm facing:


enter image description here


The next image shows a detailed information about svchost:


enter image description here


If I try to perform the update, nothing happens. The Windows Update doesn't progress. See the image below:


enter image description here


I left this machine trying to do the update for 4 hours. During this time the consumption of CPU remained high (as related above) and no update was installed.


My question is the following:


What is the reason why Windows Update doesn't work and still consumes an entire core of my processor doing nothing?


Related Question(s):


svchost.exe high memory usage - wuauserv


Answer



Fix


Microsoft released a Windows Update Client Update which is part of the July 2016 Update Rollup to fix the long hang at Windows Update scan.



This update contains some improvements to Windows Update Client in
Windows 7 Service Pack 1 (SP1). This includes the following:



  • An optimization that addresses long scan time for updates that's reported on some computers.




  1. Download:



  2. Stop Windows Update service. This speeds up the setup of MSU updates. This can be done from the command line, or from the service manager window.


  3. Try the downloaded update and see if it speeds up the installation of Updates.



To be able to install the update you first need to install the April 2015 servicing stack update for Windows 7 and Windows Server 2008 R2 update (again, stop WU service before trying to install the MSU).


Download (April 2015 servicing stack update):


32 Bit


64 Bit


Workaround 1


If this is still not helping to search for new updates, use WSUSOffline to get all the updates.


No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...