Forum Discussion

NewbUser's avatar
NewbUser
Copper Contributor
Dec 13, 2020

is it possible to disable the "Restore pages" message?

Edge boots with a restore pages message constantly, which doesn't go away unless you click on it.

 

There seem to be many options to disable it on chrome and chromium, but haven't found any that work for Edge Dev.

  • TomG693's avatar
    TomG693
    Copper Contributor

    Expierenced this issue after a window11 update. Tried all the usual fixes in the browser. Finally ran a few virus checks and hunter killers. All browsers (Edge, Chrome, FireFox) start right up and do not want to restore. NewbUser 

  • mechqueen's avatar
    mechqueen
    Copper Contributor

    NewbUser I have found that by going to settings, and then "Start, Home, and New Tabs", that I can delete pages from starting up. There are actually 3 options for Edge startup. The first option is Open new tab page, second option is Restore Pages, 3rd options is Open These Pages. I had a long list of pages that kept opening up on the 3rd option and so I delete most of them. I closed Edge, opened it back up, and this time only a few pages, the ones I left in the list on the 3rd option. I'm guessing pages get added if I do not close them out before exiting out of Edge. I also did not get the Restore Pages pop up.

  • jjschweigert's avatar
    jjschweigert
    Copper Contributor

    NewbUser from reading this post it looks like there is not a baked in setting to do this or even a reg hack. However here is some powershell code I found that will close all edge processes, including open windows, gracefully. By gracefully I mean once the windows close and I reopen them I do not see the restore pages prompt. Also I tested this with Close-Process in powershell and found that the restore pages prompt still appears on reopening edge.

     

    $edgeProcesses = Get-Process msedge -ErrorAction SilentlyContinue
    
    if($edgeProcesses.Count -le 0)
    {
        Write-Verbose -Verbose "No edge processes were found"
        #exit
    }
    
    while($edgeProcesses.Count -gt 0)
    {
        foreach($process in $edgeProcesses)
        {
            $process.CloseMainWindow() | Out-Null
        }
    
        $edgeProcesses = Get-Process msedge -ErrorAction SilentlyContinue
    }
  • Soham1010's avatar
    Soham1010
    Brass Contributor
    Well, I know it gets real annoying with Restore Pages or Sessions. Instead of disabling it completely, what if the the "Restore pages or session" messages popup, but instead what if change it into some of timed box or slide over menu message appeared from three dot menu or top right corner and automatically after five to ten seconds or so it automatically disappear.
    So, this way getting annoyed by it and waiting for to be closed how about let it disappear automatically.
    • AaBlu's avatar
      AaBlu
      Copper Contributor

      Soham1010 

      It's unclear to me why it should be appearing at all.

      If I crash with tabs open and want to get them back, I'll go to history and re-open them.

      But this message pops up when no session has been abnormally terminated, so it's doubly irritating to not be able to turn it off.

      • aharown's avatar
        aharown
        Copper Contributor
        I think the problem may be due in part to the use of extensions that keep Edge running in the background. I haven't had the opportunity to test this much, but it's a hypothesis: Edge doesn't shut down properly when certain extensions are installed, triggering the restore sessions message.

        In any case, there is a registry 'hack' that has, so far worked for me. Information here: https://www.technipages.com/how-to-disable-restore-pages-prompt-in-microsoft-edge
  • blackhillsken's avatar
    blackhillsken
    Copper Contributor

    NewbUser This was bugging (pun intended) me too. I'm using Windows 10 with Edge, so YRMV, but this worked for me:

    Open your browser. Click on the 3 dots all the way to the top right of the screen. 

    Click on "Settings"

    Click "System"

    At the top right, turn off "Startup Boost"

     

    If you have an old school hard drive, this might slow down startup of your browser a bit, but if you have a SSD, probably won't notice a difference.

    • Alexandra-R's avatar
      Alexandra-R
      Icon for Microsoft rankMicrosoft
      Hey there, I had to clean up this thread a bit but just to answer a few questions that came up in the (removed) comments: this issue should have been posted to a new thread or to a current thread not only from the forum rules but because the specific behavior you are experiencing is an emerging issue with a recent Stable build. The team working on Startup Boost is looking in to what is causing this currently, and yes the workaround is to disable Startup Boost. Please read the community rules and remember to be respectful. https://techcommunity.microsoft.com/t5/articles/microsoft-edge-insiders-community-guidelines/m-p/2214637
      • FiveThumbs's avatar
        FiveThumbs
        Copper Contributor
        I experience this too and my Startup Boost is not enabled. It seems simple enough to not display that message if you have the browser configured to not restore pages. This is of course different than assigning a default start page.

Resources