Through Windows Security Settings:
Open Settings and Press WIN+I to open the Settings menu, then Go to “Privacy & Security”, then select “Windows Security”. Disable protection: In the “Virus & Threat Protection” section, click “Manage settings”, In the “Real-time protection” section, toggle the switch to Off. Confirm the action: Windows Defender will be temporarily disabled, but Windows will notify you that your system is unprotected.