Follow these steps to temporarily turn off real-time protection in Windows 10. However, keep in mind that if you do, your device may be vulnerable to threats.
- Go to settings, select "update and security"
- Click on windows security
- Select Virus and Threat Protection
- Disable all security options.