Now Available:

Featured Resource:

line

Newsletter

Email Address:


line

Ask the Expert

Have a question for our resident expert? Email your questions to Greg.

« Extending Client Logging with WSUS | Main | Help the Microsoft Group Policy Team Fix the Explain Text »

Troubleshooting SVCHOST Problems

Microsoft's "Ask the Performance Team" Blog includes a fantastic piece on troubleshooting SVCHOST problems. As you should know, SVCHOST is one of the wrapper processes within which many Windows services are run. The problem with wrapping services in this way is in finding out exactly which service is acting up when problems occur.

From the piece, "The first thing to do is understand which services are mapped to which instance of SVCHOST.EXE. Using the TASKLIST.EXE utility we can determine which services belong to which instance. The command syntax is: tasklist /SVC /FI IMAGENAME eq svchost.exe'."

The result from this command will...

...show you the process ID (PID) associated with the instance of SVCHOST that is related to each service currently running. From there, you can match up that PID with those in Task Manager (or any other troubleshooting tool). Note that the PID column isn't natively presented in Task Manager. Click View, then Select Columns to display it.

Another troubleshooting step can be to isolate the process away from its usual shared SVCHOST instance. Click here to read the full article with further information about how to use the sc command to do this.

TrackBack

TrackBack URL for this entry:
http://www.realtime-windowsserver.com/type/mt-tb.cgi/620

Post a comment

(All comments are approved by site leader before appearing here. Thanks for commenting!)

line

Greg Shields' Bio:

Greg Shields, is an independent author, instructor, and IT consultant based in Denver, Colorado, and a co-founder of Concentrated Technology. With nearly 15 years of experience in information technology, Greg has developed extensive experience in systems administration, engineering, and architecture specializing in Microsoft systems management, remote application, and virtualization technologies. Greg is a Contributing Editor for Redmond Magazine, MCPmag.com, and Virtualization Review Magazine and is the author of five books, including Windows Server 2008:  What’s New / What’s Changed. Greg is also a highly sought-after instructor and speaker, speaking regularly at conferences like TechMentor Events, and producing computer-based training curriculum for CBT Nuggets.  Greg is a recipient of Microsoft "Most Valuable Professional" award with a specialization in Windows Terminal Services.