Open Windows Security
Select 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 needed
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
Apply the changes
Restart the computer
