After establishing Windows 10, you might still have to transfer all your files to the new computer. Typically, you can use another storage to copy the files and move on them towards the new device. Or if you’re a tech-savvy user, you most likely transfer the files over the network using file share.
While they are all good options, depending on the amount of data you need to transfer, using File Explorer, the procedure may take quite a long time. If you wish to copy a lot of files faster and more reliably, you’ll need a better solution, for example Robocopy.
Robocopy (Robust File Copy) is really a command-line tool built into Windows 10, but it’s existed for years, and it’s a powerful and versatile tool emigrate files very quickly.
In this guide, you’ll learn the steps to make use of Robocopy to quickly transfer lots of files within the network on Windows 10.
Using Robocopy to copy files within the network fast
The characteristics included with Robocopy allows you to copy files very quickly, but don’t forget that you’ll require a wired connection to find the best experience. The time to accomplish the transfer will depend on the network connection speed and drive performance.
This is a two-step process. You must first configure file sharing around the source device, and then use Robocopy within the destination device to perform the transfer.
Configuring file sharing on Windows 10
To copy files between two computers, you must enable file sharing in the source device to allow Robocopy access to copy the files in the destination device.
Use these steps to share files on your local network using the express settings:
Open File Explorer on Windows 10.
Visit the folder with the files that you want to migrate.
Right-click the folder, and select the Properties option.
On the “Properties” page, click the Sharing tab.
Click on the Share button.
Make use of the drop-down menu to decide on the user or group to share file or folder. With regards to this guide, select the Everyone group.
Click on the Add button.
Under “Permission Level,” choose the kind of sharing permissions you want the folder to possess. For example, you can select Read (default) if you only want users to be able to view and open files. If you choose Read/Write, users can observe, open, modify, and delete the content on the folder you’re sharing.
Click on the Share button.
Note the network path for that folder that other users will need to access the content over the network, and click the Done button.
Click the Close button.
Once you complete the steps, write down the folder path and the Ip of the source computer.
Using Robocopy to quickly copy a lot of files on Windows 10
Once file sharing is configured around the source device, you are able to proceed to copy the files using Robocopy in the destination device.
Use these steps to use Robocopy to copy files fast on Windows 10:
Search for Command Prompt, right-click the top result, and choose the Run as administrator option.
Type the next command to copy the files within the network and press Enter:
robocopy \\source-device-ip\path\to\share\folder C:\destination-device\path\to\store\files /E /Z /ZB /R:5 /W:5 /TBD /NP /V /MT:16
robocopy \\10.1.2.111\Users\admin\Documents C:\Users\admin\Documents /E /Z /ZB /R:5 /W:5 /TBD /NP /V /MT:16
In the above command be sure to alter the source and destination paths together with your configuration.
Robocopy command options explained
Robocopy provides extensive features which you can use, in the command shown in this guide, we’re using the following choices to make copy reliable and fast.
/S – Copy subdirectories, although not empty ones.
/E – Copy Subdirectories, including empty ones.
/Z – Copy files in restartable mode.
/ZB – Uses restartable mode, if access denied use backup mode.
/R:5 – Retry Five times (you are able to specify another number, default is 1 million).
/W:5 – Wait 5 seconds before retrying (you are able to specify another number, the default is 30 seconds).
/TBD – Wait for sharenames To Be Defined (retry error 67).
/NP – No Progress – don’t display percentage copied.
/V – Produce verbose output, showing skipped files.
/MT:16 – Do multithreaded copies with n threads (default is 8).
Probably the most significant change to give consideration is /MT, which is a feature that allows Robocopy to copy files in multithreaded mode. Typically, whenever you copy files using File Explorer, you’re only copying one file at a time, but with multithreaded enabled, you are able to copy multiple files at the same time better using the bandwidth and significantly accelerating the procedure.
Should you don’t set a number when using the /MT switch, then the default number is going to be 8, which means that Robocopy will try to repeat eight files at the same time, but the tool supports 1 to 128 threads.
Within the command shown in this guide, we’re using 16, but you can set it to some higher number. The only caveat would be that the more number, the more processing power and bandwidth will be utilized. For those who have a mature processor along with a not reliable network connection, it could cause issues, as a result make sure to test the command before executing the command with a high number of threads.
You could view all the available switches, simply run the robocopy /? command. For those who have any problems, you can submit the questions you have towards the Pureinfotech forums