Short answer: the message means policy settings are controlling Microsoft Defender, through Group Policy, the registry, Intune or another management tool. On a work or school PC, that is expected; contact IT. On a personal PC, common harmless causes include a third-party antivirus, leftovers from an uninstalled security product, a work or school account connected to Windows, or “privacy” tweak tools. Malware can also set these policies to disable protection. Check Settings > Accounts > Access work or school, run an offline Defender scan, then remove unwanted Defender policies from Group Policy or the registry and turn Tamper Protection on.
The message often appears with greyed-out settings in Windows Security, or alongside “Some settings are managed by your organization” in Settings. It tells you something outside the Windows Security app is configuring Defender. The task is working out whether that “something” is legitimate.

Harmless causes
Third-party antivirus: when another antivirus is active, Windows Security may show Defender settings as managed or unavailable. Leftovers: uninstalled antivirus products sometimes leave policy settings behind. Work or school account: connecting a work account to Windows (Access work or school) can enrol the device in management, letting your organisation apply policies. Tweak or debloat tools: scripts and utilities that “optimise” Windows often disable Defender features through policies. Parental control or family software may set policies too.
Warning signs of malware
Be suspicious if Defender was turned off without you doing anything, exclusions appeared for folders you do not recognise, Windows Security will not open, other security tools fail or uninstall themselves, or there are other signs such as unknown programs, browser changes or accounts being accessed. Malware frequently sets DisableAntiSpyware-type policies or adds exclusions to avoid detection.
Step 1: Check work or school connections
Open Settings > Accounts > Access work or school. If a work or school account is connected and you do not need it on this personal PC, select it and choose Disconnect; if the PC belongs to your employer, talk to IT instead. Also check Settings > Accounts > Email & accounts for work accounts added to apps, which may say “Allow my organization to manage my device”.
Step 2: Scan for malware first
Run a full Defender scan and a Microsoft Defender Offline scan if possible (Windows Security > Virus & threat protection > Scan options). If Defender is disabled, use PowerShell as administrator with Start-MpWDOScan, or a reputable second-opinion scanner from an official vendor site. Cleaning malware before changing policies prevents it from re-applying them.
Step 3: View the active policies
Run gpresult /h report.html in an administrator Command Prompt and open the report to see applied policies. In PowerShell, Get-MpPreference shows Defender settings including exclusions, and Get-MpComputerStatus shows whether protection is running.

Step 4: Remove unwanted policies
On Windows Pro, open gpedit.msc and go to Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus. Set configured items you did not intend, such as “Turn off Microsoft Defender Antivirus” and real-time protection settings, to Not configured. On Windows Home, back up the registry and delete unwanted values under HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender (for example DisableAntiSpyware, DisableAntiVirus and keys under Real-Time Protection). Run gpupdate /force and restart. See Defender turned off by Group Policy.
Step 5: Re-enable protection and Tamper Protection
Open Windows Security > Virus & threat protection > Manage settings. Turn on real-time protection, cloud-delivered protection and Tamper Protection, and remove exclusions you did not add. Tamper Protection blocks many future attempts to change Defender settings.
How to tell the difference quickly
A useful rule of thumb: if you can explain the message, it is probably harmless. You recently installed another antivirus, you added your work email to Windows, or you ran a “privacy tweak” tool. If you cannot explain it, treat it as suspicious until proven otherwise. Look at when the message first appeared and what changed on the PC around that time, such as a new download, a cracked program, a browser extension or an email attachment. Malware rarely changes only one setting, so also look for other symptoms: unexpected programs, browser hijacks, disabled Windows Update or new user accounts. Combining the timeline with these clues usually reveals the cause within a few minutes.
Five checks that identify who is “managing” Defender
Run these in order. Each one either explains the message or rules a cause out. Use an administrator PowerShell window for checks 2 to 4.
| Check | How | What the result means |
|---|---|---|
| 1. Work or school enrolment | Settings > Accounts > Access work or school; select the account > Info | An “Info” button with a sync option means the device is enrolled in mobile device management (MDM), and the organisation can push Defender policies |
| 2. Device join state | dsregcmd /status |
AzureAdJoined : YES or DomainJoined : YES means the PC is joined to an organisation; WorkplaceJoined : YES means a work account was registered |
| 3. Defender’s running mode | Get-MpComputerStatus | Select AMRunningMode, RealTimeProtectionEnabled, IsTamperProtected |
“Normal” means Defender is the active antivirus; a passive mode usually means another antivirus is registered or the device is managed |
| 4. Policy values | Get-ItemProperty 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender' |
Any values here (for example DisableAntiSpyware) are policies; on a home PC you should be able to name the tool that set them |
| 5. Other security software | Windows Security > Settings > Manage providers | A third-party antivirus listed as the active provider explains greyed-out Defender settings |
If none of the five checks gives an explanation, assume malware set the policies and complete the offline scan in Step 2 before removing anything.
Matching the cause to the fix
| Cause | Fix |
|---|---|
| Third-party antivirus active | Nothing to fix; manage protection in that product. To return to Defender, uninstall it and reboot |
| Leftover policies after uninstalling antivirus | Run the vendor’s official removal tool, then clear the policy values (Step 4) |
| Personal PC enrolled through a work account | Disconnect the account in Access work or school; expect organisation policies to be removed after a restart |
| Debloat or “privacy” script | Undo with the tool’s own restore option if it has one, otherwise clear the policy values |
| Malware | Offline scan, clear policies and exclusions, change passwords from a clean device; reset Windows if protection keeps switching off |
| Employer-owned device | Leave it; contact IT |
How this differs from “turned off by Group Policy”
The two messages share causes but are not the same. “Managed by your organization” can appear even when Defender is fully working, because a single policy value (such as a hidden notification setting) is enough to trigger it. “Turned off by Group Policy” means a policy has actually disabled antivirus protection, which is more urgent. If you see the second message, follow our Defender turned off by Group Policy guide straight away. If Windows Security will not even open, start with fixing Windows Security not opening.
Frequently asked questions
Does the message mean I’ve been hacked?
Not necessarily. It is common with third-party antivirus or connected work accounts. Investigate if it appeared without explanation.
Can I remove the message on a work laptop?
No, and you should not try; your organisation manages security settings.
Why does the message remain after uninstalling antivirus?
Leftover policies or files. Use the vendor’s removal tool, then check policies.
Is Tamper Protection important?
Yes. It prevents malware and unauthorised tools from changing key Defender settings.
Sources
- Microsoft Learn: Use Group Policy to manage Microsoft Defender Antivirus
- Microsoft Learn: Tamper protection
- Microsoft Support: Stay protected with Windows Security
- Microsoft Learn: Get-MpComputerStatus
- Microsoft Learn: Microsoft Defender Antivirus in Windows (active and passive modes)
- Microsoft Learn: Troubleshoot devices by using the dsregcmd command



