Turn off Windows Defender
Temporarily turn off Microsoft Defender real-time protection in Windows 10 or Windows 11.
Before you begin
Save your work. A restart may be required.
Note the setting's original state. Re-enable it immediately after testing.
Windows 10 and Windows 11
1
2
If the setting turns back on
This is expected. Windows restores protection automatically after a short period or restart.
Turn off VBS and Hyper-V
Virtualization-based security (VBS) and Hyper-V can prevent some software from running. Turn them off only when required. Restart Windows after completing these steps.
1
2
Use an exclusion for a trusted file
Open Windows Security → Virus & threat protection → Manage settings.
Under Exclusions, select Add or remove exclusions.
Select Add an exclusion, then choose the specific file or folder.
Last updated
Was this helpful?
