Skip to content
Browsers

How to Enable or Disable Enhanced Security Mode in Edge

Richard
Written by
Richard
Updated 5 min read
How to Turn “Auto-verify” On or Off in Google Chrome
How to Turn “Auto-verify” On or Off in Google Chrome
Before you start
  • 8 steps
  • Needs administrator rights
  • Includes a restart or sign-out

Enhanced Security Mode in Microsoft Edge is a built-in safety setting. It applies stricter protections to sites you visit, which makes it harder for malicious code to reach your system. You can turn the mode on or off in Edge itself. You can also control whether people on your computer are allowed to bypass the security rules for unverified sites. This guide covers the bypass control.

Companies often lock this setting down with the EnhanceSecurityModeAllowUserBypass policy so that nobody can change it. If you manage a single PC, you can set the same policy yourself in the Registry Editor. It works on Windows 11 Home, Pro, Enterprise and Education, because it doesn’t need Group Policy.

⚡ Quick Answer

To control whether users can bypass Enhanced Security Mode in Edge, open Registry Editor (regedit) as an administrator and go to 🗝️HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge. Set the DWORD EnhanceSecurityModeAllowUserBypass to 0 to block bypassing, or delete it to restore the default. Restart your PC to apply the change.

Advertisement

Enable or disable Enhanced Security Mode bypass using the Windows Registry editor

The bypass control lives in one value in the Windows Registry, under the Microsoft Edge policy key. You change the EnhanceSecurityModeAllowUserBypass value to turn the bypass off. You delete it to go back to the default. This works well when you want to manage browser security on your computer without using Edge’s own settings page.

⚠️WarningYou need to be signed in with an administrator account. Editing the registry can break things if you change the wrong value, so only touch the value named below.
Advertisement
  1. Press the Windows key, type regedit, and press Enter.
  2. Click Yes if User Account Control asks whether to allow the app to make changes. Registry Editor opens.
  3. In the left sidebar, go to the path below. You can also paste it into the address bar at the top of Registry Editor.
💻Code
ComputerHKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftEdge

If the last key in that path is missing, the policy has never been set on this PC. Right-click the parent key, choose New Key, and give the new key the missing name. Then select it so its contents show in the right pane.

  1. Look in the right pane for EnhanceSecurityModeAllowUserBypass (type REG_DWORD). Don’t confuse this key with any other Edge key, such as an Explorer key. You only need the key from the path above.
  2. If the value is there, double-click it. The Edit DWORD (32-bit) Value window opens.
  3. If the value is missing, right-click a blank area of the right pane and choose New DWORD (32-bit) Value. Type EnhanceSecurityModeAllowUserBypass as the name and press Enter. Then double-click the new value to open it.
  4. Type 0 in the Value data box. This blocks users from bypassing the security restriction.
  5. Click OK. The right pane should now show the value with data 0x00000000 (0).
turn bypass enhanced security mode on or off in Edge
turn bypass enhanced security mode on or off in Edge

To go back to the default behavior and let users bypass Enhanced Security Mode, delete the value. Right-click EnhanceSecurityModeAllowUserBypass in the right pane, choose Delete, and click Yes to confirm. Deleting the value returns Edge to its default, because with no policy set the choice is left to the user.

💡TipRestart your computer to apply the change, whether you added the value or removed it. After you sign back in, you can open edge://policy in Edge to see which policies it is using. If the setting doesn’t seem to apply, check that the value name is spelled exactly as shown and that it is a DWORD, not a string.

Conclusion:

  • You turned the bypass for Enhanced Security Mode in Microsoft Edge on or off using the Windows Registry Editor.
  • You now know how to create the EnhanceSecurityModeAllowUserBypass value, set it to 0 to block bypassing, and delete it to restore the default.
  • Enhanced Security Mode makes browsing safer, but there are times when you may need to bypass it, for example for a trusted internal site that Edge can’t verify.
  • If you have feedback or tips of your own, share them in the comments.

Frequently asked questions

How to switch off protected mode in edge?

Edge has no setting called protected mode. Its closest match is Enhanced Security Mode. Click the three-dot menu, choose Settings, then open Privacy, search, and services and select Security. Switch Enhanced Security Mode to off. Turning it off lowers protection, so only do this for sites you trust.

How to remove edge security?

You can't remove Edge's built-in security features, and you shouldn't try. You can turn off the stricter setting called Enhanced Security Mode instead. Open Settings from the three-dot menu, go to Privacy, search, and services, select Security, and switch Enhanced Security Mode to off.

How to disable protected mode in edge?

Edge doesn't use a setting named protected mode. Disable Enhanced Security Mode instead. Open the three-dot menu, choose Settings, select Privacy, search, and services, then click Security. Switch Enhanced Security Mode to off. Edge will stop applying the stricter protections to the sites you visit.

How to open ms edge with disabled web security?

Edge has no supported way to start with web security turned off. Hidden command-line flags can force it, but they strip protections from every site you open, so avoid them. To turn down Edge's protection without that risk, turn off Enhanced Security Mode in Edge's Security settings instead.

How to turn off enhanced security?

Open Edge's Settings from the three-dot menu. Select Privacy, search, and services, then click Security. Under Enhanced Security Mode, switch the toggle to off. Leaving it off removes the extra protection for the sites you visit, so switch it back on when you finish.

How to turn on protected mode edge?

Edge doesn't have protected mode, but you can turn on Enhanced Security Mode for stronger protection. Open Settings from the three-dot menu, select Privacy, search, and services, then click Security. Switch Enhanced Security Mode to on, then choose whether it applies to all sites or only some.

Still have a question?

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

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

No comments yet — be the first to share your thoughts!

Leave a Comment

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