Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

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.

share|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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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