How to Turn On of Off Microsoft Defender Tamper Protection in Windows 11

md mahdi iNnP5SkGnsw unsplash
md mahdi iNnP5SkGnsw unsplash

This post shows students and new users steps to prevent changes to Microsoft Defender antivirus settings with tamper protection. Tamper Protection in Windows Security helps prevent malicious apps from changing Microsoft Defender Antivirus settings, including real-time and cloud-delivered protection.

By default, tamper protection is enabled and turned on in Windows 11. If you’re an administrator on a Windows device, you can change Windows Defender antivirus settings, but other apps can’t change these settings.

Tamper protection essentially locks Microsoft Defender Antivirus settings, thus preventing other apps from making changes using any of the following:

Tamper Protection doesn’t affect how third-party antivirus apps work or how they register with Windows Security. However, tamper protection should always be turned on to enhance device protection.

If you turn off Tamper Protection, you will see a yellow warning in the Windows Security app under Virus & threat protection, alerting you to re-enable tamper protection to keep your device secure.

How to prevent tampering Microsoft Defender antivirus with tamper protection

As mentioned above, Tamper Protection in Windows Security helps prevent malicious apps from changing necessary Microsoft Defender Antivirus settings, including real-time protection and cloud-delivered protection.

If the Tamper Protection setting is On, you won’t be able to turn off the Microsoft Defender Antivirus service using the DisableAntiSpywaregroup policykey.

Below is how to turn On or Off tamper protection in the Microsoft Defender Antivirus Windows Security app in Windows 11.

Change the Tamper Protection setting:

In the search box on the taskbar, type Windows Security and select Windows Security in the results list.

In Windows Security, select Virus & threat protection.

Under Virus & threat protection settings, select Manage settings.

Change the Tamper Protection setting to On or Off.

That should do it!


This post showed you how to turn on or off Microsoft Defender antivirus tamper protection in Windows 11. Please use the comment form below if you find any errors above or have something to add.

Posted by
Richard W

I love computers; maybe way too much. What I learned I try to share at

1 Comment

  1. The procedure you described above is easy but doesn’t allow me to turn it on anyways. Something is wrong, I have to remove McAfee apps from a download that another application did install without me noticing it. However, I can’t turn it on the Tamper Protection.
    Do you have any other suggestions on what to do?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: