en-US

Get user confirmation before closing a browser window with multiple tabs

Supported on: Microsoft Edge version 104, Windows 7 or later

Registry

HKLM Software\Policies\Microsoft\Edge\Recommended
HKCU Software\Policies\Microsoft\Edge\Recommended

Value name: AskBeforeCloseEnabled

Enabled: AskBeforeCloseEnabled = 1

Disabled: AskBeforeCloseEnabled = 0

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.