Restore Opened Folders/Tabs Automatically on Restart of Windows/Firefox

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!