Skip to content

How-ToOS

How to Turn On Tamper Protection in Windows 11 (and Why You Should)

Tamper protection in Windows Security stops other apps, scripts and registry edits from turning off Microsoft Defender's real-time protection, cloud protection, behaviour monitoring and exclusions, while admins can still change settings themselves. Turn it on under Virus & threat protection > Manage settings, check it with Get-MpComputerStatus, and leave it on.

By , Systems & Technical Editor

6 min read

How to Turn On Tamper Protection in Windows 11 (and Why You Should)

It's based on Microsoft's own Windows Security support page and its Microsoft Learn documentation for tamper protection, all checked on 26 November 2026.

If you rely on Microsoft Defender Antivirus, the free antivirus built into Windows 11, one of the most useful settings is also one of the least known. Tamper protection is a switch in the Windows Security app that stops other apps from changing Defender's most important settings. Microsoft says the point is to stop malicious apps from disabling critical security features, such as your antivirus's real-time protection.

This guide explains what tamper protection actually locks down, how to check that it's switched on, how to turn it on or off, and what to do if it seems to be blocking a change you want to make.

What tamper protection does

Microsoft's Windows Security support page describes tamper protection as a feature that helps prevent malicious apps from changing important Microsoft Defender Antivirus settings, including real-time protection and cloud-delivered protection. The point is to keep your security configuration intact and stop malicious apps from disabling critical security features.

Crucially, it doesn't lock you out. Microsoft says that if tamper protection is on and you're an administrator on the PC, you can still change these settings in the Windows Security app. Other apps can't.

Microsoft Learn's tamper protection overview goes into more detail. On Windows, when tamper protection is enabled, these settings can't be changed:

  • Virus and threat protection stays enabled

  • Real-time protection stays on

  • Behaviour monitoring stays on

  • Antivirus protection, including IOfficeAntivirus (IOAV), stays enabled

  • Cloud protection stays enabled

  • Security intelligence updates continue

  • Automatic actions are taken on detected threats

  • Notifications stay visible in the Windows Security app

  • Archived files are scanned

  • Exclusions can't be modified or added

Microsoft also says attempts to modify Defender Antivirus settings through the registry are blocked. That covers one of the classic tricks: a script or installer that edits the registry to switch Defender off.

What tamper protection doesn't do is just as useful to know. According to Microsoft Learn, it doesn't stop you viewing security settings, and it doesn't affect how non-Microsoft antivirus apps register with the Windows Security app. The support page says the same: tamper protection doesn't affect how third-party antivirus apps work. So if you later install another antivirus suite, tamper protection isn't the thing that will stop it working. If you're weighing that decision, our comparison of Microsoft Defender vs paid antivirus covers the trade-offs.

Step 1: Open Windows Security

Open the Start menu, type Windows Security and open the app. This is the app Microsoft's support page uses for all of Defender's virus and threat protection settings.

Step 2: Go to Virus & threat protection settings

Microsoft Learn's steps for configuring tamper protection on an individual device are:

  1. In the Windows Security app, go to Virus & threat protection.

  2. In the Virus & threat protection settings section, select Manage settings.

  3. In the Virus & threat protection settings pane, slide the Tamper Protection toggle to On (or Off).

You'll see tamper protection listed among the other Defender settings on that page, such as real-time protection, Dev Drive protection, cloud-delivered protection and automatic sample submission.

If the toggle is already on, there's nothing more to do. Leave it that way.

Step 3: Check the status with PowerShell (optional)

If you'd rather confirm the setting from the command line, or you want to check a family member's PC quickly, Microsoft documents this PowerShell command:

Get-MpComputerStatus | Select-Object IsTamperProtected, RealTimeProtectionEnabled

Microsoft says a value of True means the setting is enabled and False means it's disabled. You'll see two results: whether tamper protection is on, and whether real-time protection is on. Ideally both should read True.

Note what PowerShell can't do here. Microsoft Learn states plainly that you can't use PowerShell to configure tamper protection during normal operation. That's deliberate: if a script could turn it off, malware could too.

Why a setting might not change

Tamper protection can cause some confusion when you're trying to change Defender's behaviour on purpose. Here are the situations Microsoft documents.

You can't turn off real-time protection

Microsoft's support page says that if tamper protection is turned on, you'll need to turn it off before you can turn real-time protection off. That's the system working as designed. Before you do it, think about whether you really need to.

If the reason is that Defender keeps flagging a particular file or folder you trust, Microsoft suggests a safer option: add an exclusion for that single file or folder rather than turning antivirus protection off entirely. Bear in mind that exclusions are one of the settings tamper protection protects, so you'll make that change in the Windows Security app yourself, not through a third-party tool. Microsoft also warns that an exclusion means Defender will no longer check those files for threats, so only exclude things you're certain about.

A tweak tool or Group Policy change "worked" but nothing happened

