Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Program restart on exit
Index -> General Programming
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
kameleon20




PostPosted: 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
Sponsor
sponsor
matt271




PostPosted: 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
Display posts from previous:   
   Index -> General Programming
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: