How to find what’s running under SVCHost.exe
My PC was behaving sluggishly the other day. I tried to be patient, but had to fire up the task manager when I could bear it no longer. That’s when I noticed great gobs of my swap file allocated to “SVCHOST.EXE”:
The problem is, SVCHOST is a catch all windows service container. Meaning, many windows services run under the same instance of SVCHOST. How was I going to figure out which services might be the culprit?
Enter the tasklist command.
Tasklist displays info about running tasks, including SVCHOST.
Simply running tasklist at the command prompt displays a laundry list of all running processes. This wasn’t going to do it, so I ran it with the “/?” switch to try and find how to narrow the info…
/SVC Displays services hosted in each process.
/FI filter Displays a set of tasks that match a given criteria specified by the filter.
Looks good so far, now I need to know what filter to apply:
Filters:
Filter Name Valid Operators Valid Value(s)
----------- --------------- --------------------------
IMAGENAME eq, ne Image name
OK, this gives us:
“C:\>tasklist /svc /FI “IMAGENAME EQ SCVHOST.EXE”
But it seems the filter is case sensitive, because when I run that command, I get this:
INFO: No tasks are running which match the specified criteria.
So, switching to lower case gives me what I want:
“C:\>tasklist /svc /FI “IMAGENAME EQ svchost.exe”
Image Name PID Services =========== ===== ======================= svchost.exe 744 DcomLaunch svchost.exe 844 RpcSs svchost.exe 888 AeLookupSvc, AppMgmt, AudioSrv, BITS, Browser, CryptSvc, dmserver, EventSystem,lanmanserver, lanmanworkstation, Netman, Nla, RasMan, Schedule, seclogon, SENS,ShellHWDetection, Themes, winmgmt, wuauserv svchost.exe 928 Dhcp, Dnscache svchost.exe 976 LmHosts, W32Time svchost.exe 1772 Net Driver HPZ12 svchost.exe 1816 Pml Driver HPZ12 svchost.exe 2424 TermService svchost.exe 3312 TapiSrv svchost.exe 2688 W3SVC
From there, it’s just a matter of shutting down or restarting each of the services listed under the process id 888 ( I got this from taskmanager).
Related Posts - Annoying "next message" behavior in Thunderbird, and how to stop it! I love the Thunderbird email client. I use the portable version on my thumb drive, but one thing has always bugged the hell out of me when I use it:...
- The 3 Most Important Questions You Should Ask About Each Bug You Find. I stumbled upon (quite literally) an article by Tom Van Vleck titled Three Questions About Each Bug You Find today, and thought I would share it: "The key idea behind...
- Lessons in Software Development From the Apollo Moon Missions. Monday was the 40th anniversary of the Apollo 11 lunar landing. The story of the Apollo program is an historic and inspirational one, but it's also relevant to software development....
- Free Firewall Recommendations (Protect Yourself Online With These Free Firewalls) If your home computer is connected to the internet, or to other computers that are connected to the internet - you need a firewall. It's as simple as that. Hackers...
- Dude, Where's my Folder treeview?! After a wee bit O' overzealous registry cleaning last week, I had a minor panic. Well, a picture being worth a 1000 words, here's what I saw when I opened...
Related Websites - Toshiba TG01 – What More One Can Expect? The perfect way for describing the new Toshiba TG01 will be âbeyond expectationsâ. The three most important things to be noticed about this marvelous piece of technology are the fact that, it has the largest screen in the industry at 4.1 inches, has the fastest processor in the form of......
- Review Me This is a "Sponsored Post" for the Review Me website. What a great idea for a creating a win-win situation for promoting a service or website reviews used as an promotional tool where you bring advertisers and bloggers together by giving them both a place to share their thoughts critiques about each other......
- The Unmatched Windows XP Broadband - Cable Tweaks Guide Does your connection crawl? I bet it does buddy, just try these few simple tweaks, lets get you fixed today. The following tweaks and modifications are the ones I personally perform to my Cable connection after fresh installing windows.Note-This Guide works with DSL and Cable Connections!The first thing I......
- Top 10 - SEO Do's & Don'ts SEO Do's Create a Useful, Content-Rich Website Properly Optimize Your Website Pages Have Relevant Websites Link to Your Website Analyze and Understand Your Website Statistics Revise Optimization Based on Feedback Create a Long-Term Content Strategy or Plan Do Learn Patience, Search Engine Success Takes Time Understand What Will and Will......
- SVCHOST.exe - What is it and why are there so many of them? 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? ......

