TechBuzzPro

Hide or Show Windows Security Device Security

· 5 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can hide or display the Device Security section in Windows Security on Windows 11 by modifying a Group Policy setting or using the Windows Registry. This change affects what users see in the Windows Security app under the 'Device Security' panel, which includes core protections like Core Isolation, Memory Integrity, and antivirus status. This guide walks you through both methods—Group Policy and Registry Editor—so you can control the visibility of this section. Note that these changes do not affect actual security features; they only change whether the section appears in the app interface. Administrative rights are required.

What You'll Need

  • Administrator account on the Windows 11 device
  • Access to either Local Group Policy Editor (available in Windows 11 Pro, Education, or Enterprise) or Registry Editor (available in all editions)
  • Basic understanding of system settings and navigation

Step-by-Step

  1. Press Windows + R to open the Run dialog box.
  2. Type gpedit.msc and press Enter to open the Local Group Policy Editor. (Skip to step 7 if this command is not recognized—your edition of Windows 11 likely does not include Group Policy.)
  3. Navigate to: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Security Center > Device Security.
  4. Double-click the policy named Hide the Device Security section.
  5. To hide the Device Security section, select Enabled. To show it, select Disabled or Not Configured.
  6. Click Apply, then OK. Close the Group Policy Editor.
  7. If Group Policy is not available, press Windows + R, type regedit, and press Enter to open the Registry Editor.
  8. When prompted by User Account Control, click Yes to allow the app to make changes.
  9. Navigate to the following path:
    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Security\DeviceSecurity
  10. If the DeviceSecurity key does not exist, right-click the Windows Security folder, select New > Key, and name it DeviceSecurity.
  11. Right-click in the right pane of the DeviceSecurity key, select New > DWORD (32-bit) Value, and name it HideDeviceSecurity.
  12. Double-click HideDeviceSecurity. To hide the section, set the value data to 1. To show it, set the value to 0 or delete the entry entirely.
  13. Click OK and close the Registry Editor.
  14. Restart the Windows Security app or sign out and back in to see the change. The Device Security section will now be hidden or visible based on your setting.

Common Mistakes

  • Editing the wrong registry path: Ensure you are in HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Security\DeviceSecurity. A typo in the path renders the setting ineffective.
  • Not using administrator privileges: Both Group Policy Editor and Registry Editor require elevated rights. Running them without admin access prevents changes from being saved.
  • Expecting immediate UI updates: The Windows Security app may not reflect changes instantly. Restart the app or your session to see the update.
  • Using Group Policy on Home edition: Windows 11 Home does not include gpedit.msc. Users must use the Registry method instead.
  • Setting incorrect DWORD values: Use 1 to hide, 0 to show. Any other value may be ignored.

Tips

  • Before editing the registry, back up the current state by exporting the DeviceSecurity key. Right-click the key and select Export to save a .reg file.
  • If you're managing multiple devices, consider deploying the registry change via a script or management tool like Intune.
  • The Device Security section includes links to critical features like Memory Integrity. Hiding it doesn’t disable protection, but may reduce user awareness of available settings.
  • If you hide the section and later can’t access Core Isolation settings, navigate directly to Settings > System > Troubleshoot > Additional troubleshooters > Windows Security or use the registry to restore visibility.
  • Use descriptive names when creating new registry keys to avoid confusion during future audits.

Troubleshooting

If the Device Security section does not appear or disappear as expected, follow these steps in order:

  1. Ensure you are signed in with an administrator account.
  2. Double-check that the registry path and value name are spelled exactly as specified.
  3. Restart the Windows Security app from the Start menu or Task Manager.
  4. Sign out and sign back in, or restart the PC to apply policy changes.
  5. If using Group Policy, run gpupdate /force in an elevated Command Prompt to refresh policies.
  6. If the section is still visible after setting HideDeviceSecurity to 1, verify no conflicting policies are enabled under related Group Policy paths.
  7. On Home edition, if gpedit.msc fails, confirm you used the Registry method. Some third-party tools claim to add Group Policy to Home, but Microsoft does not support them.
  8. If the registry key was created under HKEY_CURRENT_USER by mistake, delete it and recreate under HKEY_LOCAL_MACHINE.

Frequently Asked Questions

Does hiding the Device Security section disable my antivirus?

No. Hiding the section only removes the interface panel. Windows Defender and other security features continue running normally.

Can I hide Device Security on Windows 11 Home?

Yes, but not with Group Policy. Use the Registry Editor method instead, as gpedit.msc is not included in Home edition.

Will this change affect other users on the PC?

Yes. The setting applies system-wide because it's configured under HKEY_LOCAL_MACHINE. All users will see the same visibility state.

How do I restore the Device Security section if I can’t see it?

Open Registry Editor, go to the DeviceSecurity key, set HideDeviceSecurity to 0 or delete the value, then restart the Windows Security app.

Is this setting available in Intune or Group Policy for organizations?

Yes. Organizations can deploy this via Group Policy or Intune using the same registry key and value under device configuration profiles.

Why doesn’t the Device Security section appear even when not hidden?

Some systems may not show it if certain features like Core Isolation are unavailable due to hardware or driver limitations. Ensure your system supports virtualization-based security.