Windows 10: 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

    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
    13 Apr 2017
    Designer Media Ltd

    Published by


    Brink's Avatar
    Administrator

    Posts: 20,725

    Show Printable Version 


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

    information   Information
    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
    Name:  Microsoft_Edge_close_all_tabs.png
Views: 4453
Size:  11.5 KB






    Turn On or Off Ask to Close All Tabs in Microsoft Edge in Windows 10 OPTION ONE Turn On or Off Ask to Close All Tabs in Microsoft Edge in Windows 10
    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)

    Click image for larger version. 

Name:	Microsoft_Edge_always_close_all_tabs.png 
Views:	852 
Size:	130.0 KB 
ID:	28448






    Turn On or Off Ask to Close All Tabs in Microsoft Edge in Windows 10 OPTION TWO Turn On or Off Ask to Close All Tabs in Microsoft Edge in Windows 10
    To Turn On or Off "Do you want to close all tabs" using a REG file

    Note   Note
    The .reg files below make changes to the DWORD value in the registry key below.

    Code:
    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

    NOTE: 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. If prompted, click 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.    13 Apr 2017 #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 ComputerSystem Spec


  2. Posts : 20,725
    64-bit Windows 10 Pro build 16199
    Thread Starter
       13 Apr 2017 #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 ComputersSystem Spec


  3. Posts : 285
    Windows 10 Home x64, V1703 (10.0.15063.296)
       13 Apr 2017 #3

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

  4.    13 Apr 2017 #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.
    Click image for larger version. 

Name:	Screenshot_1.jpg 
Views:	48 
Size:	242.7 KB 
ID:	129938

    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
    Name:  Screenshot_2.jpg
Views: 1329
Size:  34.3 KB

    Refreshed View of registry and, as you can see, key is now gone again.
    Click image for larger version. 

Name:	Screenshot_3.jpg 
Views:	39 
Size:	225.5 KB 
ID:	129941

    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 ComputerSystem Spec


  5. Posts : 20,725
    64-bit Windows 10 Pro build 16199
    Thread Starter
       13 Apr 2017 #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 ComputersSystem Spec

  6.    13 Apr 2017 #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 ComputerSystem Spec


  7. Posts : 20,725
    64-bit Windows 10 Pro build 16199
    Thread Starter
       13 Apr 2017 #7

    I look forward to your results.
      My ComputersSystem Spec

  8.    13 Apr 2017 #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'
    Click image for larger version. 

Name:	Screenshot_4.jpg 
Views:	46 
Size:	110.5 KB 
ID:	129946

    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 ComputerSystem Spec


  9. Posts : 20,725
    64-bit Windows 10 Pro build 16199
    Thread Starter
       13 Apr 2017 #9

    Great news.
      My ComputersSystem Spec


 

Related Threads
How to Turn On or Off the Favorites Bar 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. ...
How to Change what New Tabs in Microsoft Edge Open with 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. ...
Hi All, I accidently put a tick in "Always Close All Tabs" when closing down Edge, how can I change this back as I don't want this setting, I thought it might be called "warnonclose" like IE within the Registry, however this is not the case. I...
How to Turn On or Off Cortana in Microsoft Edge in Windows 10 Cortana is your cloud-based personal assistant that works across your devices and other Microsoft services. Depending on the capabilities of your device and the version of Cortana...
How to Turn On or Off Windows Defender SmartScreen for Microsoft Edge in Windows 10 Microsoft Edge is a new web browser added in Windows 10. Microsoft Edge will be available across the Windows 10 device family. It is fast, compatible, and built...
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 01:16.
Find Us