Get user confirmation before closing a browser window with multiple tabs

Policy ID
AskBeforeCloseEnabled_recommended
Scope
Computer Configuration, User Configuration
Supported on
Microsoft Edge version 104, Windows 7 or later
Source
Microsoft Edge Policy Templates (version 155.0.4283.45)
Category
Microsoft Edge - Default Settings (users can override)

Description

This policy lets you configure whether users see a confirmation dialog before closing a browser window with multiple tabs. This dialog asks users to confirm that the browser window can be closed.

If you enable this policy, users will be presented with a confirmation dialog when closing a browser window with multiple tabs.

If you disable or don't configure this policy, a browser window with multiple tabs will close immediately without user confirmation.

Registry

ComputerHKEY_LOCAL_MACHINE
  • AskBeforeCloseEnabledREG_DWORD
UserHKEY_CURRENT_USER
  • AskBeforeCloseEnabledREG_DWORD

Other policies in the same category

View all policies in this category (68)