Fox Box
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Fox Box

Free Online Learning Center
 
HomePortalSearchLatest imagesRegisterLog in

 

 What is svchost.exe And Why Is It Running?

Go down 
AuthorMessage
Admin
Admin
Admin


Posts : 16
Join date : 2008-02-02

What is svchost.exe And Why Is It Running? Empty
PostSubject: What is svchost.exe And Why Is It Running?   What is svchost.exe And Why Is It Running? Icon_minitimeMon Sep 08, 2008 10:10 am

What is svchost.exe And Why Is It Running?

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:

What is svchost.exe And Why Is It Running? Image710

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.

Quote :

tasklist /SVC

What is svchost.exe And Why Is It Running? Image711

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.

What is svchost.exe And Why Is It Running? Image712

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

What is svchost.exe And Why Is It Running? Image713
Back to top Go down
https://foxbox.board-directory.net
 
What is svchost.exe And Why Is It Running?
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Fox Box :: Windows Support :: Windows XP & 2000 (Win 5.x)-
Jump to: