Registry Hack: Session Restore
Written by Saman Sadeghi on March 13, 2007 Add comments
Yesterday, we learned how to enable Session Restore within Windows. Today, we’ll learn how to achieve the same result with a Registry hack - because what good is a Windows tip from me without a way to play in the Registry?!
What Is It?
There is a feature in Firefox called Session Restore. If Firefox crashes or you close it with two or more tabs open, the next time you open it, Firefox will reopen those tabs!
We can emulate the same feature in Windows XP - but instead of tabs, you can have Windows reopen any open folders that were open the last time you shutdown!
Register Me
Before you start, please read this warning on editing the Registry.
- Open the Registry, hit the Windows Key+R
- Type the following and hit the “OK” button:
cmd - Navigate to the following key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\
CurrentVersion\Explorer\Advanced - Double-click the “PresistBrowser” DWORD value
- Change the “Value data” key to 1

- Click the “OK” button and close the registry.
Next time you restart, whatever window you had open at shutdown will reopen on startup!
Start Slide Show with PicLens LiteSub Zero Reads These Related Posts:
Another useful post, you want to start writing about vista, there will be lots of people starting to look for this kind of information…
Yeah, I have thought about it. I really don’t want to make Vista my primary OS because the DRM, but I really need to have a dual boot setup. The price is a pretty big negative too…
I wont be getting Vista, well not for a long time. I dual boot my laptop with Linux, it works well, the only problem is I now have work split across two OS’s, tend to do programming on linux and most other stuff in XP…..
I found that I spent more time getting Linux to work then working in Linux - but a am a total Linux n00b!
How long ago was that?
A couple of years ago I would have agreed with you, but not now.
I use Ubuntu, its designed with usability in mind, it went on really easily, more easily than XP for which I had to install the drivers for my touchpad and WiFi card (not built into this laptop, its a couple of years old)
Its a good distribution, I use it as I used to use Debian on a server, and Ubuntu is based on Debian…
The best thing about it Ubuntu / Debian is the package manager that allows you to browse available file repositories for software.
If you want to run web apps (like a local copy of your blog) on a pc its the way to go IMO.
Browse and select Apache PHP and MySQL for download, click to apply and its all set up and integrated, very nice
Compare that to messing with XML files on Windows
Its not all sunshine though, FTP clients are poor and so are graphics packages, but they are free / legal….
It was late last year… I spend so much time on the PC and have so much to do, I really need to maximize my time!
I may try it again some day…
I love this feature on Firefox. I used to use Opera as my browser more often because I didn’t realize that Firefox even had it. I asked around and found out it was there in the latest version so I haven’t used Opera really at all sine then. I do like Opera, but it does tend to have quite a few issues with some of the sites I use regularly. I’m pretty much hooked on Firefox now though so I haven’t really been back to Opera in quite a while. I was big Opera fanboy though…
Yeah, once I turned to Firefox I never found a reason to leave! Every version gets better then the last!
Your smilies take forever to load dude. At least that is the only thing I can notice that hangs your site up.
Just letting you know
Thanks, I don’t know why they take so long to load - they’re hosted locally!
That’s beyond my understanding of how that could be fixed. I’ve noticed it does it on other sites too though. Seems to be common with WP.
Actually man…I didn’t read this as wellas I should have. Doesn’t “session Saver” do the same thing as this does? It’s automatic too. Tools>Session Saver and do your settings to turn it on. Every time you open the browser it will open wehre you left off.
Looks like your still using FF1.5, it’s called Session Restore in FF2 - but it’s the same thing…
Hmmm…I wonder why I haven’t ben prompted to upgrade. Always have been before. Though tit would ahve done it automatically. Thanks for letting me know. I can’t possibly stay behind the times. That is just silly.
Durrr….I guess I read it even less that I though at first of how I read it less than I thought.
I’m jacked up on caffine and my ADD seems to have no limits right now.
Heh…just upgraded my Firefox. Can’t believe I didn’t know of an update. Oh well. I’m back up to speed now.
No worries - all of the plugins should have been upgraded by now so you’re in luck!
[...] Registry Hack: Session Restore [...]
Saman,
Do you have any idea why my threaded comments aren’t working on my Tech blog? I installed the plugin and activated it of course, but can’t seem to find any documentation it as to what else I need to do to get it to work. I assume there is code I need to put into the comments.php file or the single.php, but I’m not seeing it anywhere. Any suggestions?
There isn’t any code you need to add the the template - did you copy over the two files?
Aha, the evil lesson was handed over to the disciples and one of them implemented it right away. Recycle the comments every 5 days and you will get your dedicated commentators keep coming back to keep their rank here. Brilliant ideas from both the evil master and his loyal disciple.
lol, At first I thought I should keep it monthly, just for the numbers. Now I realize that it will keep people coming back - just for the free linkback!