Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > taskkill command

Reply
Thread Tools Display Modes

taskkill command

 
 
J Lunis
Guest
Posts: n/a

 
      08-26-2010
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?
 
Reply With Quote
 
 
 
 
John John - MVP
Guest
Posts: n/a

 
      08-26-2010
J Lunis wrote:
> 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
 
Reply With Quote
 
J Lunis
Guest
Posts: n/a

 
      08-26-2010
John John - MVP wrote:
> J Lunis wrote:
>> 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


Nope, not listed there or in MSCONFIG|services. It is listed under
MSCONFIG|Startup
 
Reply With Quote
 
John John - MVP
Guest
Posts: n/a

 
      08-26-2010
J Lunis wrote:
> John John - MVP wrote:
>> J Lunis wrote:
>>> 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

>
> 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
 
Reply With Quote
 
John John - MVP
Guest
Posts: n/a

 
      08-26-2010
J Lunis wrote:
> John John - MVP wrote:
>> J Lunis wrote:
>>> 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

>
> Nope, not listed there


Try:

tasklist /svc

John
 
Reply With Quote
 
John John - MVP
Guest
Posts: n/a

 
      08-26-2010


J Lunis wrote:
> John John - MVP wrote:
>> J Lunis wrote:
>>> 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

>
> Nope, not listed there or in MSCONFIG|services.


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

John
 
Reply With Quote
 
J Lunis
Guest
Posts: n/a

 
      08-26-2010
John John - MVP wrote:
> J Lunis wrote:
>> John John - MVP wrote:
>>> J Lunis wrote:
>>>> 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

>>
>> 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


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

 
Reply With Quote
 
John John - MVP
Guest
Posts: n/a

 
      08-26-2010
J Lunis wrote:
> John John - MVP wrote:
>> J Lunis wrote:
>>> John John - MVP wrote:
>>>> J Lunis wrote:
>>>>> 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
>>>
>>> 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

>
> 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
 
Reply With Quote
 
J Lunis
Guest
Posts: n/a

 
      08-26-2010
John John - MVP wrote:
> J Lunis wrote:
>> John John - MVP wrote:
>>> J Lunis wrote:
>>>> John John - MVP wrote:
>>>>> J Lunis wrote:
>>>>>> 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
>>>>
>>>> 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

>>
>> 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


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.)
 
Reply With Quote
 
John John - MVP
Guest
Posts: n/a

 
      08-26-2010
J Lunis wrote:
> John John - MVP wrote:
>> J Lunis wrote:
>>> John John - MVP wrote:
>>>> J Lunis wrote:
>>>>> John John - MVP wrote:
>>>>>> J Lunis wrote:
>>>>>>> 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
>>>>>
>>>>> 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
>>>
>>> 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

>
> 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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MS-DOS Command Prompt for Vista Hal Windows Vista General Discussion 24 12-30-2009 10:41 PM
Run Vista legally for at least one year/ Vista Activation doesn't stop Piracy Chad Harris Windows Vista Installation 56 12-25-2008 01:34 PM
BSoD at Windows Vista during shutdown/restart! PLEASE HELP! g33k Windows Vista Performance 4 07-26-2007 04:19 PM
Stop Error 0x0000007b Louis LeBrun Windows Vista Installation 17 07-05-2006 09:00 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59