Home All Groups Group Topic Archive Search About

How can I prevent the user to end my program

Author
29 Aug 2006 2:24 PM
JR
Hi,

I have a programm that user to end with ctrl-alt-del and "end service".
there is an option in the menu and I want the user to use that methode.

Jan

Author
30 Aug 2006 11:34 AM
C-Services Holland b.v.
JR wrote:

> Hi,
>
> I have a programm that user to end with ctrl-alt-del and "end service".
> there is an option in the menu and I want the user to use that methode.
>
> Jan
>
>

There is no way to prevent that. The entire process is just disposed off
without notifying that process. If it were to ask permission and waited
for a response, you could never kill a process that's hung/stuck.


--
Rinze van Huizen
C-Services Holland b.v
Author
6 Sep 2006 4:40 PM
Theo Verweij
Run your service as another user (b.e. localsystem), a normal user can
only kill processes that run on his own account.



JR wrote:
Show quoteHide quote
> Hi,
>
> I have a programm that user to end with ctrl-alt-del and "end service".
> there is an option in the menu and I want the user to use that methode.
>
> Jan
>
>
Author
8 Sep 2006 6:00 PM
JR
Thanks but how can I do that

some demo code if possible

Show quoteHide quote
"Theo Verweij" <tverw***@xs4all.nl> schreef in bericht
news:%23sCUyMd0GHA.328@TK2MSFTNGP06.phx.gbl...
> Run your service as another user (b.e. localsystem), a normal user can
> only kill processes that run on his own account.
>
>
>
> JR wrote:
>> Hi,
>>
>> I have a programm that user to end with ctrl-alt-del and "end service".
>> there is an option in the menu and I want the user to use that methode.
>>
>> Jan