Speed Up File Transfers in Windows 11 with Robocopy
Robocopy is a built-in Windows 11 tool that moves large folders and big files much faster than dragging them in File Explorer . Short for Robust File Copy, it handles massive data transfers without freezing or slowing down your PC.
You can speed up network file transfers even more by combining Robocopy with SMB compression, which shrinks data while you send it between computers.
Use Robocopy, a command-line tool built into Windows 11. Open Command Prompt and type a command like “robocopy source destination /MT:16” to enable multi-threading for faster transfers.
Copy files over the network using Robocopy
As mentioned, Robocopy is a command-line tool that lets you copy files faster when SMB compression is enabled. In Windows 11, SMB compression mode is active by default.
Preparation starts with enabling file sharing on both machines.
First, make sure to enable file sharing on both computers. Share the folder containing the files you want to transfer next.
Knowing the name or IP address of the other computer remains necessary.
That information lives within the following article.
- How to enable file and printer sharing in Windows 11
- How to share files and folders in Windows 11
- How to find your computer name in Windows 11
With required details in hand, copying files using Robocopy comes next.
Before launching Robocopy, adding account details to Windows 11's credential manager prevents authentication headaches. Windows remembers login information for the other computer this way.
cmdkey /add:COMPUTER or IP /user:COMPUTERNAMEUSERNAME /pass:PASSWORD
Replace COMPUTERNAME with the name of the target computer and USERNAME and PASSWORD with credentials belonging to that machine.
Domains allow substituting COMPUTERNAME with the domain name.
Computer names also substitute cleanly for IP addresses.
Here’s an example:
cmdkey /add:192.168.1.2 /user:WORKGROUPgeekrewind /pass:password
After running those commands, use the format below to copy files with Robocopy and SMB compression.
robocopy \source-ip-addresspathtoremotesharedfolder C:local-devicepathtodestinationfolder /E /Z /ZB /R:5 /W:5 /TBD /NP /V /MT:16 /compress
Here's an example:
robocopy \192.168.1.2DocumentsRemoteSharedFolder C:UsersgeekrewindDocuments /E /Z /ZB /R:5 /W:5 /TBD /NP /V /MT:16 /compress
Pressing Enter triggers file transfers to the target device.
Here's a breakdown of the Robocopy options:
- /E — Copy Subdirectories, including empty ones.
- /Z — Copy files in restartable mode.
- /ZB — Uses restartable mode. If access is denied, use backup mode.
- /R:5 — Retry 5 times (you can specify a different number, the default is 1 million).
- /W:5 — Wait 5 seconds before retrying (default is 30 seconds).
- /TBD — Wait for share names To Be Defined (retry error 67).
- /NP — No Progredon'tdon’t display percentage copied.
- /V — Produce verbose output, showing skipped files.
- /MT:16 — Do multithreaded copies with n threads (default is 8).
- /compress — Enables SMB compression to speed up transfers over the network.
That wraps up the process.
Conclusion:
- Robocopy offers a powerful and efficient solution for copying large files over a network or locally using SMS compression.
- Users can significantly reduce the time and resources required for file transfers by enabling SMS compression, improving productivity.
- The provided step-by-step guide simplifies the process, making it accessible to users of varying technical expertise.
- We welcome your input through the comments section below for any feedback, corrections, or additional insights.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.
[…] Robocopy, use this command format:robocopy C:UsersDocuments 192.168.1.100PathToDocuments […]