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!

2 Answers 2


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


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.

Not the answer you're looking for? Browse other questions tagged .