How to disable Windows Security and Microsoft Defender in Windows 11

by Sudip Majhi

If you want to turn off or disable Windows Security in Windows 11, here is how you can do that. It is possible to disable Windows Defender or Microsoft Defender in Windows 11 with the help of this step-by-step guide. You can get it done using Windows Security settings, Local Group Policy Editor, Registry Editor, and Windows PowerShell.

Windows Security (Formerly, Microsoft Defender) is the in-built security shield or antivirus available in Windows 11, Windows 10, and older versions. However, if you think that Windows Security is making your system slower or want to install another third-party antivirus tool, you can disable the native antivirus using this guide.

It is possible to enable or disable Microsoft Defender in Windows 11 permanently and temporarily. Depending upon the situation, you could try different methods as mentioned below.

How to disable Windows Security in Windows 11 using Settings

To disable Windows Security in Windows 11 using Settings, follow these steps:

  1. Press Win+S to open the Taskbar search box.
  2. Type windows security and click on the search result.
  3. Switch to the Virus & threat protection tab on the left side.
  4. Click the Manage settings option under the Virus & threat protection settings.
  5. Toggle the Real-time protection, Cloud-delivered protection, Automatic sample submission, and Tamper protection buttons.
  6. It disables the Microsoft Defender Antivirus.

To get started, you need to open the Windows Security panel on your system. For that, press Win+S to open the Taskbar search box, type windows security, and click on the individual search result.

Then, switch to the Virus & threat protection tab on the left side and click on the Manage settings option under the “Virus & threat protection settings.”

How to disable Windows Security in Windows 11 using Settings

Here you can find four toggle buttons:

  • Real-time protection
  • Cloud-delivered protection
  • Automatic sample submission
  • Tamper protection

You need to toggle those buttons to turn Microsoft Defender Antivirus off on your PC.

How to disable Windows Security in Windows 11 using Settings

As mentioned, it disabled the Microsoft Defender Antivirus in Windows 11. However, it is temporary, and Windows Security continuous to run other background services even though you disable Microsoft Defender Antivirus.

How to disable Windows Security in Windows 11 permanently

To disable Windows Security in Windows 11 permanently, you need to open each setting one after one and disable all of them. For example, you need to open the Firewall & network protection tab and go to Domain networkPrivate network, and Public network.

Then, toggle the Microsoft Defender Firewall button to disable Microsoft Defender Firewall in Windows 11.

How to disable Windows Security in Windows 11 permanently

After that, go to the Device security tab, click on the Core isolation details option, and toggle the Memory integrity button.

How to disable Microsoft Defender in Windows 11 using Group Policy

To disable Microsoft Defender in Windows 11 using Group Policy, follow these steps:

  1. Press Win+R to open the Run prompt.
  2. Type gpedit.msc > hit the Enter button.
  3. Go to Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus.
  4. Double-click on the Turn off Microsoft Defender Antivirus setting.
  5. Select the Enabled option.
  6. Click the OK button.
  7. Go to the Real-time Protection folder.
  8. Double-click on the Turn off real-time protection setting.
  9. Select the Enabled option.
  10. Click the OK button.

At first, you need to open the Local Group Policy Editor. For that, press Win+R to open the Run prompt, type gpedit.msc, and hit the Enter button. Then, navigate to the following path:

Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus

Here you can find a setting called Turn off Microsoft Defender Antivirus on the right side. You need to double-click on it and select the Enabled button.

How to disable Microsoft Defender in Windows 11 using Group Policy

Click on the OK button to save the change.

Next, you need to expand the Microsoft Defender Antivirus folder and select the Real-time Protection folder. Here you can find a setting called Turn off real-time protection.

You need to double-click on it and select the Enabled option.

How to disable Microsoft Defender in Windows 11 using Group Policy

Click the OK button to save the change.

After that, Microsoft Defender Antivirus will be disabled immediately.

How to disable Microsoft Defender in Windows 11 using Registry Editor

To disable Microsoft Defender in Windows 11 using Registry Editor, follow these steps:

  1. Press Win+R to open the Run dialog.
  2. Type regedit > hit the Enter button > click the Yes option.
  3. Go to: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender
  4. Right-click on Windows Defender > New > DWORD (32-bit) Value.
  5. Name it as DisableAntiSpyware.
  6. Double-click on it to set the Value data as 1.
  7. Click the OK button.
  8. Right-click on Windows Defender > New > Key.
  9. Name it as Real-Time Protection.
  10. Right-click on Real-Time Protection > New > DWORD (32-bit) Value.
  11. Name it as DisableRealtimeMonitoring.
  12. Double-click on it to set the Value data as 1.
  13. Click the OK button.
  14. Restart File Explorer or computer.

To learn more about these steps, continue reading.

Precaution: Before getting started, it is recommended to backup Registry files.

At first, you need to open the Registry Editor on your computer. For that, press Win+R to open the Run dialog, type regedit, and press the Enter button. If the UAC prompt appears, click the Yes option.

Next, navigate to the following path:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender

Right-click on the Windows Defender key and select New > DWORD (32-bit) Value.

Following that, name it as DisableAntiSpyware and double-click on it to set the Value data as 1.

Click the OK button to save the change.

Next, you need to right-click on the Windows Defender key and select New > Key.

Name it as Real-Time Protection. Then, right-click on it and select New > DWORD (32-bit) Value.

Name it as DisableRealtimeMontoring and double-click on it to set the Value data as 1.

How to disable Microsoft Defender in Windows 11 using Registry Editor

Click the OK button to save the change. At last, you need to restart File Explorer or restart Windows 11 computer.

How to disable Microsoft Defender in Windows 11 using PowerShell

It is possible to disable Microsoft Defender in Windows 11 using PowerShell. In other words, you can uninstall Microsoft Defender Antivirus with the help of Windows PowerShell. To uninstall Microsoft Defender using Windows PowerShell in Windows 11, follow these steps:

  1. Right-click on the Start menu or press Win+X.
  2. Select Windows Terminal (Admin) from the menu.
  3. Click on the Yes option.
  4. Enter this command: Uninstall-WindowsFeature -Name Windows-Defender

To get started, you need to open Windows PowerShell as administrator. As Windows 11 comes with Windows Terminal, you can open that as well. For this example, we are going to use Windows Terminal as administrator. To open it, press Win+X, select Windows Terminal (Admin), and click the Yes option.

Then, enter this command:

Uninstall-WindowsFeature -Name Windows-Defender

If in the future, you change your mind and want to re-install Windows Defender or Microsoft Defender in Windows 11, you can enter this command:

Install-WindowsFeature -Name Windows-Defender

It will be installed immediately.

Wrap up: Disable Windows Security and Microsoft Defender in Windows 11

Disabling Windows Security or Microsoft Defender Antivirus in Windows 11 is not that difficult as long as you follow the aforementioned guides. However, you must have an administrator account to turn of Microsoft Defender easily.