Friday, April 28, 2006

svchost.exe Hangs and Automatic Update hangs

Here is a Windows problem which had me spun for a few hours on two occasions.

Symptoms Overview:
The system is slow and svchost.exe is taking 50%+ CPU (or 100% CPU on a non-HT machine).
Windows update (http://windowsupdate.microsoft.com/) hangs .
See below for detailed diagnoses.

Cause:
A previous Windows Update was prematurely terminated. Windows Update is attempting to failing to recover the session and the partial downloads. It is stuck in a loop in the recovery and determining where to continue the downloads.

Solution:
  • Stop and terminate the Automatic Updates (svchost.exe) process.
  • Delete all files and folders in C:\Windows\SoftwareDistribution). Windows Update will automatically obtain all the files it needs later.
  • Start the "Automatic Update" service.
  • Retrieve the latest Windows Updates from Microsoft.
You should no longer have the CPU usage problem with svchost.exe.

Detailed diagnoses - Confirming the symptoms
1) Turn off Automatic Updates and BITS. Do this from Control Panel, Administrative Tools, Services. Find "Automatic Updates" and "Background Intelligent Transfer Service", right-click and Stop these two services.
2) If stopping the service takes a long time and eventually fails you have a problem with the Windows Update.

Terminating svchost.exe
Terminate the svchost.exe process which is slowing your system.
Steps:
a) Hitting Ctrl-Alt-Delete, select Task Manager.
b) Click on the "Processes" tab and sort the processes by name by clicking the "Image Name" column header.
c) Select the line which Find the svchost.exe process which has a non 0 value (i.e it is taking up CPU ticks), and then click "End Task".

Your CPU usage should be back to normal at this point.


Environment:
I've only encountered this on Windows 2003 server, but it could potentially exist with any version of windows since its actually a flaw with Automatic Updates.

31 comments:

Anonymous said...

Hello my loved one! I want to say that this article is amazing,
nice written and come with approximately all vital infos.
I would like to peer more posts like this .

Feel free to visit my weblog; berechnung pkv
Feel free to visit my blog post

Anonymous said...

Admiring the time and effort you put into your website and detailed information you
offer. It's awesome to come across a blog every once in a while that isn't the same out of date rehashed information.
Excellent read! I've bookmarked your site and I'm including your RSS
feeds to my Google account.

Feel free to visit my blog post ... studenten krankenversicherung privat
My weblog :

Anonymous said...

Nice blog right here! Also your website a lot up very fast!
What web host are you the use of? Can I am getting
your affiliate link in your host? I want my website loaded up as quickly
as yours lol

Feel free to surf to my web-site ... google adsense alternative
Here is my web page :

Anonymous said...

Hi there i am kavin, its my first occasion to commenting anyplace,
when i read this paragraph i thought i could also create comment due to this sensible piece of writing.


Feel free to surf to my weblog :: gesetzliche versicherungen
Here is my site ::

Anonymous said...

Wow, this paragraph is good, my sister is analyzing these things, so I am going to let know her.
Take a look at my web blog : Kleinkredit FüR SelbstäNdige

Anonymous said...

Hello Dear, are you truly visiting this web site regularly, if so afterward you will definitely take fastidious experience.
Take a look at my web page :: host server

Anonymous said...

Unquestionably believe that which you said. Your favorite reason seemed to be on
the web the simplest thing to be aware of. I say to you,
I certainly get annoyed while people consider worries that they
plainly do not know about. You managed to hit the nail upon the top as well
as defined out the whole thing without having side-effects , people can take a
signal. Will probably be back to get more. Thanks
Feel free to visit my weblog :: montreal seo Experts

Anonymous said...

I loved as much as you'll receive carried out right here. The sketch is attractive, your authored material stylish. nonetheless, you command get got an edginess over that you wish be delivering the following. unwell unquestionably come more formerly again as exactly the same nearly very often inside case you shield this hike.
Look into my blog : quick business ideas

Anonymous said...

I am not sure where you are getting your information, but great topic.
I needs to spend some time learning more or understanding more.

Thanks for magnificent info I was looking for this info for my mission.


Also visit my website :: best selling clickbank products
Also visit my web page :

Anonymous said...

If you are going for best contents like me, only pay a quick
visit this web site all the time since it presents quality contents, thanks
My web blog ; kleidung online bestellen

Anonymous said...

With havin so much content do you ever run into any issues of plagorism or copyright infringement?
My site has a lot of completely unique content I've either authored myself or outsourced but it appears a lot of it is popping it up all over the web without my agreement. Do you know any solutions to help stop content from being stolen? I'd definitely appreciate it.
Also visit my website ... search engine optimization marketing

