Re: windows services question



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

.



Relevant Pages

  • Re: Stop Explorer.exe
    ... Yes but it says in Task Manager that the process was started ... It was probably started with system account privileges. ... > Dave Patrick ....Please no email replies - reply in newsgroup. ... I was logged on locally with the admin ...
    (microsoft.public.win2000.general)
  • Re: Task Manager
    ... it will be really hard to help you out if you are not able to change registry on the device. ... > Many thanks - the account concerned is the pc admin account, ... > non-administrator limited accounts get the normal Task Manager app while all ... I just want the normal Task Manager screen back - please help! ...
    (microsoft.public.windowsxp.embedded)
  • Re: Task Manager
    ... Many thanks - the account concerned is the pc admin account, ... non-administrator limited accounts get the normal Task Manager app while all ... I just want the normal Task Manager screen back - please help! ...
    (microsoft.public.windowsxp.embedded)
  • Re: internet explorer sporadicaly crashes in certain accounts after SP
    ... > time in my wife's account but then will lock up. ... > listed in the process tab of task manager and nothing out of the ordinary ... if you keep trying to open internet explorer a new instance ... I have turned off the new firewall because I have a third ...
    (microsoft.public.windowsxp.general)
  • Re: Annoyance - not enough memory???
    ... Worse yet, when I click on the "x" to close it out and restart, it still is running ... according to Windows Task Manager so I have to manually shut it off. ... If I choose to try another account the program flat disappears ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)