I am an IT administrator. I have a user that uses a digital dictation device. The device requires that the docking software always be running in the background. However, I can't stop the user from accidentally closing the program.

Is there a way in windows I can configure the program to automatically relaunch if it is closed?


The simplest solution would be to write a service that periodically checked that the docking software process was still running and if it wasn't started it again.

Doing it as service would mean that the user would be less likely to stop that.

| improve this answer | |
  • I'm interested in this idea, but i'm not sure how to write a service like that. – user53639 Dec 31 '10 at 16:40
  • @user53639 - search on Stack Overflow. I'm sure the question has come up there before. The simplest way might be to type your question title "How do I write a service to automatically restart a program" and check the list of questions it suggests. If non answer your question ask your own. – ChrisF Dec 31 '10 at 16:43
  • Older versions of Windows had optional utilities (Instrsrv.exe and Srvany.exe) in their Resource Kits that allowed you to run user applications as sevices. Even if there are no Win 7 equivalents, you might still be able to get and use the older versions if you can find them -- search for the "Windows NT Resource Kit". – martineau Dec 31 '10 at 18:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.