In this task, you’ll learn how to create a Robocopy scheduled task automatically using Task Scheduler or the best alternative - AOMEI Backupper Standard. Scroll down to learn more!
Robocopy is Windows’ advanced copy tool that handles big jobs better than normal Copy/Paste. It can copy multiple files at once (multithreading), automatically retry when files fail to copy, and perform basic integrity checks, so your backup is accurate.
This makes it much faster and more reliable for large or repeated backups, especially when creating a Robocopy scheduled task.
Scheduling Robocopy turns it into an automatic backup task. Instead of remembering to run a backup, Windows does it for you, such as daily, weekly, monthly, etc., even during off-hours. This means your files stay protected with zero effort and without interrupting your work.
Robocopy is great for copying files to another drive, NAS, or server, especially when speed and reliability matter. But it’s not perfect. It requires using command lines and doesn’t keep multiple versions of files, which deters some users.
If you need a fast, free, built-in option, Robocopy works extremely well. For advanced features like versioning or cloud backups, or just don’t like the command line, you’ll need other tools.
1️⃣ Make sure you know exactly the source and destination folders, such as another internal drive, USB drive, network drive, etc.
2️⃣ Network destinations require a full UNC path.
3️⃣ Choose the right mode before using Robocopy:
4️⃣ Learn all necessary Robocopy parameters:
5️⃣ Use wired Ethernet when possible to avoid slow Wi-Fi transfers.
6️⃣ Always test your Robocopy command before scheduling it. This confirms the folders are correct and the command runs without errors, preventing unexpected deletion or overwriting.
Here are 5 common Task Scheduler Robocopy examples, provided for reference.
A simple incremental backup copies all new and updated files but never deletes anything at the destination. This is the safest and most common Robocopy command for everyday use. Example:
robocopy "C:\Source" "D:\Backup" /E /R:3 /W:5
A mirror backup keeps the destination folder identical to the source, including deletions. This is ideal for work folders that must stay perfectly synchronized, but it must be used carefully because deleted source files will also be removed from the backup. Example:
robocopy "C:\Source" "D:\Backup" /MIR /R:2 /W:2
Robocopy can dramatically increase speed by copying multiple files simultaneously. The /MT:n option uses n threads (32–128 are common for SSDs and fast networks). Higher thread counts may cause minor performance dips during active use. Example:
robocopy "C:\Source" "D:\Backup" /E /MT:32
For auditing, monitoring, or troubleshooting backup history, Robocopy can write all details to a log file. Using /LOG+: appends entries instead of overwriting the file. Example:
robocopy "C:\Source" "D:\Backup" /E /LOG+:C:\Logs\backup.log
This is one of the most common cases, yet many users report that Robocopy does not run in the task scheduler - completed too quickly, no files copied, and no backup log generated. In this case, you must always use UNC paths, such as \\NAS\Share. Example:
robocopy "C:\Source" "\\NAS-Server\Backups\User1" /E /R:3 /W:5 /MT:16 /LOG+:C:\Logs\nas-backup.log
Creating an automated Robocopy backup is a two-part process: first, you build a Robocopy backup script, then you use Task Scheduler to run it automatically. Below is the complete, detailed walkthrough.
First, create a simple script containing the Robocopy backup command. This will make the scheduled task more concise and clear.
1. Write a Robocopy script:
Example:
@echo off
robocopy "C:\Users\YourName\Documents" "\\NAS-Server\Backups\Documents" /E /R:3 /W:5 /MT:16 /FFT /TEE /LOG+:C:\Logs\robocopy-backup.log
exit /b
⚠️Note:
◾ /E — Copy all subfolders, including empty ones
◾ /R:3 — Retry failed copies 3 times (prevents endless hang-ups)
◾ /W:5 — Wait 5 seconds between retry attempts
◾ /MT:16 — Use 16 threads for faster copying
◾ /FFT — Allows FAT/NTFS timestamp tolerance (important for NASes)
◾ /TEE — Shows output on-screen and writes to log
◾ /LOG+: — Appends logs instead of overwriting
◾ exit /b — Ensures Task Scheduler receives a clean exit code
2. Type Notepad in the Start menu and select it.
3. Copy and paste your Robocopy command. Then, save it as: C:\Scripts\robocopy-backup.cmd. Note: You can choose any folder, but avoid Desktop or Downloads.
4. Test the script manually. Right-click the script and select Run as administrator. Watch for errors and confirm files actually copy to the destination.
With your script ready, you can automate Robocopy using Task Scheduler.
1. Press Win + R, type taskschd.msc and press Enter. In the Task Scheduler, click Action and Create Task (NOT “Create Basic Task”- you need advanced options).
2. Under the General tab, specify a name (e.g., Robocopy Backup Task), when to run (e.g., user logon or not, with highest privileges), and the running user account.
3. Under the Triggers tab, click New and select your schedule. Nighttime is recommended for large jobs.
4. Under the Actions tab, click New and set up the following:
(THIS IS IMPORTANT -fixes many “task ran but did nothing” issues.)
5. Under the Conditions tab, uncheck Start the task only if the computer is idle. For laptops, leave AC/battery settings as needed.
6. Under the Settings tab, check the following options and click OK. When prompted, enter your password to store credentials for the task.
A scheduled task that “should” work is not enough, you must verify it. In Task Scheduler, right-click the Robocopy task and select Run. Then, wait 10–20 seconds and check your backup folder for new files
If nothing copied, verify folder permissions, UNC paths, “Start in” field, or user account. For unexpected deletions, try /E instead of /MIR.
In addition, open your Robocopy Log (i.e., C:\Logs\robocopy-backup.log) and look for:
This is your best troubleshooting tool. You can also check the log file update to make sure it runs at the scheduled time. Be sure to enable all task history.
If you are not an advanced user, using Robocopy Task Scheduler might be challenging, and opting for the best alternative may be more appropriate. AOMEI BackupperStandard is an all-in-one free backup and sync tool to automatically copy data from one hard drive to another drive, external drives, USB drives, NAS, etc., without Task Scheduler.
Step 1. Download and install AOMEI Backupper Standard on your computer. Open it and click Sync >Basic Sync.
Step 2. Click Select Source to access and add files on the source drive. Then, click the PC icon > This PC/NAS/Network Share to select a destination.
Step 3. Click Schedule Sync to set a frequency - based on daily, weekly, monthly, or event triggers. You can also enable Email notifications for sync status. At last, click Start Sync to copy files automatically.
⚠️Note:
◾ For a 1:1 copy, check the option to sync deletions from source directory to destination.
◾ To ensure safety, it’s suggested to verify the integrity of files in Options.
After the first sync, it will only sync modified or new files -saving both time and disk space. If you choose to sync all files simultaneously, you can speed up the sync process.
Robocopyscheduled task makes the sync task automatic, featuring multithreaded performance, retry logic, and seamless handling of large files, etc., it is fast, resilient, and extremely flexible.
In addition, if you want an easier way, try a free backup and sync tool - AOMEI Backupper Standard. It supports multiple schedule backups, from daily to event triggers, syncs multiple files at once, and offers optional features like sync deletion, etc. What’s more, it has a simple and intuitive interface, making the entire process easier.