How to speed up robocopy

Solution 1:

Can I add any options to increase the performance of the robocopy command?

The following options will change the performance of robocopy:

  • /J : Copy using unbuffered I/O (recommended for large files).

  • /NOOFFLOAD : Copy files without using the Windows Copy Offload mechanism.

  • /R:n : Number of Retries on failed copies - default is 1 million.

  • /W:n : Wait time between retries - default is 30 seconds.

  • /REG : Save /R:n and /W:n in the Registry as default settings.

  • /MT[:n] : Multithreaded copying, n = no. of threads to use (1-128)

    default = 8 threads, not compatible with /IPG and /EFSRAW.

    The use of /LOG is recommended for better performance.

Source - robocopy


Further Reading

  • An A-Z Index of the Windows CMD command line
  • A categorized list of Windows CMD commands
  • robocopy - Robust File and Folder Copy.