Browsers and Mail Enable or Disable Ask Before Closing window with Multiple Tabs in Edge


  • Staff
Microsoft_Edge_banner.png

This tutorial will show you how to enable or disable Ask before closing a window with multiple tabs in Microsoft Edge for your account or all users in Windows 10 and Windows 11.

The Microsoft Edge web browser is based on Chromium and was released on January 15, 2020. It is compatible with all supported versions of Windows, and macOS. With speed, performance, best in class compatibility for websites and extensions, and built-in privacy and security features.

When you close a Microsoft Edge window with multiple tabs open, you will be presented with a Do you want to close all tabs? confirmation dialog by default.


Contents

  • Option One: Turn Off Ask Before Closing window with Multiple Tabs in Microsoft Edge for Current User from Confirmation Dialog
  • Option Two: Turn On or Off Ask Before Closing window with Multiple Tabs in Microsoft Edge for Current User from Settings
  • Option Three: Enable or Disable Ask Before Closing window with Multiple Tabs in Microsoft Edge for All Users using REG file


EXAMPLE: Microsoft Edge "Do you want to close all tabs?" confirmation dialog

Do_you_want_to_close_all_tabs-1.png
Do_you_want_to_close_all_tabs-2.png





Option One

Turn Off Ask Before Closing window with Multiple Tabs in Microsoft Edge for Current User from Confirmation Dialog


1 Close Microsoft Edge with multiple tabs open.

2 Check Don't ask me again in the confirmation dialog. (see screenshot below)

3 Click/tap on Save and close all.

Do_you_want_to_close_all_tabs-2.png





Option Two

Turn On or Off Ask Before Closing window with Multiple Tabs in Microsoft Edge for Current User from Settings


1 Open Microsoft Edge.

2 Click/tap on the Setting and more (Alt+F) 3 dots button, and click/tap on Settings. (see screenshot below)

Microsoft_Edge_Settings.png

3 Click/tap on Appearance in the left pane. (see screenshot below)

4 Turn on (default) or off Ask before closing a window with multiple tabs for what you want under Customize browser on the right side.

Microsoft_Edge_ask_before_closing.png





Option Three

Enable or Disable Ask Before Closing window with Multiple Tabs in Microsoft Edge for All Users using REG file


You must be signed in as an administrator to use this option.

This option uses the AskBeforeCloseEnabled policy for Microsoft Edge.


1 Do step 2 (always on), step 3 (always off), or step 4 (default) below for what you want.

2 Always Turn On Ask Before Closing window with Multiple Tabs in Microsoft Edge for All Users

This will override and gray out Option One and Option Two.


A) Click/tap on the Download button below to download the REG file below, and go to step 5 below.​

Always_Enable_Ask_before_close_with_multiple_tabs_in_Microsoft_Edge_for_all_users.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge]
"AskBeforeCloseEnabled"=dword:00000001

3 Always Turn Off Ask Before Closing window with Multiple Tabs in Microsoft Edge for All Users

This will override and gray out Option One and Option Two.


A) Click/tap on the Download button below to download the REG file below, and go to step 5 below.​

Disable_Ask_before_close_with_multiple_tabs_in_Microsoft_Edge_for_all_users.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge]
"AskBeforeCloseEnabled"=dword:00000000

4 Default User Choice to Turn On or Off Ask Before Closing window with Multiple Tabs in Microsoft Edge

This is the default setting to allow using Option One and Option Two.


A) Click/tap on the Download button below to download the REG file below, and go to step 5 below.​

Default_user_choice_Ask_before_close_with_multiple_tabs_in_Microsoft_Edge.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge]
"AskBeforeCloseEnabled"=-

5 Save the .reg file to your desktop.

6 Double click/tap on the downloaded .reg file to merge it.

7 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

8 If Microsoft Edge is currently open, then close and reopen Microsoft Edge to apply.

9 You can now delete the downloaded .reg file if you like.


That's it,
Shawn Brink


 

Attachments

  • Microsoft_Edge.png
    Microsoft_Edge.png
    11.2 KB · Views: 56
  • Always_Enable_Ask_before_close_with_multiple_tabs_in_Microsoft_Edge_for_all_users.reg
    654 bytes · Views: 128
  • Default_user_choice_Ask_before_close_with_multiple_tabs_in_Microsoft_Edge.reg
    628 bytes · Views: 117
  • Disable_Ask_before_close_with_multiple_tabs_in_Microsoft_Edge_for_all_users.reg
    654 bytes · Views: 124
Last edited:

Latest Support Threads

Back
Top Bottom