svchost.exe & tasklist

D

dave

The list of processes for winxp on my computer shows that four svchost.exe
are running. I found KBA 314056 and followed the directions to view the
lists of services by typing "Tasklist /SVC" on the CMD line but the response
back is: tasklist is not recognized as an internal or external command, etc.

Is this command only valid for winxp pro? If so, is there another command
or method to view the list of svchost services for winxp home?

David
 
W

Wesley VogelX

David;
Yes for Pro. Unless..... You download and install Tasklist.exe here:
http://www.computerhope.com/download/winxp.htm
Enables Windows XP Home and Windows XP Professional users to view complete
information about the services running on their computer. Additional
information about the available commands can be seen by typing "tasklist /?"
Start/Run/cmd/OK tasklist /svc | Enter
Worked for me. I got the tip from Paul H.
 
D

dave

Thanks,

I downloaded the file but where do I install it? I clicked on it but it
just flashed. I ran cmd/tasklist with the "tasklist is not recognized as an
internal or external command, etc" message. I did a google search and did
not see how to link tasklist.exe into cmd.

David
 
D

dave

I moved tasklist.exe to c:\ and then ran it from the c:\ prompt. Is that
the right location for it?

David
 
D

davetest

I moved tasklist.exe to c:\ and then ran it from the c:\ prompt. Is that
the right location for it?

David
It actually lives in c:\windows\system32, but it's location
is not critical. In the sense that it's system related,
probably just as well to move it over.

Dave
 
W

Wesley VogelX

Dave;
You bet.
I forgot that I had the same problem. Sorry. I can't find my notes and I
don't remember everything that Paul told me, but....
Start | Run | cmd | OK
type: set | Enter
Look for>>Path
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
What your looking for is>>
C:\WINDOWS\system32
 
D

dave

Thanks to both of you. Works fine.

David


Wesley VogelX said:
Dave;
You bet.
I forgot that I had the same problem. Sorry. I can't find my notes and I
don't remember everything that Paul told me, but....
Start | Run | cmd | OK
type: set | Enter
Look for>>Path
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
What your looking for is>>
C:\WINDOWS\system32
-----
Right click My Computer | Properties | Advanced tab | Environment Variables
button | Path shows up here under: System Variables. Anyway....
----
Paul said tasklist.exe needs to live at C:\WINDOWS\system32
---
Move tasklist.exe to>> C:\WINDOWS\system32 Now it should work for you.
--
Hope this helps. Let us know.
Wes

In
 
A

Alex Nichol

dave said:
The list of processes for winxp on my computer shows that four svchost.exe
are running. I found KBA 314056 and followed the directions to view the
lists of services by typing "Tasklist /SVC" on the CMD line but the response
back is: tasklist is not recognized as an internal or external command, etc.

Is this command only valid for winxp pro? If so, is there another command
or method to view the list of svchost services for winxp home?

Not in the Start run - but in a run of Cmd, eg All Programs -
Accessories - Command Prompt. Give the command to that prompt. If that
does not find the command, then look for the tasklist.exe, which ought
to be in windows\system32 *and* in dllcache. If you rename the one in
system32 it should be replaced in seconds from the cache - if it is only
in the cache copy that one over, if neither, use a run of MSConfiog.exe
and expand button on the front page, to expand tasklist.ex_ from the CD
in folder \i386 as windows\system32\tasklist.exe
 
W

Wesley VogelX

Alex;
Thank you for your reply. You have me a little confused. Not that hard to
do. tasklist.exe is not available on XP Home. I had to download it. Maybe you
don't have access to a copy of XP Home. I have, on your advice, placed a copy
of tasklist.exe in C:\WINDOWS\system32\dllcache. Besides the copy I had already
placed in C:\WINDOWS\system32.
-----
D:\I386\
TASKBARP.CH_
TASKMAN.EX_
Now, tasklist.ex_ alphabetically would fall between the two items above. Not
there.
===
Microsoft Knowledge Base Article - 314056
A Description of Svchost.exe in Windows XP
The information in this article applies to:
Microsoft Windows XP Professional
<snip>
To view the list of services that are running in Svchost:
Click Start on the Windows taskbar, and then click Run.
In the Open box, type CMD, and then press ENTER.
Type Tasklist /SVC, and then press ENTER.
<snip>
===
Wes

In
 
D

dave

Wes,

You beat me to it. I was going to sent the same type of reply to Alex. I
did try the accessories/command prompt method before my first post as well
as start/run/cmd. As I said before, works fine for me now.

Thanks, David
 
W

Wesley VogelX

David;
You bet. It doesn't matter what route you take to get to the Command
Prompt.
I have shortcuts at the following:
C:\Documents and Settings\me\SendTo
C:\Documents and Settings\Default Users\Start Menu\Programs\Accessories
C:\Documents and Settings\All Users\Start Menu\Programs\Accessories
C:\Documents and Settings\All Users\Start Menu\Programs\Windows Support Tools
C:\Documents and Settings\me\Start Menu\Programs\Windows Support Tools
C:\Documents and Settings\me\Programs\Accessories
C:\Documents and Settings\Administrator\Programs\Accessories
C:\WINDOWS\system32\config\systemprofile\Start Menu\Programs\Accessories
They are all shortcuts to: %SystemRoot%\system32\cmd.exe =
C:\WINDOWS\system32\cmd.exe. You can even double-click cmd.exe
 
W

Wesley VogelX

Hi David;
I wrote a really neat reply yesterday. Somehow, it did not get sent and it
got deleted. :-( It does not matter which shortcut you use to get to cmd.exe.
You can double-click cmd.exe, if you want. I have about eight shortcuts. I
even have it on my right click menu.
Keep having fun.
 
D

dave

Wes,

There are two good replies from you on 11/19. The last one at 12:34pm lists
all 8 of your shortcuts.

Your pointing me to a download for tasklist.exe and then where to place it
worked fine. Tasklist helped me figure out which services were running in
svchosts. After reviewing the list at Black Viper, I have shut some down.

David
 
W

Wesley VogelX

Hi David;
Well, I still don't see my reply at 12:34pm on 11/19. I don't need to see
it, I just wondered what the hell happened to it. No matter, you saw it, that
was the point. Yeah, The Black Viper has some good advice.
Another place to check out for info on Services is:
http://www.beemerworld.com/tips/servicesxp.htm

Ever since I installed XP, I have been screwing around with starting and
disabling Services on my machine. I think I might have it tuned now. I have it
down to the minimum of services running and I don't get any spurious errors in
the Event Viewer.
Keep having fun.
 
A

Alex Nichol

Wesley said:
Alex;
Thank you for your reply. You have me a little confused. Not that hard to
do. tasklist.exe is not available on XP Home. I had to download it. Maybe you
don't have access to a copy of XP Home.

That's a surprise to me - though there are various other tools that are
seen as appropriate to Pro only (notably gpedit.msc and its support). I
do have a Home system around, but would not think of booting it to check
a point like that
 
W

Wesley VogelX

Alex;
If I had Pro, I wouldn't boot Home either. ;o) They've got to take
something out of the 'lite' version.
Wes

In
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top