Re: tsmmc.msc and process failure on logoff
- From: "Priya Raghavan [MSFT]" <priyadr@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 7 Feb 2007 04:22:36 -0800
Does "sc query <service name>" show the service status as "running" ?
You can also use this command:
tasklist /svc
to see in which process id is the service still running after the original process terminated.
--
Thanks,
Priya.
TS Team Blogs:
http://blogs.msdn.com/ts/
This posting is provided "AS IS" with no warranties, and confers no rights.
"Aaron" <Aaron@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:A0BDDF8B-F163-49A5-B6A5-427EF0301B26@xxxxxxxxxxxxxxxx
Thanks for getting back to me....
The service is running under the SYSTEM account. Also, it doesn't matter
who starts the service, as soon as anyone logs on to a console session on the
server and logs off the process in task manager shuts down... but the service
remains listed as started.
As this is a 3rd party service running under SYSTEM could it be down to the
installed service not some sort of security permission or right that causes
the process to shutdown when a log off is performed?
Also, this is a Windows 2003 Server which may help.
Aaron
"Priya Raghavan [MSFT]" wrote:
Hi,
What is the user account under which this service is started ? If it is
running under the user name of the console session, then when the console
session logs off, this service/process will also be terminated.
You can check the user account as follows: (when the process is running)
Open task manager
Go to "Process" tab
Check the "user name" for that specific process.
Also, check the user account for the service is the cases where it is still
active when the session is logged off.
--
Thanks,
Priya.
TS Team Blogs:
http://blogs.msdn.com/ts/
This posting is provided "AS IS" with no warranties, and confers no rights.
"Aaron" <Aaron@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:02490130-1B00-4BE3-8925-7A08AF6C2430@xxxxxxxxxxxxxxxx
> We have since identified that it was a console access log off causing > the
> issues, I would still love to know though, why a console log off would
> cause
> a process to terminate.... any ideas are always appreciated :)
>
>
> "Aaron" wrote:
>
>> Hi,
>>
>> I have recently encountered a strange occurence that is occurring when
>> using
>> the tsmmc.msc client that does not occur when using mstsc.exe.
>>
>> We have a process developed by an external agency that runs as a >> service.
>> If I log on to the server using mstsc.exe i am able to stop and start >> the
>> service and when I log off the process remains active. If I do the >> same
>> with
>> tsmmc.msc, as soon as I log off the process shuts down but the service
>> remains active.
>>
>> I believe this purely has something to do with the way the tsmmc.msc >> logs
>> a
>> user off. Even if the service is started remotely from another box, >> as
>> soon
>> as you log off of the tsmmc.msc session the process dies. None of >> this
>> occurs when I use mstsc.exe.
>>
>> Has anyone seen this behaviour before?
>>
>> Many thanks,
>>
>> Aaron
.
- References:
- Re: tsmmc.msc and process failure on logoff
- From: Priya Raghavan [MSFT]
- Re: tsmmc.msc and process failure on logoff
- From: Aaron
- Re: tsmmc.msc and process failure on logoff
- Prev by Date: Re: Disappearing Temp Directory?
- Next by Date: RE: Minimum and recommended specs for Windows Server 2003 Standard
- Previous by thread: Re: tsmmc.msc and process failure on logoff
- Next by thread: Re: Outlook 2003 'hangs' when used through Terminal Services
- Index(es):
Relevant Pages
|