Home » Tech Tips » Windows » 3 Ways to Disable Microsoft Defender Antivirus in Windows 11

3 Ways to Disable Microsoft Defender Antivirus in Windows 11

Microsoft Defender antivirus comes built into Windows 11 to protect your system. This is part of Windows Security suite (earlier known as Windows Defender) working on real-time to fight against malware, viruses, and other threats. Sometimes, you may want to disable the default protection. Perhaps, you’re installing another antivirus or need to run software that Defender flags incorrectly. Here’s how you can disable Defender temporarily or permanently depending upon your need.

Bypassing Defender for an App

If you have Microsoft 365 subscription, you can see in the system tray icon on taskbar that Microsoft Defender and Windows Security apps are running in the background. It’s generally hidden and click on the arrow to find it. Don’t confuse this Microsoft Defender with the Defender Antivirus part of the Windows Security. Clicking on the Microsoft Defender icon will open a window showing your device protection status. In this article, we’re discussing about disabling Microsoft Defender Antivirus engine part of Windows Security and NOT the Microsoft Defender as part of Microsoft 365.

Defender in System Tray
Defender in System Tray

Disabling Microsoft Defender leaves your system vulnerable. So, disable Defender only if you know what you’re doing to avoid the system is infected with virus or malware. Make sure you install another trusted antivirus or have good security practices if you decide to turn it off permanently.

Note: If your objective is to disable Defender firewall or bypass firewall for a single app, then you don’t need to disable the antivirus protection. Learn more on how to manage firewall in Windows PC.

1. Temporarily Disable Defender

Follow the below steps if you just need to turn it off for a short time. Windows Defender will automatically turn itself back on after a while or after starting for security reasons.

  • Click on the Start Menu icon and then click “All” button to view all installed programs on your system. Scroll down on the list to bottom to find and click “Windows Security” app. Alternatively, you can also search and open the app or click the icon from taskbar system tray.
Open Windows Security
Open Windows Security
  • When you’re in the Windows Security app, go to “Virus & threat protection” section.
  • Under “Virus & threat protection settings” heading, click “Manage settings” link.
Manage Threat Settings
Manage Threat Settings
  • On the next screen, turn off “Real-time protection” option.
Disable Real-time Protection
Disable Real-time Protection
  • You’ll be prompted with User Account Control and click “Yes” button to confirm.
Confirm UAC Prompt
Confirm UAC Prompt
  • Now, you should see a notification in Windows Security app showing “Real-time protection is off, leaving your device vulnerable”.
Message in Security App
Message in Security App

Windows will show an instant notification that Microsoft Defender Antivirus is disabled. You will also see a warning message on the system tray icon showing action needed. 

Notification After Disabling
Notification After Disabling
Action Needed Message
Action Needed Message

You can anytime get back to Windows Security app and turn on real-time protection to start using Microsoft Defender again (if it’s not automatically turned on).

Turn On Defender
Turn On Defender

2. Permanently Disable Using Group Policy Editor

You can disable Defender permanently for all users of your computer by modifying a system policy. However, the Local Group Policy Editor app for managing system policies if available only in Windows 11 Pro, Education and Enterprise edition and is not part of Windows Home edition.

  • Type “policy editor” in the Windows Search box and click on “Edit group policy” option.
  • This will open Local Group Policy Editor app.
Open Policy Editor
Open Policy Editor
  • Navigate to “Computer Configuration → Administrative Templates → Windows Components → Microsoft Defender Antivirus” section.
  • You can find an item named “Turn off Microsoft Defender Antivirus” on the right pane and double-click on it.
Turn Off Defender Policy
Turn Off Defender Policy
  • Select “Enabled” option and then click “Apply” / “OK” buttons.
Enable Turn Off Defender Policy
Enable Turn Off Defender Policy

Note: You can also go to “Computer Configuration → Administrative Templates → Windows Components → Microsoft Defender Antivirus” section and enable “Turn off real-time protection” setting.

3. Permanently Disable Using Registry Editor

As mentioned, Windows 11 Home doesn’t have Group Policy Editor and you can use the Registry Editor app instead. You can use this app on other Windows editions as well and it also affects all users on the system. Since, incorrect changes in the registry can break your system, make sure to back up before proceeding.

  • Type “registry editor” in the Windows Search box. Find and click on the Registry Editor app from the search results. Press “Yes” in case the User Account Control prompt appears.
Open Registry Editor
Open Registry Editor
  • Copy the following location, paste it in the Registry Editor’s address bar and press enter key to navigate to that location.
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender
  • Right-click on the empty area on right pane and choose “New → DWORD (32-bit) Value” from the context menu.
Create a New DWORD
Create a New DWORD
  • This will create a new item and name it as DisableAntiSpyware. Right-click on the item and select “Modify…” option.
  • Set its “Value data” to 1 and click on “OK” button.
Set Value Data
Set Value Data
  • Restart the system to save your changes.

If you want to re-enable Defender anytime later, simply delete the DisableAntiSpyware entry or set its value to 0 in the Registry Editor.

Final Words

Disabling Windows Defender leaves your system vulnerable. Make sure you install another trusted antivirus or have good security practices if you decide to turn it off permanently.

Leave a Comment

Your email address will not be published. Required fields are marked *