Thursday, October 16, 2008   
  Search   
 
Register  Login  
Forums  
     Minimize  

Welcome to MeraWindows forums.

Thank you for being at the Microsoft Windows Community Site. You may have to register before posting in forums. It's absolutely free. After registering, you can get all the benefits available to our registered members, you can access our Downloads section, you can participate in contests, etc. You can post in forums in English as well as in Hindi, in fact we encourage you to use Hindi in your posts. If you have any problem with registration or login, please contact us.

     
  


 
  Microsoft Windows Forums  Windows Vista  Customization  What is svchost.exe And Why Is It Running? Know More Here!
Previous Previous
 
Next Next
New Post 7/2/2008 10:15 PM
User is offline techfreak
1091 posts
gizmos4fun.blogspot.com
MW Addict




What is svchost.exe And Why Is It Running? Know More Here! 

You are no doubt reading this article because you are wondering why on earth there are nearly a dozen processes running with the name svchost.exe. You can't kill them, and you don't remember starting them… so what are they?

So What Is It?

According to Microsoft: "svchost.exe is a generic host process name for services that run from dynamic-link libraries". Could we have that in english please?

Some time ago, Microsoft started moving all of the functionality from internal Windows services into .dll files instead of .exe files. From a programming perspective this makes more sense for reusability… but the problem is that you can't launch a .dll file directly from Windows, it has to be loaded up from a running executable (.exe). Thus the svchost.exe process was born.

Why Are There So Many svchost.exes Running?

If you've ever taken a look at the Services section in control panel you might notice that there are a Lot of services required by Windows. If every single service ran under a single svchost.exe instance, a failure in one might bring down all of Windows… so they are separated out.

Those services are organized into logical groups, and then a single svchost.exe instance is created for each group. For instance, one svchost.exe instance runs the 3 services related to the firewall. Another svchost.exe instance might run all the services related to the user interface, and so on.

So What Can I Do About It?

You can trim down unneeded services by disabling or stopping the services that don't absolutely need to be running. Additionally, if you are noticing very heavy CPU usage on a single svchost.exe instance you can restart the services running under that instance.

The biggest problem is identifying what services are being run on a particular svchost.exe instance… we'll cover that below.

If you are curious what we're talking about, just open up Task Manager and check the "Show processes from all users" box:

image

Checking From the Command Line (Vista or XP)

If you want to see what services are being hosted by a particular svchost.exe instance, you can use the tasklist command from the command prompt in order to see the list of services.

tasklist /SVC

image

The problem with using the command line method is that you don't necessarily know what these cryptic names refer to.

Checking in Task Manager in Vista

You can right-click on a particular svchost.exe process, and then choose the "Go to Service" option.

image

This will flip over to the Services tab, where the services running under that svchost.exe process will be selected:

image

The great thing about doing it this way is that you can see the real name under the Description column, so you can choose to disable the service if you don't want it running.

Using Process Explorer in Vista or XP

You can use the excellent Process Explorer utility from Microsoft/Sysinternals to see what services are running as a part of a svchost.exe process.

Hovering your mouse over one of the processes will show you a popup list of all the services:

image

Or you can double-click on a svchost.exe instance and select the Services tab, where you can choose to stop one of the services if you choose.

image

Disabling Services

Open up Services from the administrative tools section of Control Panel, or type services.msc into the start menu search or run box.

Find the service in the list that you'd like to disable, and either double-click on it or right-click and choose Properties.

image

Change the Startup Type to Disabled, and then click the Stop button to immediately stop it.

 image

You could also use the command prompt to disable the service if you choose. In this command "trkwks" is the Service name from the above dialog, but if you go back to the tasklist command at the beginning of this article you'll notice you can find it there as well.

sc config trkwks start= disabled

SOURCE


Gizmos4fun
 
New Post 7/2/2008 10:28 PM
User is offline Rahul Manekari
1066 posts
www.manekari.blogspot.com
MW Addict




Re: What is svchost.exe And Why Is It Running? Know More Here! 

Thanx for sharing it ...

i wanted to know what is "svchost.exe".


Rahul Manekari
Be live with me..Click here
 
New Post 7/2/2008 10:38 PM
User is offline Ramesh
2600 posts
Forum Guru








Re: What is svchost.exe And Why Is It Running? Know More Here! 

It seems that svchost.exe is bakbone of Windows OS...and your post fully explained and clear.

thanx for share


it's my Windows
 
New Post 7/2/2008 11:12 PM
User is offline Vishal Gupta
6202 posts
www.AskVG.com
Ultimate Member








Re: What is svchost.exe And Why Is It Running? Know More Here! 

Yep. "svchost.exe" is a system service and you might see 5-6 instances of it running in background. It varies from system to system. Also double-check the service name. Its svchost.exe not scvhost.exe. scvhost.exe is a virus.


Microsoft Windows MVP

Tweaking with Vishal

How to Use Smiley Code in Forum?
Promote MeraWindows at Your Blog / Site
Read Forum Guidelines
 
New Post 7/3/2008 12:25 AM
User is offline Hari Maurya
1176 posts
www.harimaurya.blogspot.com
MW Addict




Re: What is svchost.exe And Why Is It Running? Know More Here! 

Thnx................

U have clear my one of doubt.


Its My World, Its Mera Windows and I proud to be a MWians
Hari Maurya
Mera Live Status, Click to Talk
 
Previous Previous
 
Next Next
  Microsoft Windows Forums  Windows Vista  Customization  What is svchost.exe And Why Is It Running? Know More Here!


   Get Your Own E-Mail Account @MeraWindows.com Minimize  
New Page 1 New Page 1
Show your cool quotient with @merawindows.com email account