MSFN Forum: Microsoft update causes 100% cpu usage - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

If you have questions about customizing Windows XP that are nLite-specific, please post them in the nLite forum, not here. If you have questions regarding the unattended installation of Windows XP, please post them in the Unattended Windows 2000/XP/2003 section.
  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Microsoft update causes 100% cpu usage Rate Topic: -----

#1 User is offline   Francesco 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 363
  • Joined: 20-March 04

Posted 09 August 2006 - 01:26 AM

Am I the only one that sees SVCHOST.exe cpu usage going to 100% when checking for updates on Microsoft Update website? I'm completely sure that the 100% cpu usage is caused by the automatic updates service because if I terminate that service the cpu usage stops.

I had this problem on all of my computers (5) and I'm pretty sure a lot of people in this forum had this problem too. Does somebody here managed to fix it?

This post has been edited by Francesco: 09 August 2006 - 01:30 AM



#2 User is online   Mr Snrub 

  • MSFT
  • Group: Super Moderator
  • Posts: 745
  • Joined: 14-September 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 09 August 2006 - 02:37 AM

Automatic Updates should only kick in when you visit the Windows Update site manually or at the daily scheduled check time if it's enabled, like 3am.
Why should it be a problem if a single-CPU system hits 100% utilisation during the check?

Or are you saying that it remains constantly at 100% even once the check is complete?

The number of checks the system is doing is quite extensive, so it doesn't surprise me that it's an exhaustive process - I just did a check for updates on a Windows 2003 SP1 dual-CPU system and it (svchost.exe -k netsvcs) hit 50% utilisation, so it's definitely a single thread under the AU service which is "busy" during the check.

#3 User is offline   Francesco 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 363
  • Joined: 20-March 04

Posted 09 August 2006 - 05:09 AM

View PostMr Snrub, on Aug 9 2006, 10:37 AM, said:

Automatic Updates should only kick in when you visit the Windows Update site manually or at the daily scheduled check time if it's enabled, like 3am.
Why should it be a problem if a single-CPU system hits 100% utilisation during the check?

Or are you saying that it remains constantly at 100% even once the check is complete?

The number of checks the system is doing is quite extensive, so it doesn't surprise me that it's an exhaustive process - I just did a check for updates on a Windows 2003 SP1 dual-CPU system and it (svchost.exe -k netsvcs) hit 50% utilisation, so it's definitely a single thread under the AU service which is "busy" during the check.


After the check the cpu usage goes back to normal but the problem is that the check even on fast systems last for at least 3-4 minutes, on a celeron 1000 I have it lasts for 30 minutes!! While it's checking new applications can't be launched and the system is very slow.

Everytime new updates are released automatic updates hangs slow computers for hours because the checks are so long that wu connection goes time out so it has to start from scratch every time. It's really awful.

#4 User is online   Mr Snrub 

  • MSFT
  • Group: Super Moderator
  • Posts: 745
  • Joined: 14-September 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 09 August 2006 - 10:03 AM

Tried using Windows Update instead of Microsoft Update?

Go to the regular Windows Update link from within IE, then click "Change Settings" on the left, then tick the box at the bottom on the right to check only for Windows updates, then click the apply button.

Now try an Express check and watch svchost.exe CPU usage - is it reasonable?

#5 User is offline   Francesco 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 363
  • Joined: 20-March 04

Posted 10 August 2006 - 10:50 AM

View PostMr Snrub, on Aug 9 2006, 06:03 PM, said:

Tried using Windows Update instead of Microsoft Update?

Go to the regular Windows Update link from within IE, then click "Change Settings" on the left, then tick the box at the bottom on the right to check only for Windows updates, then click the apply button.

Now try an Express check and watch svchost.exe CPU usage - is it reasonable?


I can't leave automatic updates turned off and I also need microsoft update because it updates automatically office (and there are worms spreading through .ppt and .doc files).

#6 User is offline   jackie 

  • Newbie
  • Group: Members
  • Posts: 33
  • Joined: 08-March 05

Posted 10 August 2006 - 11:11 AM

View PostMr Snrub, on Aug 9 2006, 11:03 AM, said:

Go to the regular Windows Update link from within IE, then click "Change Settings" on the left, then tick the box at the bottom on the right to check only for Windows updates, then click the apply button.


it worked for me :thumbup no more high cpu/mem usage at startup

#7 User is offline   Francesco 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 363
  • Joined: 20-March 04

Posted 10 August 2006 - 02:56 PM

View Postjackie, on Aug 10 2006, 07:11 PM, said:

View PostMr Snrub, on Aug 9 2006, 11:03 AM, said:


Go to the regular Windows Update link from within IE, then click "Change Settings" on the left, then tick the box at the bottom on the right to check only for Windows updates, then click the apply button.


it worked for me :thumbup no more high cpu/mem usage at startup


Yes but you lose office updates and as you may know there are a lot of critical exploits coming out for office files. If you use outlook 2003 as a email client you can't keep automatic updates turned off.

#8 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 3,732
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 11 August 2006 - 02:01 AM

