Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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've been wrangled into the world of Windows system administration. Coming from a Linux sysadmin background, I am looking for the best way to copy a file to a directory at a specific time. (Change management requires us to copy the file in a certain window of time.) I know Windows has a Task Scheduler. Is that the best tool to use to copy my file?

Using Windows Server 2003.

share|improve this question
up vote 2 down vote accepted

I use it exclusively in Windows to schedule tasks, mainly because Windows systems never seem to have any set of "standard" tools that admins install. Windows Scheduled Tasks Manager does the job. It has a command line utility as well and you can count on it being installed on every machine. I say it's the best bet, but would love to hear other opinions.

Just make sure your service accounts have the rights you need. The windows default service accounts typically have ZERO network access capabilities, so if your copy is across network shares you could be screwed.

share|improve this answer
I actually feel the exact same way about Linux boxen - I find they never have a standard set of tools either. – Driftpeasant Nov 7 '11 at 17:37

Robocopy and the windows scheduler will do that just fine. Also be sure that the time is properly set and synchronised on the servers if they 're not part of an active directory domain.

share|improve this answer

Setting a scheduled to task to run a .bat file at a certain time would probably suffice. As JS mentioned, make sure your account has the correct permissions to copy the file and to write inside the folder that you are copying it to.

share|improve this answer

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.