Another very useful hack! You can specify whether the folders that were open at the point of the last shutdown should re-open when the system starts up next. You can now reboot in the middle of exploring your computer, safe in the knowledge that all the windows will come back up when you restart.
Navigate to:
HCU\ Software\ Microsoft\ Windows\ CurrentVersion\ Explorer\ Advanced
Change the DWORD value PersistBrowsers to 0 to not re-open the folders when the system restarts. A value of 1 should be specified if the folders are to be re-opened.