I also have this problem, when using MicrosoftUpdate. I figured out, that this happens if you have a lot of msi-files in the folder %Windir%\Installer. MSUpdate opens several files in this folder to check something, but I don't have any idea what the updater checks in this folder.

#9 User is offline   Francesco 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 363
  • Joined: 20-March 04

Posted 11 August 2006 - 06:56 AM

View PostMagicAndre1981, on Aug 11 2006, 10:01 AM, said:

I also have this problem, when using MicrosoftUpdate. I figured out, that this happens if you have a lot of msi-files in the folder %Windir%\Installer. MSUpdate opens several files in this folder to check something, but I don't have any idea what the updater checks in this folder.


It checks for external applications, for example office and windows desktop search. **** I wish there was a way to fix this mess I don't want to update office by hand every time.

#10 User is offline   Chrysalis 

  • Junior
  • Pip
  • Group: Members
  • Posts: 82
  • Joined: 20-September 03

Posted 17 August 2006 - 01:40 AM

very interesting I was about to post about this problem.

I have auto updates disabled but when updating I get the same problem, it pauses for a while on 100% cpu usage and process explorer (sysinternals) shows its the svchost.exe for auto updates using the cpu. When it downloads the files its normal but then their is another 100%/delay before each update is installed. My pc is a amd64. On a amd 900 and p3 500 its much worse taking about 10-20 minutes.

#11 User is online   Mr Snrub 

  • MSFT
  • Group: Super Moderator
  • Posts: 745
  • Joined: 14-September 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 17 August 2006 - 04:54 AM

View PostChrysalis, on Aug 17 2006, 09:40 AM, said:

I have auto updates disabled but when updating I get the same problem...
Whether you visit Microsoft Update/Windows Update manually or the system does its automatic check, the code being executed is common (otherwise it would be a duplication and 2 sets of code to maintain & patch).

The current workarounds are to switch from Microsoft Update (back) to Windows Update, or to move the .MSI files out of the %systemroot%\Installer folder.*

Edit:
* If uninstalling an application requires the MSI file you can either return it to this folder or point to the new location.

This post has been edited by Mr Snrub: 17 August 2006 - 05:18 AM


#12 User is offline   Francesco 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 363
  • Joined: 20-March 04

Posted 17 August 2006 - 05:13 AM

View PostMr Snrub, on Aug 17 2006, 11:54 AM, said:

View PostChrysalis, on Aug 17 2006, 09:40 AM, said:

I have auto updates disabled but when updating I get the same problem...
Whether you visit Microsoft Update/Windows Update manually or the system does its automatic check, the code being executed is common (otherwise it would be a duplication and 2 sets of code to maintain & patch).

The current workarounds are to switch from Microsoft Update (back) to Windows Update, or to clear the .MSI files in the %systemroot%\Installer folder.


If you clear the MSI files you can't uninstall anything without the installer. **** somebody should report this to MS to have this mess fixed.

#13 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 3,732
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 17 August 2006 - 06:33 AM

I switched back to WindowsUpdate und searched for Office-Hotfixes seperately. This is a **** stupid bug.

#14 User is offline   Francesco 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 363
  • Joined: 20-March 04

Posted 17 August 2006 - 06:42 AM

View PostMagicAndre1981, on Aug 17 2006, 01:33 PM, said:

I switched back to WindowsUpdate und searched for Office-Hotfixes seperately. This is a **** stupid bug.


With the latest office 0day exploits you can get infected by worms just by opening a word file this is why downloading all the office hotfixes by hand is not a good idea.

This post has been edited by Francesco: 17 August 2006 - 07:29 AM


#15 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 3,732
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 17 August 2006 - 06:46 AM

I install every Hotfix for Office and Windows on every patchday ;)

#16 User is offline   Francesco 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 363
  • Joined: 20-March 04

Posted 17 August 2006 - 07:30 AM

View PostMagicAndre1981, on Aug 17 2006, 01:46 PM, said:

I install every Hotfix for Office and Windows on every patchday ;)

I can't I have too much PCs at home to install updates on all of them every time. Also I can't leave the PCs i've repaired without MU.

#17 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 3,732
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 17 August 2006 - 09:55 AM

why don't you use a WUS-Server?

#18 User is offline   Francesco 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 363
  • Joined: 20-March 04

Posted 17 August 2006 - 02:08 PM

I've found a better idea. You know the MS baseline analyzer? If I run it with a schedule now it automatically makes automatic updates get the updates even for office! This should finally fix the problem.

#19 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 3,732
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 17 August 2006 - 04:34 PM

cool, I'll check this out.

#20 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 3,732
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

  Posted 16 October 2006 - 03:42 PM

I solve this issue.

The update Hotfix KB916089 Version 5 ( http://support.micro...kb/916089/en-us ) (Msi.dll 3.1.4000.2805) solve the issue. I don't have 100% cpuusage and I still have a GUI when installing programs through a msi-file. The GUI wasn't shown while installing, so that programs which have 2 or more cds fails to install, when I installed other patches who had a never msi.dll than MSI 3.1V2.

I'm so happy :thumbup :wub:

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy