How to use Robocopy multi-threaded feature to speed up file copy on Windows 10

When you have to copy a large number of files to another drive, Robocopy can significantly speed the process with its multi-threaded feature — here's how to use it.

Windows 10 Robocopy multithreaded
Windows 10 Robocopy multithreaded

On Windows 10, when you have to copy files to another drive, you typically use the standard select, copy, and paste process. Although this works perfectly fine, speed becomes a bottleneck as transferring many files can take a very long time.

As an alternative, many savvy users use Robocopy (Robust File Copy), a command-line tool built into Windows 10, which offers more features to quickly move data to a different location (to another drive or computer over the network). One feature that makes Robocopy special (and often overlooked) is its multi-threaded feature that allows multiple files to be copied simultaneously. Instead of one file at a time using the copy feature from File Explorer.

This guide will teach you the steps to use the multi-threaded copies feature on Robocopy to speed up the transfer process of files and folders to another drive on Windows 10.

How to use multi-threaded feature with Robocopy

To use the Robocopy multi-threaded feature to copy files and folders to another drive on Windows 10, use these steps:

  1. Open Start on Windows 10.

  2. Search for Command Prompt, right-click the result, and select the Run as administrator option.

  3. Type the following command to copy the files and folders to another drive and press Enter:

    robocopy C:\source\folder\path\ D:\destination\folder\path\ /S /E /Z /ZB /R:5 /W:5 /TBD /NP /V /MT:32

    In the command, change the source and destination paths and the options. For example, this command copies data from the drive “C” to “D” and uses the “32” threads for copying:

    robocopy C:\Users\admin\Documents D:\Users\admin\Documents /S /E /Z /ZB /R:5 /W:5 /TBD /NP /V /MT:32

    Robocopy with multi-threaded option
    Robocopy with multi-threaded option

Robocopy command description

Robocopy has many features, and in the command shown above, we use the following switches to make copy reliable and fast.

  • /S — Copy subdirectories, but not empty ones.
  • /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 (you can specify a different number, the default is 30 seconds).
  • /TBD — Wait for share names To Be Defined (retry error 67).
  • /NP — No Progress – don’t display percentage copied.
  • /V — Produce verbose output, showing skipped files.
  • /MT:32 — Do multi-threaded copies with n threads (default is 8).

The most important switch to focus on in the above command is /MT, which is the switch that enables Robocopy to copy files in multi-threaded mode. If you do not set a number next to the /MT switch, the default number will be 8, which means that Robocopy will try to copy eight files simultaneously. However, Robocopy supports 1 to 128 threads.

In this command, we are using 32, but you can set it to a higher number. The only caveat is that a higher number will cause higher resource usage and bandwidth. Using a high number will affect performance if you have an older processor. As a result, test before executing the command with more threads.

Once you complete the steps, you will notice that copying files and folders will take significantly less time. 

You are not limited to copying files and folders to an external or internal drive. You can also use this to migrate files over the network.

About the author

Mauro Huculak is a Windows expert and the Editor-in-Chief who started Pureinfotech in 2010 as an independent online publication. He is also been a Windows Central contributor for nearly a decade. Mauro has over 12 years of experience writing comprehensive guides and creating professional videos about Windows, software, and related technologies, including Android and Linux. Before becoming a technology writer, he was an IT administrator for seven years. In total, Mauro has over 20 years of combined experience in technology. Throughout his career, he achieved different professional certifications from Microsoft (MSCA), Cisco (CCNP), VMware (VCP), and CompTIA (A+ and Network+), and he has been recognized as a Microsoft MVP for many years. You can follow him on X (Twitter), YouTube, LinkedIn and About.me.