The ability to automatically restore opened Windows folders and Firefox tabs when Windows restarts is very convenient for people who have the habit of opening many folders and tabs.
How to do it?
If you have messed with a lot with the settings in Windows, you’ve most likely already discovered these options. But if you don’t know (or don’t remember) where to enable it from, let me tell you.
To enable the automatic restoration of opened folders, open Windows Explorer (or any folder) and in its menu bar, go to the Tools menu. Select Folder Options and then click the View tab. This will open the dialog box.
If there isn’t a tick in front of the ‘Restore Previous Folder Windows at Logon’ option, just check it and there you go!
Similarly to Windows, Firefox offers a similar function. When you enable it, you will have your tabs from the previous session automatically restored when you launch Firefox.
To restore tabs on startup in Firefox, just open the Tools menu → Options → Main and have a look at the “When Firefox Starts:” option under Startup section. Click the arrow on the right of the drop-down list and select ‘Show my windows and tabs from last time’. When you are done, click OK and that’s it.
When Automatic Restoration Doesn’t Work
The above settings work almost every time you restart Windows and/or Firefox. One of the cases when the opened folders will not automatically restore is when Windows restarts after a crash. If Windows is terminated abnormally (for instance, when you didn’t restart your computer by selecting Start → Turn Off Computer or Restart but you unplugged it instead), the folders are not restored.
Also, if you have two or more instances of the same folder (i.e. C:), only one instance will open after restarting. Sure, this is a minor glitch to a great feature, so there is no reason to complain about.
Unlike Windows, when Firefox crashes, its tabs are usually restored. If Firefox has crashed, when you launch it, you see the following message:
If you select ‘Start New Session’, your tabs will not be restored. If you select ‘Restore Previous Session’, you will see the tabs that were opened before the crash.