TechBuzzPro

Hide or Show Windows Security Account Protection

· 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 Account Protection section in Windows Security on Windows 11 by modifying a Windows Registry setting. This feature allows you to customize what users see in the security dashboard, useful for reducing clutter or hiding sensitive sections in shared environments. However, editing the registry carries risks, so proceed with caution and ensure you back up the registry or create a system restore point first. This guide applies to all current versions of Windows 11 and requires administrator access.

What You'll Need

  • Administrator account on the Windows 11 device
  • Access to the Windows Registry Editor (regedit)
  • System restore point or registry backup (recommended)
  • Basic understanding of registry navigation

Step-by-Step

  1. Press Windows + R to open the Run dialog box. Type regedit and press Enter. If prompted by User Account Control, click Yes to allow the app to make changes.
  2. In the Registry Editor, navigate to the following path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Security\UI\HideAccountProtection. Note: If the UI or HideAccountProtection key does not exist, you will need to create it.
  3. To create missing keys, right-click on the Windows Security folder, select New > Key, and name it UI. Then right-click on UI, select New > Key again, and name it HideAccountProtection.
  4. With the HideAccountProtection key selected, look in the right pane for a 32-bit DWORD value named HideAccountProtection. If it does not exist, right-click in the right pane, select New > DWORD (32-bit) Value, and name it HideAccountProtection.
  5. Double-click the HideAccountProtection value to modify it. Set the value data as follows:
    • Set to 1 to hide the Account Protection section in Windows Security.
    • Set to 0 to display the Account Protection section.
  6. Click OK to save the change. Close the Registry Editor.
  7. Open Windows Security by clicking the Start button, typing "Windows Security", and selecting the app.
  8. Go to the main dashboard. The Account Protection section will now be hidden (if value is 1) or visible (if value is 0).
  9. If the change does not appear immediately, restart the Windows Security service or reboot the computer. To restart the service, open Task Manager (Ctrl+Shift+Esc), find "Windows Security Service" or "SecurityHealthService", right-click it, and select Restart.

Common Mistakes

  • Typing the registry path incorrectly—ensure capitalization and backslashes are correct. Registry paths are case-insensitive but must match the folder names exactly.
  • Editing the wrong registry hive—always use HKEY_LOCAL_MACHINE, not HKEY_CURRENT_USER, as this setting affects system-wide behavior.
  • Forgetting to create the necessary subkeys—if UI or HideAccountProtection is missing, the setting will not apply.
  • Setting the DWORD value to something other than 0 or 1—only these two values are valid. Values like 2 or "true" will not work.
  • Not restarting the service or rebooting—some changes require a restart of the SecurityHealthService or a full system reboot to take effect.

Tips

  • Before making changes, export the registry key by right-clicking it and selecting Export. This allows you to restore it quickly if something goes wrong.
  • Use descriptive names when saving registry backups (e.g., "Before_HideAccountProtection.reg") to avoid confusion later.
  • If managing multiple devices, consider scripting this change using a .reg file to apply the setting across machines.
  • Keep a text file with the correct registry path and values for future reference—this saves time and reduces errors.
  • Check for group policy conflicts—if the device is managed by an organization, group policies may override registry settings.

Troubleshooting

If the Account Protection section does not hide or reappear after changing the registry value, first verify that the registry path and value data are correct. Open Registry Editor and double-check that HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Security\UI\HideAccountProtection\HideAccountProtection exists and is set to 0 or 1.

If the key appears correct but the change still doesn’t apply, restart the Windows Security service via Task Manager. If the service won’t restart, reboot the computer. If the section remains visible despite a value of 1, the device may be domain-joined or managed by group policy. In such cases, contact your system administrator, as local registry changes may be overridden.

If you receive an access denied error when editing the registry, ensure you are logged in as an administrator and that you clicked Yes in the UAC prompt. If the issue persists, run Registry Editor as an administrator by right-clicking it in the Start menu and selecting "Run as administrator".

If the Windows Security app crashes or fails to open after the change, restore the registry from your backup. If you did not create a backup, manually delete the HideAccountProtection key and restart the computer.

Frequently Asked Questions

Does hiding the Account Protection section disable security features?

No. Hiding the section only removes the UI element from view. Core security functions like password monitoring and account alerts continue to run in the background.

Can this setting be applied through group policy?

There is no built-in group policy template for this setting. Organizations typically use registry-based policies or configuration scripts to deploy it across devices.

Will this change affect other users on the same PC?

Yes. Because the setting is stored in HKEY_LOCAL_MACHINE, it applies to all user accounts on the device.

Is it safe to edit the Windows Registry?

Editing the registry can be safe if done carefully, but incorrect changes can cause system instability. Always back up the registry or create a restore point before making changes.

Does this work on Windows 10?

No. This specific registry path and setting are unique to Windows 11. Windows 10 does not support hiding the Account Protection section via registry.

Can I hide other sections of Windows Security the same way?

Currently, only the Account Protection section can be hidden using this registry method. Other sections like Virus & Threat Protection or Firewall do not have equivalent registry toggles.