Skip to content
Windows

How to Hide the Virus &Amp; Threat Protection Section in Windows 11 Security App

Richard
Written by
Richard
Updated 5 min read
How to Enable or Disable Microsoft Defender Cloud Protection
How to Enable or Disable Microsoft Defender Cloud Protection
Before you start
  • 3 ways to do it
  • Needs administrator rights
  • Group Policy needs Windows 11 Pro, Enterprise or Education
  • Includes a restart or sign-out

Hiding the Virus & threat protection section in the Windows 11 Security app removes that one tile from the dashboard. It does not turn off your antivirus protection. The tweak works on Windows 11 version 23H2 and newer. It is useful for simplifying the security screen when you run other security software, or when you set up a PC for someone else.

⚡ Quick Answer

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.

Advertisement

Why Hide or Disable Security Settings?

Windows Security is the central dashboard for the PC’s safety tools. Hiding the Virus & threat protection section keeps other users from opening it and changing important settings, such as scan options or real-time protection. People usually do this when they run a third-party antivirus program, or when a PC is shared with family members or coworkers.

You need an administrator account for all three methods below. Pick the one that matches your edition: Group Policy for Pro and Enterprise, the registry for any edition including Home, or PowerShell if you want the fastest route.

Advertisement

Safety and Security Risks

Hiding the interface of Windows Defender (the built-in Windows security software) does not stop its background service. Real-time protection keeps checking for malware, ransomware and viruses whether or not the tile is visible. The change only affects what people see in the app.

Because of that, make sure your third-party antivirus is installed, active and up to date before you hide anything. Otherwise you end up with a PC where nobody can easily reach the protection settings, and nothing else is guarding it. You can undo every method below, and each one explains how.

Advertisement

Method 1Using Local Group Policy Editor

The Local Group Policy Editor (a tool for managing system settings and configurations) lets you hide virus protection by turning on a single policy. This method works on Windows 11 Pro and Enterprise. It is the cleanest way to lock down the security dashboard and prevent unauthorized changes.

It does not work on Windows 11 Home. Home does not include the Local Group Policy Editor, so the Run command in step 1 will report that Windows cannot find the file. If that happens, use the registry method further down.

  1. Press Win + R to open the Run dialog box.
  2. Type gpedit.msc and press Enter. The Local Group Policy Editor window opens. If a User Account Control prompt appears, click Yes.
  1. In the left pane, expand the folders in this order: Computer Configuration\Administrative Templates\Windows Components\Windows Security\Virus and threat protection
  2. Click the Virus and threat protection folder. Its policies are listed in the right pane.
windows 11 edit group policy
windows 11 edit group policy
  1. Double-click Hide the Virus and threat protection area. A settings window opens for that policy.
windows 11 hide the virus and threat protection area
windows 11 hide the virus and threat protection area
  1. Select Enabled to hide the section, or Disabled to show it. Not Configured also shows it, and it is the default.
  2. Click Apply, then OK.

Close and reopen the Windows Security app. The Virus & threat protection tile should now be gone from the dashboard. If it is still there, restart the PC. To undo the change later, return to the same policy and set it to Not Configured or Disabled.

Advertisement
windows 11 hide the virus and threat protection area options
windows 11 hide the virus and threat protection area options

Method 2Using the Windows Registry

The Windows Registry (a hierarchical database that stores low-level operating system settings) lets you hide virus protection by creating a single DWORD value. This is the right choice on Windows 11 Home, where the Group Policy Editor is not available. It also works on Pro and Enterprise.

Be careful in the Registry Editor. A wrong change can cause problems, so edit only the key named below. If you want a safety net, click File Export and save a backup of the registry first.

  1. Press the Win and R together to open the Run dialog box.
  2. Type regedit (the Registry Editor) and press Enter. Click Yes if User Account Control asks for permission.
  1. In the left pane, go to: 🗝️HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Virus and threat protection
  2. If the Windows Defender Security Center or Virus and threat protection key does not exist, create it. Right-click the parent key, select New Key, and type the name exactly as shown. Then select the new key.
windows 11 virus and threat protection key
windows 11 virus and threat protection key
  1. Right-click an empty space in the right pane and select New DWORD (32-bit) Value.
  2. Name the new value UILockdown and press Enter.
  1. Double-click the new value to open the Edit DWORD (32-bit) Value window.
  2. In the Value data box, enter 1 to hide the section, or 0 to show it.
  3. Click OK, then close the Registry Editor.
windows 11 hide or show virus and threat protection section
windows 11 hide or show virus and threat protection section

Restart the computer to apply the changes. After you sign back in, open Windows Security. The Virus & threat protection tile should no longer appear.

Advertisement

To undo the change, set the value to show the section as described in step 8. You can also delete the value by right-clicking it in the Registry Editor and selecting Delete. Restart again afterwards.

windows security app without virus and threat protection section
windows security app without virus and threat protection section

Method 3PowerShell Method

PowerShell (a command-line shell for system administration) lets you hide virus protection by running a single command with administrator rights. It is the fastest method, because you skip the policy editor and the registry clicking. It works on all editions, Home included.

  1. Right-click the Start button and select Terminal (Admin). This opens a command-line window with elevated rights.
  2. Click Yes if User Account Control asks for permission. The window should show a PowerShell prompt. If it opens a Command Prompt tab instead, open a PowerShell tab from the drop-down arrow at the top of the Terminal window.
  1. To hide the area, run this command:
    ⬛PowerShell
    Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Virus and threat protection" -Name "UILockdown" -Value 1
  2. To show it again, run the same command with the value changed to 0.
Advertisement

Close and reopen Windows Security to check the result. If the tile is still showing, restart the PC.

Summary

You can hide the Virus & threat protection section in Windows 11 through the Group Policy Editor, the Windows Registry or PowerShell. Group Policy suits Pro and Enterprise, and the registry and PowerShell also work on Home. Hiding the tile only changes what the Security app shows, not whether protection runs, so check that your antivirus is active before you hide it. To get the tile back, reverse the setting with the same method you used.

Have a question about this guide?

Answered by AI from this guide. Good questions may be added to this page — please don't include personal details.

Tags: #Windows 11

Did this guide fix your problem?

Richard

About the Author

Richard

Tech Writer, IT Professional

Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.

Advertisement

0 Comments

Leave a Comment

Your email address will not be published. Required fields are marked *