cancel
Showing results for 
Search instead for 
Did you mean: 

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

Highlighted
New User

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

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?

10 REPLIES
Site Moderator

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

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.

New User

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

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

Site Moderator

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

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.

New User

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

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?

Site Moderator

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

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)
New User

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

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.

Site Moderator

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

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.

New User

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

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.

New User

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

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])