Contest Info: Win A Nintendo Wii On John Chow.com The Geek Bling Contest Deadline Has Been Extended!

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.

  1. Open the Registry, hit the Windows Key+R
  2. Type the following and hit the “OK” button:
    cmd
  3. Navigate to the following key:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\
    CurrentVersion\Explorer\Advanced
  4. Double-click the “PresistBrowser” DWORD value
  5. Change the “Value data” key to 1
  6. 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 Lite PicLens
This post is filed in: Registry Hacks, Windows Tips And Tricks and has been viewed 2,018 views times.

Contest Info: Win A Nintendo Wii On John Chow.com The Geek Bling Contest Deadline Has Been Extended!

Sub Zero Reads These Related Posts:


Sub Zero
  • Windows Tip: Session Restore
  • Speedy Links, August 29, 2007
  • Registry Hack: Automatically Kill All Running Programs At Shutdown
  • Registry Hack: Remove The Recycle Bin Icon From Your Desktop
  • Registry Hack: Disable Disk Cleanup Wizard Compression Calculation


  • RSS feed | Trackback URI

    23 Comments »

    Comment by Jez 2007-03-13 11:27:24

    MyAvatars 0.2

    Another useful post, you want to start writing about vista, there will be lots of people starting to look for this kind of information…

    Comment by Saman 2007-03-13 14:47:06

    MyAvatars 0.2

    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…

    Comment by Jez 2007-03-13 15:43:18

    MyAvatars 0.2

    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…..

    Comment by Saman 2007-03-13 15:47:24

    MyAvatars 0.2

    I found that I spent more time getting Linux to work then working in Linux - but a am a total Linux n00b!

    Comment by Jez 2007-03-13 16:23:05

    MyAvatars 0.2

    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….

    Comment by Saman 2007-03-13 16:29:14

    MyAvatars 0.2

    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…

    (Comments wont nest below this level)
     
     
     
     
     
     
    Comment by Jimi 2007-03-13 19:55:05

    MyAvatars 0.2

    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… :lol:

    Comment by Saman 2007-03-13 19:59:25

    MyAvatars 0.2

    Yeah, once I turned to Firefox I never found a reason to leave! Every version gets better then the last!

     
     
    Comment by Jimi 2007-03-13 19:57:20

    MyAvatars 0.2

    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 :lol:

    Comment by Saman 2007-03-13 19:58:41

    MyAvatars 0.2

    Thanks, I don’t know why they take so long to load - they’re hosted locally! :shock:

    Comment by Jimi 2007-03-13 20:02:21

    MyAvatars 0.2

    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.

     
     
     
    Comment by Jimi 2007-03-13 19:59:39

    MyAvatars 0.2

    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.

    Comment by Saman 2007-03-13 20:05:32

    MyAvatars 0.2

    Looks like your still using FF1.5, it’s called Session Restore in FF2 - but it’s the same thing…

    Comment by Jimi 2007-03-13 20:08:00

    MyAvatars 0.2

    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.

     
     
    Comment by Jimi 2007-03-13 20:06:32

    MyAvatars 0.2

    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.

    Comment by Saman 2007-03-13 20:08:13

    MyAvatars 0.2

    :lol: Yeah, I can see that from you last comment!

    :razz:

    Comment by Jimi 2007-03-13 20:16:44

    MyAvatars 0.2

    Heh…just upgraded my Firefox. Can’t believe I didn’t know of an update. Oh well. I’m back up to speed now.

    Comment by Saman 2007-03-13 20:27:08

    MyAvatars 0.2

    No worries - all of the plugins should have been upgraded by now so you’re in luck!

     
     
     
     
     
    Pingback by Windows Tip: Session Restore | Samanathon.com 2007-03-13 20:41:19

    MyAvatars 0.2

    [...] Registry Hack: Session Restore [...]

     
    Comment by Jimi 2007-03-13 20:50:24

    MyAvatars 0.2

    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?

    Comment by Saman 2007-03-13 22:05:14

    MyAvatars 0.2

    There isn’t any code you need to add the the template - did you copy over the two files?

     
     
    Comment by drt 2007-03-13 21:06:42

    MyAvatars 0.2

    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:

    Comment by Saman 2007-03-13 21:46:57

    MyAvatars 0.2

    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!

     
     

    Leave a Reply

    Name (required)
    E-mail (required - never shown publicly)
    URI
    Your Comment (smaller size | larger size)
    You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.
    Contest Info: Win A Nintendo Wii On John Chow.com The Geek Bling Contest Deadline Has Been Extended!