SVCHOST.exe – What is it and why are there so many of them?

2009 May 10
by Andy

I get asked this a lot.  When you run Task Manager in XP and look at the process list, you see tons of svchost.exe processes running.  You can’t kill them (you don’t really want to) and there’s no obvious reason that there are so many of them.

What are they?  Microsoft describes them like this:

“Svchost.exe is a generic host process name for services that run from dynamic-link libraries (DLLs).”

Helpful isn’t it?  Simply put, you can’t run a DLL without a host program.  Since Microsoft needs to run lots of different services that are DLL’s, it created a generic host executable to run them – svchost.exe.  There are lots of instances of svchost for a couple of reasons.  First and foremost, redundancy.  If all of the OS DLL’s were under one process alone, if any one of them crashed the host process, the entire operating system would crash.  Second, Microsoft likes to logically group similar services under similar hosts.

So how do you see what’s what?  There are a couple of ways.  In XP, there is a command line utility to view process information.  Run tasklist /SVC from a command line.  The output looks like this:

tasklist1

If you are running Vista or Windows 7, the Task Manager is much more helpful.  You can right click on a svchost process, then choose “Go to Services”.  This will open the services tab and highlight the related services.

There is a great utility called svchost viewer that shows you the services for each svchost process in a nice, easy to read tree view.  Download the program here.  Thanks to HowToGeek for the tip.

svchostviewer

Add to Del.cio.us RSS Feed Add to Technorati Favorites Stumble It! Digg It!
    www.sajithmr.com

Blog Traffic Exchange Related Posts
  • iPhone 3.0 installed I've been using the iPhone 3.0 software for a couple of days now and other than a minor installation glitch (my fault) the upgrade was painless.  Everything seems to work as advertised, and so far, I like what I see. WiFi improvements - One of the things that really bugged......
  • Conflicker - I mean, seriously If you don't already know, conflicker is a worm that exploits a buffer overflow in the windows server service.  The worm is wiley - there are several hundred variants and it is difficult to know how widespread it is.  You can find more info on the Wiki or on the......
  • Growl for Windows Growl v2.0 beta 18 was recently released for Windows - should you care?  If you are like most people, it is getting harder and harder to keep up with everything happening around you on the web.  Twitter, facebook, email, calendar, IM - the draws on your attention are almost overwhelming. ......
  • Remote reboot from MMC Have you ever needed to reboot a machine remotely? This is easy to do via MMC, the Microsoft Management Console. In XP, do the following. 1) Right click the My Computer icon and choose manage to bring up the MMC. 2) From there, go to the Action menu and choose......
  • Outlook for the iPhone? eWeek is reporting that a Microsoft Executive, Stephen Elop, while speaking at the Web 2.0 Expo hinted that Microsoft will eventually release a version of the Office suite for mobile devices, specifically the iPhone.  I think this is important for a couple of reasons.  It further emphasizes MS' current move......
Blog Traffic Exchange Related Websites
  • How to Remove ProtectPCs | ProtectPCs Removal Guide ProtectPCs is a rogue antivirus application from the Wini family of rogues. It will push itself through claims of it being a video codec update or flash player update. Usually these appear on a site that shows up in the search results for whatever latest greatest sought after video clip......
  • Proper Steps to Minting Coins Coins have been considered one of the main forms of currency around the world for a considerable amount of years. These items of payment can be found made of various types of alloys with gold and silver being primary selections by most mints. Usually, more often than not, you will......
  • Is Running Really Ideal for Burning Fat? [/caption] Running is a tough exercise. Don't believe me? Go out and get ten kilometers under your belt. If you haven't been running for a while, you realize how daunting this is even after the first few minutes. An exercise so difficult and so constant must really burn the fat,......
  • How to Remove Malware Defense | Malware Defense Removal Guide Malware Defense (or malware defence) is a rogue antivirus application that will install itself on your system and then claim that there are many security problems and even viruses on your system. It will claim that it can fix these problems (for a price) and may prevent you from downloading......
  • Timing Home Improvement Service Properly With the economy in the shape it currently is in, any money that you can save through the completion of handyman projects at home is definitely going to be welcome money at this point in time.  That having been said, one way in which you can save money on different......
No comments yet

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS