Ensure a process is running on a remote computer
- by awilinsk
We have about ten client computers ranging from Windows XP to Windows 7 that have a little program that runs in the tray. This program needs to be running at all times and sometimes it either crashes or a user exits the program. We would like to be able to check every hour or so to see if this program is running. If it is not running, it should be started.
I have tried using powershell on one of our servers to get the process from a remote computer and if it doesn't find it, to start it. But, that fails because it cannot start the process as an interactive user.
I tried setting up a task in task scheduler, but Windows XP task scheduler is not very good or configurable.
We would like this to be as easy to administer as possible. What would be the best way to do this?