How to Hide the Virus & Threat Protection Section in Windows 11 Security app
Managing your security settings is a common task for Windows 11 users. This guide explains how to hide the Virus & Threat Protection section in the Windows Security app. We will also cover the risks of disabling your antivirus and how to use advanced tools like PowerShell.
Why Hide or Disable Security Settings?
Why: You might want to hide this section to prevent unauthorized users from changing your security settings, or you may be testing a different antivirus solution. What happens when done: The Virus & Threat Protection icon will be removed from the Windows Security dashboard, effectively locking the interface.
Safety and Security Risks
Disabling Windows Defender or hiding its interface does not necessarily stop the background service. If you fully disable real-time protection, your computer becomes vulnerable to malware, ransomware, and viruses. Always ensure you have a reliable third-party antivirus installed before turning off built-in protections.
Method 1: Using Local Group Policy Editor
Note: This method requires admin privileges.
1. Press Win + R, type gpedit.msc, and hit Enter.
2. Navigate to: Computer Configuration\Administrative Templates\Windows Components\Windows Security\Virus and threat protection

3. Double-click Hide the Virus and threat protection area.

4. Select Enabled to hide the section or Disabled to show it.

Method 2: Using the Windows Registry
Note: This method requires admin privileges.
1. Press Win + R, type regedit, and hit Enter.
2. Go to: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Virus and threat protection

3. Right-click, select New > DWORD (32-bit) Value, and name it UILockdown.
4. Set the value to 1 to hide or 0 to show.

Restart your computer to apply the changes.

Method 3: PowerShell Method
Note: This method requires admin privileges.
1. Right-click the Start button and select Terminal (Admin).
2. To hide the area, run this command:
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Virus and threat protection" -Name "UILockdown" -Value 1
3. To show it again, change the value to 0.
Summary
You can hide the Virus & Threat Protection section using the Group Policy Editor, Registry, or PowerShell. While these methods help manage the UI, remember that disabling security features puts your system at risk. Always prefer adding exclusions over turning off your antivirus entirely. For more tips, check our guide on resetting Windows Security apps.
Why does Windows Defender keep turning itself back on?
Windows Defender is designed to protect your system. If you do not have another antivirus installed, Windows will automatically re-enable real-time protection to ensure your PC remains secure against threats. This is a core safety feature that cannot be permanently disabled without specific policy changes.
Is it safe to disable Windows Defender permanently?
It is generally not safe to disable Windows Defender unless you have a high-quality third-party antivirus installed. Without active protection, your computer is exposed to malicious software, data theft, and system corruption. Always keep your security software active to maintain a safe computing environment.
How do I exclude specific files from Windows Defender scans?
Instead of disabling protection, you can add exclusions. Go to Windows Security > Virus & threat protection > Manage settings > Exclusions. Click Add or remove exclusions and select the files, folders, or processes you want the antivirus to ignore during its regular system scans.
Was this guide helpful?
[…] app has many sections that allow you to quickly see the status of your virus and threat protection, firewall and network security, Account protection, App and Browser Control, Device Security, and […]
[…] app has many sections that allow you to quickly see the status of your virus and threat protection, firewall and network security, Account protection, App and Browser Control, and […]
[…] App has many sections that allow you to quickly see the status of your virus and threat protection, firewall and network security, Account protection, and […]
[…] app has many sections that allow you to quickly see the status of your virus and threat protection, Firewall and network security, device security controls, and […]
[…] app has many sections that allow you to quickly see the status of your virus and threat protection, firewall and network security, device security controls, and […]