Re: windows services question
- From: "anton bassov" <soviet_bloke@xxxxxxxxxxx>
- Date: 18 Dec 2006 16:32:09 -0800
I was under the impression that an application running as a windows service
would not appear under the "Processes" tab of the Windows Task Manager
Only if Task Manager runs under the account that does not have Admin
rights....
I want to avoid the user possibly killing
the process, I dont mind if they stop it from the service manager I just dont
want them killing it from the task manager.
Well, they would be unable to kill a service process from the Task
Manager, because
services run under the LocalSystem account, so that other users cannot
open a handle
with "terminate" access to it. Task Manager does not seem to do
anything in order to assign itself the token of a system account even
if it runs under the account with Admin rights, so that users would be
unable to terminate a process via it.
However, if some third-party application that runs with Admin rights
assigns itself
the token of a system account, it will be able to terminate the service
process, and there is nothing that you can do about that.
In general, you should just accept the fact that Admins can do whatever
they like on their machines, and there is nothing that you can do about
it - the only "software" that tries to stand in their way is generally
known as a MALWARE
Anton Bassov
danerider wrote:
I was under the impression that an application running as a windows service
would not appear under the "Processes" tab of the Windows Task Manager. I
noticed that a service I created shows up. Is there a property that I need to
set so that it does not show up? I want to avoid the user possibly killing
the process, I dont mind if they stop it from the service manager I just dont
want them killing it from the task manager.
thanks in advance for any help
.
- Follow-Ups:
- Re: windows services question
- From: Larry Smith
- Re: windows services question
- Prev by Date: Re: Saving lots of files....
- Next by Date: Re: Saving lots of files....
- Previous by thread: Re: Setup API and serial ports
- Next by thread: Re: windows services question
- Index(es):
Relevant Pages
|