Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hi i have this search application that runs on my server. it indexes web pages and provides a search server for me to query the results. Kinda like GSA but free.

i have to restart the search server occasionally. the problem is this search server is started by admin account(it gets started with task scheduler). i can remote into it with my own account and start the search server. but as soon as i log out, the search server would close. i need to keep the search server running indefinitely.

what is the best way to deal with this situation?

share|improve this question
up vote 4 down vote accepted

You could try having an admin create a Windows service for it using the sc command. Then the service manager mechanisms for restarting the process and whatnot would be available. Have a look here.

share|improve this answer
damn good stuff – Funky Dude Aug 7 '12 at 21:01

Your Answer


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.