Robocopy Command Builder
Build a safe Robocopy command for migrations, mirrors and backups – multithreaded, with retries, logging and an optional dry run.
Robocopy is the most reliable way to move file shares on Windows – it resumes, retries and can keep NTFS permissions. Its defaults are risky, though: a million retries per locked file, and /MIR deletes files without asking. Build a command with sensible switches, a log file and a dry run first.
Migrating a file server
- Run the dry run (
/L) and read the summary. - Run the real copy with permissions (
/COPY:DATSOU) days before the cut-over. - On the night, run it again – only changed files copy, so it’s quick.
- Switch users to the new share and keep the old one read-only for a week.
Frequently asked questions
Why does /MIR delete files?
Mirror makes the destination an exact copy of the source, so anything that exists only in the destination is removed. Always run it with /L first.
More tools
All tools →Windows Static IP Command Generator
Set a static IP, gateway and DNS on Windows 10/11 or Windows Server – as netsh or PowerShell commands, plus the commands to switch back to DHCP.
Open tool WindowsWindows Repair Command Generator
Pick the problem – corrupt system files, update failures, network trouble, disk errors – and get the right SFC, DISM, chkdsk or netsh sequence in the right order.
Open tool Email & DNSSPF, DKIM & DMARC Checker
Check a domain’s MX, SPF, DMARC and DKIM records in one go, with plain-English findings and fixes for common mistakes.
Open tool