Turning off Windows Defender Temporarily

To temporarily turn off Microsoft Windows Defender antivirus software on a Windows 10 system right-click on the Windows Start button and select Settings, and then Windows Security.

Windows Security

Click on Virus & threat protection.

Windows Security

Click on Manage settings.

Windows Security Virus
and Threat Protection Settings

Change the real-time protection setting from "on" to "off."

Windows Security Virus
and Threat Protection Settings Off

When you no longer need the protection disabled, change the setting back to "on."