Ensure a process is running on a remote computer

Posted by awilinsk on Server Fault See other posts from Server Fault or by awilinsk
Published on 2010-07-13T16:32:21Z Indexed on 2011/01/09 15:54 UTC
Read the original article Hit count: 196

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?

© Server Fault or respective owner

Related posts about Windows

Related posts about windows-xp