While copying the Users file across to the new Windows Server 2016 server using Robocopy I’ve noticed that the Antimalware process Is scanning each copied file and a 40GB file transfer Is taking more than 24Hours.

After doing a bit of research I found that there are two fixes to this Issue:

Stop the Windows Defender real time scanning, Which didn’t help In my case and I had to move to option two

Uninstall Windows Defender

To stop the Real Time Scanning option open PowerShell as Admin and run the cmdlet below:

Set-MpPreference -DisableRealtimeMonitoring $true

It that doesn’t help, Uninstalling Windows Defender using the cmdlet below