Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Restore previous session and Recently closed Windows are grayed out; I cannot restore

  • 10 replies
  • 104 have this problem
  • 31 views
  • Last reply by cor-el

more options

Restore previous session and Recenly closed windwos under History are grayed out. Files sessionstore.js and sessionstore.bak cannot be found when I run Search for them. The last winodw that appeared after the crash and tried to restore had this information:

Well, this is embarrassing. Firefox is having trouble recovering your windows and tabs. This is usually caused by a recently opened web page. You can try:

   Removing one or more tabs that you think may be causing the problem
   Starting an entirely new browsing session

But there was no list of tabs in this window and the button Restore was grayed out and there was not an option to start a new session only button Close. I hit Close.

Just before that crash I had two windows with multiple tabs opened. How can I restore those sessions? Wher can I find the information about them?

Restore previous session and Recenly closed windwos under History are grayed out. Files sessionstore.js and sessionstore.bak cannot be found when I run Search for them. The last winodw that appeared after the crash and tried to restore had this information: Well, this is embarrassing. Firefox is having trouble recovering your windows and tabs. This is usually caused by a recently opened web page. You can try: Removing one or more tabs that you think may be causing the problem Starting an entirely new browsing session But there was no list of tabs in this window and the button Restore was grayed out and there was not an option to start a new session only button Close. I hit Close. Just before that crash I had two windows with multiple tabs opened. How can I restore those sessions? Wher can I find the information about them?

All Replies (10)

more options

Make sure that you do not run Firefox in (permanent) Private Browsing mode (Never Remember History).

  • Tools > Options > Privacy > Firefox will: "Use custom settings for history"
  • Deselect: [ ] "Always use private browsing mode"

In case you are using "Clear history when Firefox closes":

  • do not clear the Browsing History

Note that clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, and passwords.

more options

Thank you but I checked it; Under Privacy I have Remember history. I checked all the recommendations from the posts you refer to and I have them set correctly in all Tabs under Options

more options

You can check the browser.sessionstore.* prefs on the about:config page and reset user set (bold) browser.sessionstore.*prefs to the default value via the right-click context menu to make sure that Session Restore is enabled and working properly.


If you use cleanup software like CCleaner then check the settings for the Firefox application.

more options

Thanks but which one, please? I reset browser.sessionstore. restore_on_demand to true? It was the only one bold. But it did not help. Is this the right one? Do I need to restart Firefox now?

more options

The browser.sessionstore.restore_on_demand pref is the setting in Options > Tabs: Don’t load tabs until selected.

You can use this button to go to the Firefox profile folder:

  • Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
more options

Thank you very much. I entered the Profile but am unsure what to do in there. I do not see browser.session.store. there. I will look at it again tomorrow and will let you know.

more options

You won't find browser.session.store in the Firefox profile folder, but you can check if you have any sessionstore files.


You can try to create a new profile as a test to check if your current profile is causing the problems.

See "Creating a profile":

If the new profile works then you can transfer some files from an existing profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over the problem.

more options

I lost too many saved pages and bookmarks because the Restore Previous Sessioin option disappeared from my home page and was grayed out under history. If you're not computer savvy and the complicated suggested fixes are over your head or don't work, save all your Firefox bookmarks to Google Chrome. Delete Firefox and start using Google Chrome. I have never had this problem with Google Chrome.

more options

Just happened to me after a system crash. I back up systemstore.js nightly. I retrieved the latest version but it appears to have been corrupted. Fortunately, the previous version worked. Lesson: Back up systemstore.js routinely and use a backup system that keeps multiple versions. Unfortunately, this won't help you get your session back if you haven't been backing up this folder. (On my Win7 system the file is in C:\Users\[username]\AppData\Roaming\Mozilla\Firefox\Profiles\[folder])

more options

If the sessionstore.js file isn't very large then you can try to validate the file online.