Program restart on exit
Author |
Message |
kameleon20
|
Posted: Thu Apr 16, 2009 9:02 am Post subject: Program restart on exit |
|
|
Hello, i'm lookin for something, and i hope it's simple...
I have a program that should restart on exit. It's for mstsc.exe
So basically: Someone has logged in on mstsc.exe and (for example), press the cross in the top.
I have disabled explorer.exe and task manager with Windows XP Professional x32 so users cannot just shut mstsc.exe down and work on on the computer itself.
Now they have to reboot the computer, when mstsc.exe for whatever is stopped.
I don't know anything about programming, i just can't.
Hope some1 can help me with this last problem, so i can use my terminal server set up. |
|
|
|
|
|
Sponsor Sponsor
|
|
|
matt271
|
Posted: Tue Apr 21, 2009 12:46 am Post subject: Re: Program restart on exit |
|
|
make a second program that constantly checks if the first program is running.
have the first program also constantly check the second program is running for extra security.
have the first program run the 2nd program if its not running
and have the 2nd program shut down the comp if the first program is not running
only run the first program at startup and let it run the 2nd program itself. so the 2nd program never starts first |
|
|
|
|
|
|
|