Share via

How to restore (not recently closed) tabs ?

Sara Jimenez 5 Reputation points
2024-05-10T14:58:40.7733333+00:00

I have opened %localappdata%\Microsoft\Edge\User Data\Default and I think I found the tabs I am looking for.

Then, I tried to open lsauer.net but it doesn't. Does this work for others ? If not, is there an alternative ?

Microsoft Edge | Microsoft Edge development

3 answers

Sort by: Most helpful
  1. Anonymous
    2024-05-13T06:23:24.12+00:00

    Hi @Sara Jimenez,

    Normally, to restore tabs, you'll only need to go to History (Ctrl+H) --> Recently closed. This is the recommended way to restore your tabs.

    If you need to restore the tabs that are not listed there, go to %localappdata%\Microsoft\Edge\User Data\Default\Sessions, and you will find some files like Session_xxx or Tabs_xxx. These files store your current tab information. Assuming you already have these files and you want to restore them:

    • Make sure you have both the session/tab files copied in another directory.
    • Crash Microsoft Edge by ending the process in task manager.
    • Delete all the existing files in the Sessions directory and copy your already-prepared session/tab files here.
    • Re-open Microsoft Edge and you'll be prompted with the restore session dialog or the ability to go into History and restore each window from that session. Just do the "restore" and you will find the expected tabs show up.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best Regards,

    Shijie Li

    4 people found this answer helpful.

  2. fzameen 5 Reputation points
    2024-11-03T23:11:22.4466667+00:00

    Hi @Anonymous Thanks very much for the above tip. I stumbled upon it when I decided to write a solution/fix for it after searching several websites and not finding an answer, there was one extra step I had to perform which opened all the previous session tabs for me (same state as before the windows update restart)

    Steps I took in restoring the Edge session after a Windows update reset of the Edge settings:

    • Browse to the following location

    %localappdata%\Microsoft\Edge\User Data\Default\Sessions, and you will find some files like Session_xxx or Tabs_xxx.

    • Make sure you have both the session/tab or just copy all files into another directory.
    • Force close Microsoft Edge by ending the process in Task Manager.
    • Delete all the existing files in the Sessions directory (above path)
    • IMPORTANT: find the old file with the largest size, in my case before the Windows update session file. Rename the old session file name with the latest session file name (full name inc number) created by Edge
    • Copy the renamed session files back into the sessions folder (same above session path).
    • Open Microsoft Edge and you'll be prompted with the restore session dialogue or the ability to go into History and restore each window from that session. Just do the "restore" and you will find the expected tabs show up.

    Hope the above will be of value to some in saving hours of research.

    All the Best,

    Fais

    2 people found this answer helpful.
    0 comments No comments

  3. 2EPIC���� 35 Reputation points
    2025-07-13T21:19:34.44+00:00

    Sara, this is what you need to do if you ever lose your Tabs on restart or due to a crash or for whatever reason:-

    I lost all my 300 PLUS! Tabs across 8 different Windows when I forgot to press the Restore button option which appeared, as usual. after I turned my computer back on (obviously this solution still works even if you don't get the Restore button option come up at all when you turn your computer back or even if your Tabs just disappear for whatever reason):-

    1. DO NOT CLOSE YOUR COMPUTER AND DO NOT CLOSE THE EDGE BROWSER!! or you will very likely lose the Session and Tab files containing your lost Tabs, as Microsoft in its infinite wisdom only keeps your last closed browsing session, so they will be deleted and replaced if you shut Edge.
    2. In Edge, hit the three dots (top right), then "Settings", then “Start home and new tab page” then on that page make sure that you DEFINITELY have the “Open tabs from the previous session” showing as checked, because that option is what makes it look at the session and tabs files page to pick up your last session every time Edge is restarted, so if that particular option isn't checked, then my (this) solution cannot work!! - just in case Edge has, for some reason, during a reset or who knows what other reason, changed your option to either of the other two options, which may well be what has just caused your problem in the first place!! So, please, ALWAYS check this first - even if you are certain it will be on that setting already!!!:-
    3. Run this command:- c:\users\enter your own username here\appdata\local\microsoft\edge\user data\Default\sessions
    4. On the resulting File Explorer page you will see either 2 (or possibly 3) Session file lines and Tab file lines. Your lost Session file you need will be easy to spot as it will be much larger than the other Session files showing, in my case it was 9 MB, and the Tab file I needed was also larger than the other Tab files, they will both also very likely be the oldest files showing. This page is the page the Edge browser refers itself to when it offers to “Restore Tabs”, and all it is doing is simply offering to restore the Session and Tab files that you last closed and are showing on this page. So, - BUT DO NOT DO THIS YET!!! - NOT TILL YOU REACH STEP 6 BELOW!!! - you simply need to delete from this page all the NEWER session and tab files showing, just leaving your (lost) OLD Session and Tab files showing, and Edge will then, when it restarts, simply pick up on these and offer to restore them! Job done!!!!
    5. End the Edge browser App in Task Manager. It is just the one Edge line in the “Apps section” at the top of Task Manager you need to shut, not the hundreds in the section below 😀.
    6. Make sure the Edge browser has shut completely, and you can now go back to the above Session and Tab files page (Point 3 above), and NOW, simply, (but choosing carefully!!) delete all the newer Session and Tab files I refer to in Step 4 above, leaving only your older, larger, lost, Session file and Tab file you want Edge to offer to restore, showing on the page. You also, by the way, do NOT have to do what Chris MacGregor says in the Chrome link MSPaint4Life refers you to on a similar Microsoft question about reopening lost tabs, where he says you have to copy the names of the new Session and Tab files onto the old Session and Tab files you wish to reactivate. I reasoned that that would not be necessary as you are deleting the newer files from the only page Edge looks at when is offers to restore Tabs anyway, so it will purely look at only your old Session and Tab files left on the page and simply offer to re-open those, the name on them would be irrelevant to it, and that is indeed exactly what happened when I reopened Edge and it restored my old session perfectly without any need to rename them.
    7. Final step, having deleted the newer Session and Tab files, leaving only the older Session and Tab files (the ones you wish to restore), simply re-open Edge browser, and for me (as it should do for you!), it opened with a new Tab page, as usual, and came up with the usual “Restore Tabs” option, which I remembered to click this time!! 🤣🤣🤣, and, to my amazement I immediately got all my lost hundreds of Tabs and 8 separate Windows ALL re-opened!!!😁😁😁😁 – EXACTLY as they were before! - I could not believe I had finally found something which actually worked!!! After having lost all my Tabs and been totally unable to recover them on SO MANY!!! previous occasions!! - I was absolutely ECSTATIC!!!!! - hopefully you will have the same joy too!!!🤞🤞🤞🤞

    UPDATE! - On point 7, as you probably know, you will probably not get the “Restore Tabs" option come up any longer as Microsoft have changed it, and now, every time you restart Edge, all the Windows and Tabs should now just restore automatically/fairly instantly without having to click on any “Restore Tabs" message - as long as you have the option checked in point 2 I mention above of course 😀.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.