How to restore Chrome without "Restore" button and the files "Last Session" and "Last Tabs"?

31

15

I was using Chrome halfway when the computer crashed. Usually if I restart and re-run Chrome, there would be a Restore button to recover my lost Chrome session.

However, I restarted in Safe Mode, and re-ran Chrome. I saw no Restore button (just a blank window). Sensing trouble, I restarted the computer in "normal mode" and re-ran Chrome again. But there was still no Restore button. (Ctrl-Shift-T isn't working either.)

I quickly did a backup of the user data folder, but the files "Last Session" and "Last Tabs" are only 1 KB each (so the actual data is no longer within those files):

enter image description here

How do I do a "session restore" now that the Restore button is gone?

How do I do a "session restore" when Chrome has already overridden "Last Session" and "Last Tabs"?

(Is there any way to restore the lost session using other files like "History Index" and etc?)

Pacerier

Posted 2011-10-03T10:52:52.980

Reputation: 22 232

3

@Vadzim, Also found http://superuser.com/q/635436/78897 . But seeing through all the answers there too, there seems to be no solution once Chrome has overridden Last Session and Last Tabs files. Darn Chrome seriously should provide more data robustness and start giving more respect to users' data.

– Pacerier – 2016-05-25T18:43:20.210

For me right clicking on the browser tab bar, and selecting reopen closed window worked, repeating for each window that was in my previous session, – JStrahl – 2018-03-19T11:24:31.900

Answers

27

C:\Users\%username%\AppData\Local\Google\Chrome\Application\chrome.exe --restore-last-session

(suggestion was to create a shortcut since this appears to not be a one time occurrence.  I have created the shortcut, but have not tested it yet.)

Way back someone posted this solution for basically manually pulling the tabs even after missing the .1 sec 'RESTORE' FROM CRASH.

But I was able to recover my tabs and here is what I did:

  • Kill your Chrome via Task Manager
  • Go to C:\Users\%username%\AppData\Local\Google\Chrome\User Data\Default
  • Rename "Current Session" to "Current Session.old"
  • Rename "Current Tabs" to "Current Tabs.old"
  • Rename "Last session" to "Current Session"
  • Rename "Last Tabs" to "Current Tabs"
  • Restart Chrome and there you go!

This worked after Ctrl+Shift+T would not (no response for even the 1st tab), and after right-clicking on new tab and selecting 'restore' was greyed out. Of course I already had the Settings|'On Startup|Continue where I left off' selected long ago, to no avail.

Now if we could only stop Google from crashing in the first place.

I will be checking out "SessionBuddy extension" for Chrome as well, but this solved last night's dilemma.


Of course, if your home/profile directory is somewhere other than C:\Users\%username%, use the appropriate path.

Damian

Posted 2011-10-03T10:52:52.980

Reputation: 321

1Remember, --restore-last-session. – Константин Ван – 2018-03-31T10:03:53.577

1Windows crashed on me, so I had to reinstall it, and the old localappdata for Chrome was stored in Windows.old, so I copied over the Current/Last Session/Tabs files, and ran Chrome with --restore-last-session, and everything was back. – Liggliluff – 2018-05-27T19:05:09.343

I backed up the Last versions of both files and tried all combinations possible of them and the dubious empty Current versions. I start Chrome and crash it manually, replace the files, and start again, get the session restore floating panel, say Restore aaand... Nothing happens. Nothing starts. – Noein – 2018-06-22T22:03:23.940

1Can i suggest that you reverse the order of these suggestions. I had already started chrome once when I notice this problem and started searching for solutions. Then I came here and tried --restore-last-session... and now my Last Tabs is no longer useful. I'll have to go dig out a backup. – craq – 2019-03-03T00:26:46.613

or at least suggest to make a backup of the User Data folder. For reference, on ubuntu linux the folder is in ~/.config/google-chrome – craq – 2019-03-03T00:51:28.417

2+1 Awesome (I missed the 1 second (!?) restore from crash notification - damn you Chrome!) - For those using XP... C:\Documents and Settings\%username\Local Settings\Application Data\Google\Chrome\User Data\Default – MrWhite – 2013-09-22T10:32:42.347

LastSession and Last Tabs are both 0 bytes. I really doubt this is going to work. – mcv – 2013-11-22T12:11:53.650

+1 Awesome, this saved me from a lot of trouble. Thanks! I would give it 2 upvotes, but that is not possible :( – jaraics – 2014-01-23T17:14:59.597

1Great answer! It saved me once more, so I honored it with a bounty. Thanks again! – jaraics – 2014-01-31T08:44:48.590

3

The History Index files contain your navigation history. The one without dates is from the current month.

With regards to restoring the previous session, try passing --restore-last-session in the command line.

Aluísio A. S. G.

Posted 2011-10-03T10:52:52.980

Reputation: 2 278

This is working however my "last session" is now not the session I wanted anymore (when it crashed), I'd guess essentially what is required is a --restore-last-last-session or a way to copy around the data in C:\pocket\chrome such that I can get the --restore-last-session to restore the "crashed session". – Pacerier – 2011-10-03T18:18:09.370

2Sorry, there is no way to do this, as it only preserves the current and last sessions. – Aluísio A. S. G. – 2011-10-03T22:15:52.950

1Where does Chrome save the data for the sessions before the previous session? – Pacerier – 2011-10-05T01:30:56.027

1It doesn't. Only the current and previous sessions are stored. – Aluísio A. S. G. – 2011-10-05T23:55:54.550

1

Just gone through that issue now and wanted to restore a browser window, on desktop, with 8 tabs opened.

I solved it by going to browser’s History and there, on top, I could read under “Recently Closed” the following “8 tabs” and “5 tabs”.

From reading the possibilities I just had to press had the “8 tabs”.

I clicked it and the tabs were restored.

Gonçalo Peres 龚燿禄

Posted 2011-10-03T10:52:52.980

Reputation: 375

1

Take a look at the recently closed link

Chrome recent closed

Your previous tabs are likely to be there.

Sathyajith Bhat

Posted 2011-10-03T10:52:52.980

Reputation: 58 436

I've checked that initially. It wasn't there. Now there is but it is looking like this: http://screenshoot.me/WHzjfA

– Pacerier – 2011-10-03T18:09:51.113

1

I have (what I think is) a surefire way of restoring your tabs, as long as you haven't recently deleted your internet history.

Go to history in your browser (ctrl+h) and keep scrolling until you start recognizing the links/pages you lost in the crash. Every tab you're looking for should be there in a row. The reason they are, is that Chrome saves your whole sessions every time you start it up.

user298123

Posted 2011-10-03T10:52:52.980

Reputation: 11

5This doesn't work for me... I usually kill tabs as they open up... Stuff that has been open for months do not show up in the history... – Gert van den Berg – 2017-11-13T20:29:37.297

0

If you are on a Mac you can use Time Machine:

  1. Quit Chrome

  2. Navigate to Users/{your-user}/Library/Application Support/Google/Chrome/Default

  3. Select the file "Last session" and then select "Enter Time Machine" from the time machine menu, go back to prior to the crash and restore the 4 files:

    • Current Session
    • Current Tabs
    • Last session
    • Last Tabs
  4. Launch Chrome

Teshy

Posted 2011-10-03T10:52:52.980

Reputation: 1

-1

Go to History and click Closed Tabs.

It will open another window with all tabs that had been closed previously.

Kuks

Posted 2011-10-03T10:52:52.980

Reputation: 1