Disable Tamper Protection and any Anti-Malware solution
Settings¶
Windows gives you an option to turn Microsoft Defender off. But, it’s only temporary. Once it’s been off for a while, or you restart your PC, it’ll come back on. If you just need a temporary solution, this is it.
- Access it by going to Start -> Settings -> Privacy & security.
- Select Windows Security and scroll until you see Virus & threat protection settings. Click the Manage Settings link.
-
Toggle the various options to Off.
Note
Turning everything off is just temporary. This is great if you just need to disable Microsoft Defender for a short while, but doesn’t solve the ultimate goal of turning off Windows Defender permanently.
Tip
Note: if you’re already using another antivirus instead of Microsoft Defender, you may not see these settings at all – which is a fix in itself and will be detailed below.
Local Group Policy¶
- Press Win+R to load the Run box, type
gpedit.mscinto the box, and press OK. - When the Local Group Policy window loads, select Computer Configuration -> Administrative Templates on the right.
-
Go to Windows Components -> Microsoft Defender (Antivirus). If you don’t see Microsoft Defender, look for Windows Defender (Antivirus). Scroll down until you see the Turn off Microsoft Defender file. For older versions of Windows 10, look for Turn off Windows Defender.
-
Double-click it, and click Enabled on the left to turn on the Turn off Microsoft Defender policy, which disables Microsoft Defender. If you later change your mind, select Disabled instead.
Registry¶
- Open the Run command by pressing Win+R . Type
regedit, and click OK. - On the left pane of the Registry Editor, navigate to the following folder:
- Select the Windows Defender folder as shown and right-click on the empty space on the right side of the window, and go to New -> DWORD (32-bit) Value.
Windows will create an untitled DWORD file. Right-click the file, and click Rename, then call it DisableAntiSpyware. Make sure you enter the name perfectly!
-
Right-click the DisableAntiSpyware file, and click Modify. To enable the policy that disables Microsoft Defender, set the value data to 1, and click OK. This tells the computer that the policy that was just created should be enabled, and Windows will disable Defender for you. If you want to bring Microsoft Defender back, return to this file, and change the value to 0 to disable the policy and allow Defender to work again.
-
If anything related to Defender is still running, add the following DWORD values in the following folder locations using the same process as above:
- DisableRealtimeMonitoring – set the value to 1.
- DisableRoutinelyTakingAction – set the value to 1.
- DisableAntiVirus – set the value to 1.
- DisableSpecialRunningModes – set the value to 1.
- ServiceKeepAlive – set value to 0.
- You may also need to create three new folders under Windows Defender. Right-click the Windows Defender folder, and select New -> Key. Add three new Keys: Signature Updates, Real-Time Protection, and Spynet.
-
Add the following DWORD values to the corresponding folders:
-
ForceUpdateFromMU – set value to 0.
- DisableRealtimeMonitoring – set value to 1.
- DisableOnAccessProtection – set value to 1.
- DisableBehaviorMonitoring – set value to 1.
-
DisableScanOnRealtimeEnable – set value to 1.
-
DisableBlockAtFirstSeen – set value to 1.
-
Reference¶
- How to Permanently Disable Microsoft Defender
- How to permanently disable Windows Defender Real Time Protection with GPO?