Anonymous said...

What a material of un-ambiguity and preserveness of valuable experience about unpredicted feelings.
Also visit my blog : how to make money on clickbank

Anonymous said...

Keep on working, great job!
Here is my homepage : travel agency

Anonymous said...

Thanks for finally writing about > "svchost.exe Hangs and Automatic Update hangs" < Liked it!
Here is my web site ... beitrag private krankenversicherung

Anonymous said...

It's amazing to pay a visit this website and reading the views of all colleagues regarding this article, while I am also eager of getting know-how.
Also see my web page > Cheap Web Hosting Package

Anonymous said...

Thanks for your marvelous posting! I certainly
enjoyed reading it, you're a great author.I will ensure that I bookmark your blog and may come back from now on. I want to encourage that you continue your great job, have a nice holiday weekend!
My web site ... jack and jones online outlet

Anonymous said...

Oh my goodness! Impressive article dude! Thank
you so much, However I am experiencing problems
with your RSS. I don't know the reason why I can't join it.
Is there anybody getting identical RSS problems?
Anybody who knows the solution will you kindly respond?
Thanx!!
Feel free to visit my blog post ... kredit trotz insolvenzverfahren

Anonymous said...

These are genuinely impressive ideas in on the topic of blogging.
You have touched some nice points here. Any way keep up wrinting.


My weblog Recommended Online site

Anonymous said...

Hello, yes this article is actually pleasant and I have learned lot of things from it regarding blogging.
thanks.

Also visit my web-site :: free web hosting php
my web page: crbone.Info

Anonymous said...

Admiring the persistence you put into your blog and in depth
information you provide. It's awesome to come across a blog every once in a while that isn't the same unwanted rehashed material.

Wonderful read! I've saved your site and I'm including your RSS feeds to my Google account.


My web blog: all inclusive last minute deals

Anonymous said...

Outstanding quest there. What occurred after? Good
luck!

My web-site - visit the next page

Anonymous said...

Hey! This is kind of off topic but I need some guidance from an established
blog. Is it hard to set up your own blog? I'm not very techincal but I can figure things out pretty fast. I'm thinking
about making my own but I'm not sure where to start. Do you have any ideas or suggestions? With thanks

Here is my blog :: refinance house with bad credit

Anonymous said...

Hey! This is kind of off topic but I need some guidance from an established blog.
Is it hard to set up your own blog? I'm not very techincal but I can figure things out pretty fast. I'm thinking about making my own but
I'm not sure where to start. Do you have any ideas or suggestions? With thanks

Stop by my web site; refinance house with bad credit

Anonymous said...

Great article, just what I was looking for.

my blog ... Make money online now

Anonymous said...

Highly energetic post, I loved that a lot. Will there be a
part 2?

Check out my web page gesetzliche krankenkasse beitragssatz

Anonymous said...

You actually make it seem so easy along with your presentation however
I in finding this topic to be really one thing which I think I
would by no means understand. It seems too complicated and
very wide for me. I'm taking a look ahead on your subsequent publish, I'll
try to get the hold of it!

Feel free to visit my web blog - hostgator Recommendations

Anonymous said...

What are the most popular blog sites in the Philippines where I can submit my blogs for others to read?
[url=http://bonus365de.blogspot.com/]bet365 bonus[/url] [url=http://bonus365dk.blogspot.com/]bet365[/url]
[url=http://bonusron.com/]bet365[/url] [url=http://bonus365dk.blogspot.com/]bet365 bonus[/url]

Anonymous said...

Amazing spot, I know I will be back soon

Visit my website :: how can you get a home loan with bad credit

Anonymous said...

Hi, I don't comprehend that, if the place of their own RSS reader. Can you assistance please:)

Feel free to surf to my page - mlm affiliate

Anonymous said...

Amazing blog! Do you have any recommendations for aspiring writers?
I'm planning to start my own site soon but I'm a little
lost on everything. Would you propose starting with a
free platform like Wordpress or go for a paid option? There are so many choices
out there that I'm completely confused ..
Any suggestions? Thanks a lot!

Feel free to surf to my webpage: flappy bird cheat

Anonymous said...

Hi there very cool site!! Guy .. Beautiful ..
Amazing .. I will bookmark your blog and take the feeds additionally?
I am satisfied to find numerous useful information right here within the submit, we'd like
work out more strategies on this regard, thank you
for sharing. . . . . .

My blog xbox live gold codes gratuit

Share Links