Turn On or Off Ask to Close All Tabs in Microsoft Edge in Windows 10  

Page 1 of 3 123 LastLast
    Turn On or Off Ask to Close All Tabs in Microsoft Edge in Windows 10

    Turn On or Off Ask to Close All Tabs in Microsoft Edge in Windows 10

    How to Turn On or Off Ask to Close All Tabs in Microsoft Edge in Windows 10
    Published by Category: Browsers & Email
    05 Jan 2020
    Designer Media Ltd

    How to Turn On or Off Ask to Close All Tabs in Microsoft Edge in Windows 10


    Microsoft Edge is a new web browser added in Windows 10, and will be available across the Windows 10 device family. It is fast, compatible, and built for the modern Web.

    When you close Microsoft Edge while having more than one tab open, you will be asked Do you want to close all tabs? by default.

    This tutorial will show you how to turn on or off the Do you want to close all tabs? prompt in Microsoft Edge for your account in Windows 10.


    Contents

    • Option One: To Turn Off "Do you want to close all tabs" in Microsoft Edge
    • Option Two: To Turn On or Off "Do you want to close all tabs" using a REG file



    EXAMPLE: Microsoft Edge Do you want to close all tabs? prompt
    Turn On or Off Ask to Close All Tabs in Microsoft Edge in Windows 10-microsoft_edge_close_all_tabs.png






    OPTION ONE

    To Turn Off "Do you want to close all tabs" in Microsoft Edge


    1 Close Microsoft Edge while having more than one tab open.

    2 Check the Always close all tabs box, and click/tap on Close all. (see screenshot below)

    Turn On or Off Ask to Close All Tabs in Microsoft Edge in Windows 10-microsoft_edge_always_close_all_tabs.png






    OPTION TWO

    To Turn On or Off "Do you want to close all tabs" using a REG file


    The downloadable .reg files below will modify the DWORD value in the registry key below.

    HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\Main

    AskToCloseAllTabs DWORD

    0 = off
    1 = on


    1 Do step 2 (on) or step 3 (off) below for what you would like to do.


    2 To Turn On "Do you want to close all tabs" in Microsoft Edge

    This is the default setting.

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

    Turn_on_Microsoft_Edge_AskToCloseAllTabs.reg

    Download


    3 To Turn Off "Do you want to close all tabs" in Microsoft Edge

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

    Turn_off_Microsoft_Edge_AskToCloseAllTabs.reg

    Download


    4 Save the .reg file to your desktop.

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

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

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


    That's it,
    Shawn






  1. Posts : 1,773
    Windows 10 Home
       #1

    Brink; I started using Edge as my default browser after CU but Option 1 here doesn't work. The message window opens every time even if I tick the 'Always close all tabs' box. I used your regedit in Option 2. I can see the new reg entry but next time I close Edge with multiple tabs, the message window opens again and the reg entry is gone, deleted by system. Any other suggestions ? Thanks
      My Computer


  2. Posts : 68,668
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #2

    Hello @mrgeek, :)

    I just tested this on my system to see if anything may have changed, and it's still working for me.

    Is the AskToCloseAllTabs DWORD showing that it was set to 0 to turn it off?

    It's odd that this DWORD is getting deleted on your system. It shouldn't be deleted. It should always be set to either 0 (off) or 1 (on).

    If you don't mind, post a screenshot showing this registry key location to see if anything else may stand out as unusual.
    Last edited by Brink; 13 Apr 2017 at 12:44.
      My Computers


  3. Posts : 1,097
    Windows 10 Home x64 Version 1809 (OS Build 17763.437)
       #3

    Works like a charm . Thank you Sir. It would be nice if everything worked so well.
      My Computer


  4. Posts : 1,773
    Windows 10 Home
       #4

    "If you don't mind, post a screenshot showing this registry key location to see if anything else may stand out as unusual. "

    Still not sticking. Here's reg w/your key added, no problem closing all tabs by clicking 'X' in upper-R corner of Edge, no message.
    Turn On or Off Ask to Close All Tabs in Microsoft Edge in Windows 10-screenshot_1.jpg

    Now, re-open Edge with several tabs open. Click 'X' and message appears again. Filled in 'Always close ***' and closed Edge. Here's screen before closing, you see dialog box again
    Turn On or Off Ask to Close All Tabs in Microsoft Edge in Windows 10-screenshot_2.jpg

    Refreshed View of registry and, as you can see, key is now gone again.
    Turn On or Off Ask to Close All Tabs in Microsoft Edge in Windows 10-screenshot_3.jpg

    Just an annoyance but I know that on every other browser, ticking the box lets me close all by simply clicking 'X' in upper R. Any help or suggestions welcome and Thanks.
      My Computer


  5. Posts : 68,668
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #5

    I don't see anything for why it would be doing that.

    You might see if resetting Microsoft Edge may help.

    Reset App in Windows 10 - Windows 10 Apps Features Tutorials

    Be sure to back up your favorites first though.

    Backup and Restore Microsoft Edge Favorites in Windows 10 - Windows 10 Browsers Email Tutorials
      My Computers


  6. Posts : 1,773
    Windows 10 Home
       #6

    I'll try that. I just tested on another system. Set value to '1' to invoke dialogue box. Ticked box to 'Always close all' and reg value re-set to '0'. Registry on other computer has far fewer entries but is not primary browser. I'll post results after testing. Thanks for your time to look.
      My Computer


  7. Posts : 68,668
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #7

    I look forward to your results. :)
      My Computers


  8. Posts : 1,773
    Windows 10 Home
       #8

    SUCCESS ! I could not Reset in Apps & features because Edge is not listed. So I used the brute force method. Deleted contents of this folder -

    Reset Microsoft Edge to Default in Windows 10 - Windows 10 Browsers Email Tutorials

    C:\Users\%username\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe and the ran powershell (admin) command - Get-AppXPackage -AllUsers -Name Microsoft.MicrosoftEdge | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml” -Verbose}

    Opened Edge and a few tabs, checked the 'Always close ...' box and check registry and Voila, the entry is there and set to '0'
    Turn On or Off Ask to Close All Tabs in Microsoft Edge in Windows 10-screenshot_4.jpg

    and dialog box doesn't open any more in subsequent openings and closings of Edge. Now to reset my faves and settings. Thanks for your suggestions, Brink. Cheers.
      My Computer


  9. Posts : 68,668
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #9

    Great news.
      My Computers


 

Tutorial Categories

Turn On or Off Ask to Close All Tabs in Microsoft Edge in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 05:02.
Find Us




Windows 10 Forums