taskkill command

J

J Lunis

I hope this is the proper ng.
Vista 32
I want to kill a process running in the SysTray. I have found (I think)
I can use TaskKill to do this through TaskManager. My problem is
actually closing the app.
taskkill returns a message the program can not be found. The program
does not, in fact, appear in tasklist. How do I kill the program?
 
J

John John - MVP

J said:
I hope this is the proper ng.
Vista 32
I want to kill a process running in the SysTray. I have found (I think)
I can use TaskKill to do this through TaskManager. My problem is
actually closing the app.
taskkill returns a message the program can not be found. The program
does not, in fact, appear in tasklist. How do I kill the program?

It's probably running as a service.

Do:

net start

Do you see it in the list?

If yes you can kill it this way:

net stop "service name"

If you want you can configure these services to not start at all (in the
Services Management Console).

John
 
J

J Lunis

John said:
It's probably running as a service.

Do:

net start

Do you see it in the list?

If yes you can kill it this way:

net stop "service name"

If you want you can configure these services to not start at all (in the
Services Management Console).

John

Nope, not listed there or in MSCONFIG|services. It is listed under
MSCONFIG|Startup
 
J

John John - MVP

J said:
Nope, not listed there or in MSCONFIG|services. It is listed under
MSCONFIG|Startup

If it isn't a matter of national security it might help if you tell us
the name of the thing in question...

John
 
J

John John - MVP

J said:
Nope, not listed there or in MSCONFIG|services.

To open the Services Management Console enter services.msc in the
start menu run box.

John
 
J

J Lunis

John said:
If it isn't a matter of national security it might help if you tell us
the name of the thing in question...

John

Well, none of the guys who work for my Uncle Barack are available so I
guess it's OK. ;) Phone Plus www.imptec.com
It shows in 'tasklist /svc'
It doesn't show in services.msc
 
J

John John - MVP

J said:
Well, none of the guys who work for my Uncle Barack are available so I
guess it's OK. ;) Phone Plus www.imptec.com
It shows in 'tasklist /svc'
It doesn't show in services.msc

Do you want to stop it from automatically starting when Windows starts
or do you want it to start automatically at boot time and just be able
to selectively stop it anytime after it's started?

John
 
J

J Lunis

John said:
Do you want to stop it from automatically starting when Windows starts
or do you want it to start automatically at boot time and just be able
to selectively stop it anytime after it's started?

John

It starts automatically as I want it. Don't want to change that.
I just want to create a task to stop/start it once a day. (My PC is
RARELY shutdown.)
 
J

John John - MVP

J said:
It starts automatically as I want it. Don't want to change that.
I just want to create a task to stop/start it once a day. (My PC is
RARELY shutdown.)

Try it using the SC.exe command.

To verify the service status:

sc query "Service Name"


To query all active services:

sc query type= service


To kill the service:

sc stop "Service Name"


For more help do sc /? at the command prompt.

John
 
J

John John - MVP

How about
pslist

Which should show you the name of the process
pskill

The service in question is hosted inside svchost, pslist doesn't show
these hosted services and pskill can't kill services hosted in svchost.

John
 
J

J Lunis

John said:
Try it using the SC.exe command.

To verify the service status:

sc query "Service Name"


To query all active services:

sc query type= service


To kill the service:

sc stop "Service Name"


For more help do sc /? at the command prompt.

John

I presume I'm looking for a service name of 'phone?' Not listed in the
list of services.
 
J

John John - MVP

J said:
I presume I'm looking for a service name of 'phone?' Not listed in the
list of services.

Under what name does it show up when you use the tasklist /svc command?

John
 
J

John John - MVP

J said:
I presume I'm looking for a service name of 'phone?' Not listed in the
list of services.

Do these commands:

sc query state= all >c:\sc.txt
c:\sc.txt

Look for it in the list and see if it is stoppable.

John
 
J

J Lunis

John said:
Do these commands:

sc query state= all >c:\sc.txt
c:\sc.txt

Look for it in the list and see if it is stoppable.

John

Nope, not listed.command? 'phone.exe,' with 'service' listed as 'N/A"
 
J

John John - MVP

J said:
Nope, not listed.
command? 'phone.exe,' with 'service' listed as 'N/A"

I'm going to have to put a Vista box together to give you more help with
this. I installed the program on an XP box but on XP it runs out of the
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run key and
it runs as a separate process, it seems to be behaving differently on Vista.

John
 

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