Open Start
Type Windows Security and open it
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 if prompted
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
Restart the computer
Open Registry Editor
Go to HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindows Defender
Create or set DisableAntiSpyware to 1
Restart the computer
