Saving IE 7's last open tabs

Posted: (EET/GMT+2)

 

I'm a fan of tabbed browsing, and in my opinion Internet Explorer 7 does it better than, say, Firefox. However, there seems to be a flaw in IE that makes it often crash whenever you have closed it with many open tabs, and then have chosen the option "Open these the next time I use Internet Explorer". For example, just last time I missed several good MSDN articles because when I the again started IE to load the pages I had opened the previous day, IE died. And if you restart IE after a crash, only the home page(s) is/are shown. Now, I of course wanted to know where IE stores the list of previously open tabs, and noticed with Process Monitor (RegMon successor) that the registry key is:

HKEY_CURRENT_USER\Software\Microsoft\
Internet Explorer\TabbedBrowsing\LastSessionPages

Now, it wouldn't take much C# code to write an utility that saves the contents of this key, and then reloads the key on request. I'll see if I have the time to write such a utility.