Windows can be configured to remember all currently open folders and restore them once you sign back in after logging off or restarting the PC.
The ability to restore previous folder windows at logon is not a Windows 10 exclusive feature. In fact, you can do it in Windows 8 and 7 as well. However, keep in mind the changes only apply to the current user account so if you want to enable the feature for multiple user accounts you’ll have to go through the steps below for each of them.
How to restore previous folder windows at logon in Windows 10
Open This PC in File Explorer and navigate to File -> Change folder and search options.
Switch to the View tab and scroll through the Advanced settings until you find the option called “Restore previous folder windows at logon” and enable it. Hit the OK button.
A second method to restore previous folder windows at logon in Windows 10 requires a simple Registry tweak.
Launch the Run dialog from the Start button’s context menu, type in regedit and click OK to launch the Registry Editor.
Navigate to the registry key below:
Right-click on the Advanced folder, create a new 32-bit DWORD value named “PersistBrowsers”. Set it to 1 and sign out then sign back into your user account to apply the tweak.