Facebook PixelTwo Easiest Methods to Disable Windows Defender in Windows 10 | Blog | CodeWithHarry
Two Easiest Methods to Disable Windows Defender in Windows 10

Two Easiest Methods to Disable Windows Defender in Windows 10

"This article will tell you how you can easily disable windows defender in windows 10. Follow the steps ..."

By CodeWithHarry

Updated: 5 April 2025

This article will tell you the 2 easiest methods to enable or disable Windows Defender in Windows 10. Follow the steps given below to turn off Windows Defender in Windows 10:

First Method:

  1. Click on the Windows logo in the bottom left corner of your computer screen. A start menu will pop up.
  2. You will see a gear-shaped icon on the lower-left side of the start menu. Click on it to open the settings of your PC.

Step 1

  1. Click on Update & Security. You can easily find it in the bottom row.

Step 2

  1. You will see the Windows Security option on the upper-left side of the window. Click on it to proceed further.

Step 3

  1. Click on Virus and threat protection. A new window of Windows security will open.

Step 4

  1. Now, click on the Manage settings button under the Virus & threat protection settings.

Step 5

  1. Turn off the Real-time protection, and with this, you’ve successfully turned off Windows Defender on Windows 10.

Step 6

Note:

  • Microsoft Defender will be automatically turned on after restarting your computer.
  • The scheduled scan will continue to run.

Second Method:

The first method is also easy, but it requires toggling between different settings options. Now, I will tell you a straightforward and recommended method to enable or disable Microsoft Defender on your Windows 10 computer.

  1. Head over to Settings → Windows Security → Virus & threat protection → Manage Settings.
  2. Find the Tamper Protection option and disable it.

Step 1

  1. Now, search for Windows PowerShell in the search bar of Windows 10.
  2. Click on “Run as Administrator.”

Step 2

  1. Disabling Microsoft Defender: Paste the below code in the Windows PowerShell and hit enter.

    Set-MpPreference -DisableRealtimeMonitoring $true

Step 3

By just executing the above code, Microsoft Defender will be turned off.

  1. Enabling Microsoft Defender: Paste the below code in the Windows PowerShell and hit enter.

    Set-MpPreference -DisableRealtimeMonitoring $false

Step 4

So, that’s how you can easily enable or disable Windows Defender on Windows 10.

Tags

disablewindowsdefenderinwindows10