When Windows Security shows that virus protection is off, the toggle won’t respond, or a notice says the setting is controlled by your organization, the PC is working without a safety net. In an office, this is usually discovered by accident on a single computer, and there are almost always others in the same state. Before you start clicking, find out the cause, because each one has a different fix.
In this article
First: identify your case
| What you see | Most likely cause | Go to |
|---|---|---|
| Another antivirus listed under Security providers | Third-party antivirus installed (possibly with an expired license) | Case 1 |
| Real-time protection off, but the toggle works | Someone turned it off, or an installer asked for it | Case 2 |
| Grayed-out options and the notice “Your Virus & threat protection is managed by your organization” | Group Policy, Intune or an “optimization” tool | Case 3 |
| Protection turned off on its own, with nobody touching it | Possible malware | Case 4 |
| Yellow warning about definitions | Protection updates are behind | Case 5 |
To open the app, type Windows Security in the Start menu and go to Virus & threat protection. The paths below apply to both Windows 11 and Windows 10.
Case 1: another antivirus is in charge
When an antivirus from another company is installed, Windows automatically turns off Microsoft Defender Antivirus so that two products don’t fight over the same files. Microsoft describes this on its page about Defender’s compatibility with other security products: on Windows 10 and Windows 11 devices that aren’t onboarded to Microsoft Defender for Endpoint, Defender switches to disabled mode while the other product is active.
The classic office problem is the laptop that shipped with a trial antivirus, or the three-PC license nobody renewed. To check who is protecting each PC:
- In Virus & threat protection, find the Who’s protecting me? section and click Manage providers.
- On the Security providers page, look at what appears under Antivirus.

If the product listed isn’t the one your company uses, or its subscription has expired, decide which antivirus will stay:
- To remove the other one on Windows 11, go to Settings › Apps › Installed apps, find the program, click the three dots and choose Uninstall. On Windows 10, the path is Settings › Apps › Apps & features.
- If the vendor offers its own removal tool, run it afterwards to clean up what’s left.
- Restart and go back to Security providers: Defender should now show as turned on.
According to the same documentation, Defender can come back on by itself when the other product expires, is uninstalled or stops providing real-time protection. If it doesn’t come back after the restart, move on to case 3.
Case 2: real-time protection is off
- In Virus & threat protection, under Virus & threat protection settings, click Manage settings.
- Turn on Real-time protection.
- On the same screen, make sure Tamper Protection is also set to On.

Microsoft explains on its page about Defender in the Windows Security app that real-time protection turns itself back on shortly after being switched off. If it stays off for days, something is forcing that state, usually another antivirus or a policy.
Case 3: grayed-out options or “managed by your organization”
There are two very different situations here.
The office uses central management (Microsoft Intune, the Microsoft Defender portal or Group Policy from a server). In this case, the options are grayed out on purpose: whatever comes from policy is unavailable in the app on each PC, and for Tamper Protection the policy takes priority over what the local administrator sets, as the article on configuring tamper protection explains. The fix is made in the policy, not on the PC. If an IT provider handles this for you, ask them to check the antivirus policy applied to that computer.
The PC isn’t managed by anyone and still shows the notice. In small offices, the cause is usually an “optimization” tool or a script downloaded from the internet that wrote policies to turn Defender off, or malware doing the same thing.
On Windows 11 Pro, type gpedit.msc in the Start menu and go to Computer Configuration › Administrative Templates › Windows Components › Microsoft Defender Antivirus. Open Turn off Microsoft Defender Antivirus, select Not Configured, click OK and restart. With Tamper Protection on, Microsoft warns that changes made by management tools, Group Policy included, may look as if they were applied and still be blocked. The Home edition doesn’t include gpedit.msc; there, the safest route is to uninstall the suspicious tool and run the offline scan.
Case 4: suspected malware
Protection that turns itself off, with no other antivirus and no policy, is a red flag. The offline scan runs outside the Windows session you’re using, which helps catch threats that hide while the system is loaded.
- In Virus & threat protection, click Scan options.
- Select Microsoft Defender Offline scan and click Scan now. You need to be signed in with an administrator account on the PC.
- Confirm the prompts. According to the offline scan documentation, the process takes about 15 minutes and Windows restarts when it’s done.
- Check the result under Virus & threat protection › Protection history.
If nothing happens after the restart, the Windows Recovery Environment may be turned off, and the offline scan depends on it. Check from Command Prompt run as administrator:
reagentc /info
If the status is Disabled, reagentc /enable turns it back on. Found a threat? Change the passwords used on that PC from another device and, if files are encrypted or renamed, follow the ransomware guide before reconnecting the machine to the shared folder.
Case 5: outdated definitions
- In Virus & threat protection, open Virus & threat protection updates.
- Click Check for updates.
If the update keeps failing, the problem usually lies with Windows Update itself; see how to fix Windows Update errors.
How to check every PC in the office
Opening the app on each machine takes time. On each PC, a single Windows PowerShell command shows the status in seconds:
Get-MpComputerStatus | Format-List AMRunningMode, RealTimeProtectionEnabled, IsTamperProtected

How to read the output, based on Microsoft’s documentation:
- AMRunningMode: Normal means Defender is the primary antivirus. Passive Mode or EDR Block Mode shows up in environments with Microsoft Defender for Endpoint (on Windows 11, passive mode can also appear when Smart App Control is on and another antivirus is installed). If another antivirus is in charge, check Security providers to see who is protecting the PC (case 1).
- RealTimeProtectionEnabled and IsTamperProtected: True means on; False, off.
Record each computer’s result in a simple spreadsheet (PC name, date, the three values). It helps you notice when one changes for no reason, and it documents the security measures in place on machines that handle customer data, which data-protection rules such as the GDPR expect organizations to be able to show.
Which path to follow
- Another antivirus under Security providers: renew its license or uninstall it (case 1).
- Grayed-out options on a managed PC: fix the policy, not the machine (case 3).
- Grayed-out options on an unmanaged PC: offline scan first, policy second (cases 4 and 3).
- Everything normal except a yellow warning: update the definitions (case 5).
Frequently asked questions
Can I keep two antivirus programs running at the same time?
It isn’t recommended: they compete for the same files and slow the PC down. Windows already handles this by turning Defender off when another product takes over; what matters is that the other one has a valid license.
I turned off real-time protection to install a program and it came back on by itself. Is that a bug?
No. Real-time protection turns itself back on after a short while, precisely so the PC isn’t left unprotected by mistake. If a program will only install with the antivirus off, double-check where it came from first.
Does Defender slow the PC down?
Scheduled scans use the processor and the disk for a while. If that gets in the way during work hours, see how to find what’s using resources in high CPU usage in Windows 11 before you touch any protection.