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

I need a way to schedule a service so it can only start between certain hours on a Windows machine (Windows Home Server which is roughly W2k3.)

All help gratefully received!

share|improve this question

closed as off-topic by HopelessN00b Feb 6 '15 at 10:57

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions on Server Fault must be about managing information technology systems in a business environment. Home and end-user computing questions may be asked on Super User, and questions about development, testing and development tools may be asked on Stack Overflow." – HopelessN00b
If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 6 down vote accepted

You can use windows task scheduler to run net start service and net stop service at the appropriate times.

share|improve this answer

Orihara is correct, but here is some additional detail that might help.

You can create .cmd or .bat files that perform the net start and net stop command. At that point you can use the Windows Task Scheduler (usually under Accessories/System Tools) to schedule the commands start and stop time. You can also use "at" in the command line to schedule the commands.

Hope that helps.

share|improve this answer

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