Question Locked

Rerun program on end task

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hello,
Does anyone know of a way to have a program automatically restart itself when its process is killed in task manager?
I work in a net cafe, and have a problem with people killing the client we use to monitor systems. I have disabled task manager, however, they seem to have found another way around that.
We use windows xp. Any help or suggestions would be great!

Thanks.

2 replies

by symon.l

Just add it to XP's services, see if that helps.. you can create your own services in the command promt.

Creating Services =
Adding Service (Note: Space between binpath= and "C:\ has to be there.
\sc.exe create "Service Name" binPath= "C:\Your Program.exe"

Removing Service =
\sc.exe delete "Service Name"

Controlling Services =
Starting Service
\sc.exe start "Service Name"
Pausing Service
\sc.exe pause "Service Name"
Stoping Service
\sc.exe stop "Service Name"

Hope this helps.

This discussion is closed to new replies.