How to Hide the Virus & Threat Protection Section in Windows 11 Security app
Hiding the Virus & Threat Protection section in the Windows 11 Security app lets you clean up your main security screen without turning off your actual antivirus protection. The Windows Security app acts as the central dashboard for your PC safety tools, but you can hide specific parts of it by making a quick change in the Registry Editor, a built-in Windows tool that lets you update system settings.
This trick helps make your screen look simpler when you use a different security program or when you set up a PC for someone else. You can use this tweak on Windows 11, version 23H2 and newer to remove the section from view.
You can hide the Virus & Threat Protection section by using the Local Group Policy Editor, the Windows Registry, or PowerShell. These methods involve enabling a specific policy or setting a registry value to lock the user interface for that section.
Why Hide or Disable Security Settings?
Users often hide the Virus & Threat Protection section in the Windows Security app to prevent others from changing security settings or when running a different antivirus program. Hiding this section removes its associated icon from the Windows Security dashboard, effectively locking that part of the interface.
Safety and Security Risks
Hiding the interface of Windows Defender (the built-in Windows security software) doesn’t stop its background service entirely. Real-time protection keeps the PC safe from malware, ransomware, and viruses, so third-party software must be active before touching built-in settings.
Method 1Using Local Group Policy Editor
The Virus & Threat Protection section in the Windows Security app for Windows 11 hides away using the Local Group Policy Editor (a tool for managing system settings and configurations). This involves opening the editor and changing a specific setting that makes the section disappear from view.
1. Press Win + R to open the Run dialog box. Type gpedit.msc and press 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 2Using the Windows Registry
Comfortable users can also hide the Virus & Threat Protection area in Windows 11 through the Windows Registry (a hierarchical database storing low-level operating system settings). This method involves opening the Registry Editor and either creating a new setting or modifying an existing one to conceal the section.
- Press the Windows key and R together to open the Run dialog box. Type regedit (the Registry Editor) and press Enter.
- Navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Virus and threat protection

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

Restart the computer to apply the changes.

Method 3PowerShell Method
Administrator privileges are required for this final method.
- Right-click the Start button and select Terminal (Admin) to open a command-line interface with elevated rights.
- 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
Hiding the Virus & Threat Protection section in Windows 11 works through either the Group Policy Editor or the Windows Registry, offering flexible ways to manage the security app's appearance.
Why does Windows Defender keep turning itself back on?
Windows Defender protects the system by default. If another antivirus is absent, Windows automatically re-enables real-time protection to secure the PC against threats. Windows does this automatically to keep the hardware safe, and users cannot permanently disable it without changing specific policies.
Is it safe to disable Windows Defender permanently?
Disabling Windows Defender remains unsafe unless a high-quality third-party antivirus is installed. Without active protection, computers sit exposed to malicious software, data theft, and system corruption. Keeping security software active maintains a safe computing environment.
How do I exclude specific files from Windows Defender scans?
Users can add exclusions instead of disabling protection entirely. Go to Windows Security Virus & threat protection Manage settings Exclusions. Click Add or remove exclusions and select the files, folders, or processes the antivirus should ignore during regular system scans.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.
[…] 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 […]