Open Windows Security
Click Virus & threat protection
Under Virus & threat protection settings, click Manage settings
Turn off Real-time protection
Turn off Cloud-delivered protection
Turn off Automatic sample submission
Turn off Tamper Protection
Open Group Policy Editor
Go to Computer Configuration
Go to Administrative Templates
Go to Windows Components
Go to Microsoft Defender Antivirus
Open Turn off Microsoft Defender Antivirus
Set it to Enabled
Open Registry Editor
Go to HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindows Defender
Create or set DisableAntiSpyware to 1
Restart the computer
