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
  • 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......
  • Application Virtualization with ThinApp (formerly Thinstall) I don't know why this is not getting more attention.  VMware and Landesk's Thinstall (now called ThinApp) has been out for close to two years now and I continue to be surprised that it is not more widely adopted. It is a great product that really lives up to the......
  • Bypass the Recycle Bin in XP I have a love hate relationship with the Recycle Bin.  When I need it, I'm glad its there, but for the most part it is just a pain in the rear.  Most people forget to empty it (don't we all hate taking out the trash?) and end up with loads......
  • How do I boot into Safe Mode? If you are fighting a virus/malware on your computer, it is best to boot in safe mode before you start removing things and running scans.  If you don't, it is likely that the malware will likely just re-install itself.  I'm not going to go into a whole tutorial on virus......
  • Dual core processors for mobile devices? ARM dual core chips for iPhone, Palm Pre next year CNET is reporting that ARM, the company responsible for designing the architecture behind most mobile comuting CPU's said  that mobile phone makers will be delivering devices that run on ARM"s latest dual core CPU's as early as next year. They are referring to the ARM Cortex-A9 MPCore application processor.  According......
Blog Traffic Exchange Related Websites
  • Pushing Above Our Upper Limits How To Remove Sabotaging Money Habits You may not realize that you are running a self sabotaging program, just like you may not know that your computer is running a virus. Unless you buy an anti-virus program and complete a system scan, you will not be able to get rid of that computer virus. What anti-virus......
  • Weakonomics Weekend Edition: Web Hosting Edition My contract with my current hosting provider is just about to expire, and I'm pretty sure I'm moving on to someone new. If you've never had a website before, you may not be familiar with an internet host, or web host.  A web host offers a the service of keeping......
  • 5 essential tasks to minding your online business Did you miss me?  I sure missed me.  I was down for at least 130 hours -- over five days.  (Not that I was counting or anything.) Why was I down for this long?  It would be easy to blame my web hosting company or blame lousy customer care, but......
  • 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......
  • Windows Mobile, iPhone, Android - Marketplace Comparison Detailed comparison between Windows Mobile Marketplace, Apple's iPhone AppStore and Android Market from developer point of view. By: Predrag Tomasevic (Click for bigger image) Introduction The article you are about to read is my compilation of thoughts on three currently most popular and talked about mobile platforms, sparked by whole......
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