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