Re: undestroyable process



"azsx" <radu_plugaru@xxxxxxxxx> wrote in message
news:1162245761.096262.307420@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
run the process under the administrator account
an administrator could stop a process, right? that's not good.

make it a system service
a system service can't be shutdown? If pozitive then how can I make it
a system service?


An administrator can do *anything* to his machine. It is impossible to stop
him killing/shutting down processes. You can think up the best 'trick' you
can to stop him doing it - but you will still fail. If you want to stop
people shutting down your process, then do *not* give them administrive
rights to your computer system. There is *no other way* to make this work.
So, my answer again:

Run the process under the administrator account. It can be a regular
process, or a system-service (which only admin can start/stop). Do *NOT*
give administrator rights to anyone that you don't trust with your system's
security.

You started this topic on another forum and got the exact same response -
people's answers aren't going to change no matter how many times you ask.

--
James Brown
Microsoft MVP - Windows SDK
www.catch22.net
Free Win32 Tutorials and Sourcecode





.



Relevant Pages

  • Re: undestroyable process
    ... What about referencing application's main thread (i.e.opening its ... without terminating a session ... a system service can't be shutdown? ... An administrator can do *anything* to his machine. ...
    (microsoft.public.win32.programmer.kernel)
  • How to terminate / disable a system service
    ... There is a system service which needs to be disabled, ... I have tried logging in as administrator and even then ... The Stop / Pause option for the service is grayed out. ...
    (microsoft.public.win2000.general)
  • How to terminate / disable a system service
    ... There is a system service which needs to be disabled, ... I have tried logging in as administrator and even then ... The Stop / Pause option for the service is grayed out. ...
    (microsoft.public.win2000.security)
  • Re: Normal user login now logs off immediately [w/o administrator
    ... none of my users (all with administrator rights) can ... "WTC" wrote: ... Right click on MountedDevices and select "Permissions". ...
    (microsoft.public.windowsxp.general)
  • RE: Script or Other Method to Reboot
    ... > We need different privileges when using Shutdown command and shutdown the ... > that only administrator will use command to shutdown the computers. ... > we may need to compile the script. ...
    (microsoft.public.windowsxp.configuration_manage)