What does the svchost.exe process do?

34

7

On all Windows machines there seem to be a number of svchost.exe processes running. What do this processes do and why are so many running?

Jonas Pegerfalk

Posted 2009-08-01T17:22:49.953

Reputation: 981

3+1 Funny so few people bother to upvote a good question ;-) – Ivo Flipse – 2009-08-01T19:28:22.693

There is a duplicate at ServerFault: http://serverfault.com/questions/11402

– Peter Mortensen – 2009-08-09T20:40:51.907

Answers

33

I've written a lengthy explanation of what this process is, and how to figure out what each one of them does.

The bottom line is that svchost is a process that contains all of the Windows services. Since there are many Windows services, there are also many instances running.

What is svchost.exe And Why Is It Running?

The easiest way to check on these is to use Process Explorer:

alt text

The How-To Geek

Posted 2009-08-01T17:22:49.953

Reputation: 5 482

7Why...you...little... You beat me by 20 seconds, and used the exact same link! – Dan Walker – 2009-08-01T17:37:06.940

3=) I'll give your answer an up-vote too! – The How-To Geek – 2009-08-01T17:38:10.150

11

svchost is the process which runs all the services on your computer. Each service that runs gets its own copy of svchost, which is why there are so many copies running.

The How To Geek has some more detailed information.

Dan Walker

Posted 2009-08-01T17:22:49.953

Reputation: 8 869

2Many instances of svchost contain more than just one service, so not every service gets its own host. Also there are still services that live in their own, individual, non-svchost process. – Joey – 2009-08-01T18:31:49.303

@Johannes Rössel: there is a way to let each service have each own svchost: http://serverfault.com/questions/2786/finegrain-performance-reporting-on-svchost-exe/17636#17636

– Peter Mortensen – 2009-08-09T20:45:21.987