Disable Windows Anti-Malware tool

This method requires Group Policy Editor (gpedit.msc). This requires Windows Professional.
If you have Windows Home, there is a way: Enable Group Policy Editor on Windows Home

  1. Open gpedit.msc
  2. Computer Configuration → Administrative Templates → Windows Components → Microsoft Defender Antivirus → Real-Time Protection
  3. Open “Turn off Real-Time Protection” and select Enabled