Microsoft Learn notes that when tamper protection is on, changes made through a management tool, including Group Policy, might appear to succeed, but tamper protection blocks them. If you've used a "debloat" script, a registry tweak or a privacy utility that claims to disable parts of Defender, and Defender is still running, this is probably why. In that case tamper protection did exactly its job.

Your PC is managed by work or school

Tamper protection can also be managed centrally by an organisation using Microsoft Intune or the Microsoft Defender portal. Microsoft Learn says a policy that manages tamper protection takes precedence over the organisation-wide setting in the Defender portal, and that a policy or portal setting takes precedence over a setting a local administrator configures in the Windows Security app. In other words, if your laptop is managed by your employer or school, the toggle may be locked or reset by IT. Ask them rather than trying to work around it.

For businesses, Microsoft also describes a troubleshooting mode for temporarily disabling tamper protection when a protected setting needs to change. That's aimed at managed devices, not home PCs.

When should you turn tamper protection off?

For a typical home gaming or work PC, the honest answer is almost never. Tamper protection doesn't block you from changing settings yourself. It just makes sure that whatever changes Defender's configuration is you, in the Windows Security app.

Reasonable exceptions are rare and temporary, such as following a specific instruction from a software vendor's support team to switch off real-time protection for a short troubleshooting step. If you do turn tamper protection off, turn it back on as soon as you've finished, and check that real-time protection is also back on using the PowerShell command above.

Build a sensible Windows 11 security setup

Tamper protection is one layer. A few more free settings in Windows 11 work well alongside it:

If Windows itself seems damaged, for example Windows Security won't open properly, our guide to repairing Windows 11 with DISM and SFC is a good next step.

Our verdict

Tamper protection is a free, built-in Windows 11 setting that stops malicious apps from switching off Microsoft Defender's real-time protection, cloud protection, behaviour monitoring and exclusions, including through the registry, while still letting you change those settings yourself as an administrator in the Windows Security app. Check it under Virus & threat protection > Manage settings, or with Get-MpComputerStatus in PowerShell, and leave it on. Turn it off only briefly for a specific troubleshooting step, use a file or folder exclusion instead of disabling Defender where you can, and leave work or school PCs to your IT team.

The bottom line

Tamper protection is a free, built-in Windows 11 setting that stops malicious apps from switching off Microsoft Defender's real-time protection, cloud protection, behaviour monitoring and exclusions, including through the registry, while still letting you change those settings yourself as an administrator in the Windows Security app. Check it under Virus & threat protection > Manage settings, or with Get-MpComputerStatus in PowerShell, and leave it on. Turn it off only briefly for a specific troubleshooting step, use a file or folder exclusion instead of disabling Defender where you can, and leave work or school PCs to your IT team.

Sources

  1. 01Microsoft Support, Virus and Threat Protection in the Windows Security App
  2. 02Microsoft Learn, Tamper protection overview
  3. 03Microsoft Learn, Configure tamper protection for Microsoft Defender Antivirus on Windows

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

NVIDIA App vs OBS Studio: Which Is Better for Recording Gameplay?

Versus

NVIDIA App vs OBS Studio: Which Is Better for Recording Gameplay?

The NVIDIA App is the easier gameplay recorder for GeForce RTX owners, with Instant Replay of the last 30 seconds, manual recording NVIDIA quotes up to 4K HDR at 120 fps, AV1 on RTX 40 Series and automatic Highlights. OBS Studio is free, open source and cross-platform, works with NVIDIA, AMD and Intel encoders, and adds scenes, webcams, audio filters and streaming.

Callum Reid6 min

How to Check VRAM Usage on Linux (NVIDIA, AMD and Intel)

How-To

How to Check VRAM Usage on Linux (NVIDIA, AMD and Intel)

How to check graphics memory use on Linux for local AI: nvidia-smi for NVIDIA cards, amd-smi and the amdgpu sysfs files for AMD Radeon, nvtop for a live view across NVIDIA, AMD and Intel, and ollama ps to see whether a model fits in VRAM, plus what to do if you run out.

Marcus Thorne6 min

Best Free Video Converters for Windows in 2026

Best Picks

Best Free Video Converters for Windows in 2026

HandBrake is the best free video converter for most Windows users: open source, with device presets, previews, a queue and NVENC and Quick Sync support for MP4, MKV and WebM output. Shutter Encoder is a free all-in-one toolbox with editing codecs, lossless trims, subtitles and burn-ins. FFmpeg is the command-line engine behind both, ideal for scripts and batch jobs.

Hannah Vance7 min

Audacity vs ocenaudio: Which Free Audio Editor Should You Use?

Versus

Audacity vs ocenaudio: Which Free Audio Editor Should You Use?

Audacity is the better free audio editor for most Windows users: open source, with recording and editing, noise reduction, VST3 plugins and a rebuilt interface in Audacity 4. ocenaudio is free and focused on fast single-file editing, with real-time effect previews, multi-selection, efficient handling of long files and recent voice tools.

Callum Reid7 min