If the "Virus & threat protection" tab is still missing in Windows Security even after editing Group Policy (gpedit.msc
), here are several steps to troubleshoot and potentially resolve the issue:
✅ Step-by-Step Fix Guide
- Check if Microsoft Defender Antivirus is Disabled or Removed
Some third-party antivirus software or system administrators disable or remove Defender.
- Open PowerShell as Administrator and run:
If the output showsGet-MpPreference
DisableRealtimeMonitoring
orDisableAntiSpyware
asTrue
, Defender might be disabled. Run this to re-enable it:Set-MpPreference -DisableRealtimeMonitoring $false
- Re-enable Defender via Group Policy
Make sure these policies are Not Configured:
Open gpedit.msc
Navigate to: Computer Configuration
> Administrative Templates
> Windows Components
> Microsoft Defender Antivirus
Ensure the following policies are set to Not Configured:
Turn off Microsoft Defender Antivirus
Disable anti-spyware
Hide the Virus and Threat Protection area in the Windows Security app
Then restart your system.
- Check Registry Settings
If Group Policy changes are not reflecting, check the registry:
Press Win + R
, type regedit
, and go to:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender
Look for a value named DisableAntiSpyware
. If it exists and is set to 1
, right-click and delete it or set it to 0
.
- Check Windows Services
Ensure required services are running:
Press Win + R
, type services.msc
Make sure these services are Running and set to Automatic:
Microsoft Defender Antivirus Service
**Security Center (wscsvc)**
**Windows Defender Firewall**
- Use Windows Security Troubleshooter (Optional)
If you have Windows 11/10, you can run a System File Check:
sfc /scannow
And then:
DISM /Online /Cleanup-Image /RestoreHealth
- Check for Tamper Protection
If your PC is part of a managed environment (e.g., school/work), Tamper Protection or Microsoft Intune policies might be locking Defender settings. You may need to contact your IT admin.
💡 Optional: Reinstall Microsoft Defender (if removed)
If you're sure Defender is removed, you can reinstall via PowerShell (Windows 10/11):
Add-WindowsCapability -Online -Name "Microsoft.WindowsDefender" -Source "C:\mount\windows" -LimitAccess
(You will need installation media for this.)
If you'd like to send a screenshot or run a diagnostic script to gather more data, I can guide you with that as well.If the "Virus & threat protection" tab is still missing in Windows Security even after editing Group Policy (gpedit.msc
), here are several steps to troubleshoot and potentially resolve the issue:
✅ Step-by-Step Fix Guide
1. Check if Microsoft Defender Antivirus is Disabled or Removed
Some third-party antivirus software or system administrators disable or remove Defender.
Open PowerShell as Administrator and run:
Get-MpPreference
If the output shows DisableRealtimeMonitoring
or DisableAntiSpyware
as True
, Defender might be disabled.
Run this to re-enable it:
Set-MpPreference -DisableRealtimeMonitoring $false
2. Re-enable Defender via Group Policy
Make sure these policies are Not Configured:
Open gpedit.msc
Navigate to:
Computer Configuration
> Administrative Templates
> Windows Components
> Microsoft Defender Antivirus
Ensure the following policies are set to Not Configured:
Turn off Microsoft Defender Antivirus
Disable anti-spyware
Hide the Virus and Threat Protection area in the Windows Security app
Then restart your system.
3. Check Registry Settings
If Group Policy changes are not reflecting, check the registry:
Press Win + R
, type regedit
, and go to:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender
Look for a value named DisableAntiSpyware
. If it exists and is set to 1
, right-click and delete it or set it to 0
.
4. Check Windows Services
Ensure required services are running:
Press Win + R
, type services.msc
Make sure these services are Running and set to Automatic:
Microsoft Defender Antivirus Service
**Security Center (wscsvc)**
**Windows Defender Firewall**
5. Use Windows Security Troubleshooter (Optional)
If you have Windows 11/10, you can run a System File Check:
sfc /scannow
And then:
DISM /Online /Cleanup-Image /RestoreHealth
6. Check for Tamper Protection
If your PC is part of a managed environment (e.g., school/work), Tamper Protection or Microsoft Intune policies might be locking Defender settings. You may need to contact your IT admin.
💡 Optional: Reinstall Microsoft Defender (if removed)
If you're sure Defender is removed, you can reinstall via PowerShell (Windows 10/11):
Add-WindowsCapability -Online -Name "Microsoft.WindowsDefender" -Source "C:\mount\windows" -LimitAccess
(You will need installation media for this.)
If you'd like to send a screenshot or run a diagnostic script to gather more data, I can guide you with that as well.