How do I fix a Google Chrome corrupt settings file?

Solution 1:

For the why: because you're unlucky. More seriously, many things can cause a file corruption. It may come from a power failure during a write (even if you didn't notice it, you computer may not even rebooted), or a software bug in google chrome causing it to write garbage to its files.

It could also be an NMR Spectrometer operating too close to your computer (well, depending on where you work, but it happened to a friend of mine and I couldn't resist) .

For the how to fix it:

  • You should make backups of everything is important to you before this kind of things happens. This includes your mail directory, browser settings, cat pictures, etc.

    I'm sorry because this is probably not what you want to hear. But remember that you only lost one file. Next time it may be your entire hard disk.

  • If you are very (I mean very) motivated, you could still save your corrupted file before overwriting it (maybe it's too late), then look at google chromium source code to learn things about the file format, and then try to extract as much information as you can from your damaged file.

Solution 2:

If you sign in via Chrome and sync everything, it doesn't really matter.

If this happens again, just sign back in and your bookmarks, cookies, extensions, etc. will all reappear.

Solution 3:

Try this

  1. Close any Chrome windows that might be open.
  2. Click Windows Start at left end of Task Bar, put the following in Search Box or Run, and press [Enter]: %LOCALAPPDATA%\Google
  3. That should open an Explorer window with folders including "Chrome".
  4. Right-click on the "Chrome" folder, and then click "Restore previous versions" in the pop-up menu to open the Chrome Properties window.
  5. Click to select the top (most recent) version, and then click "Restore...". That should pop up a confirmation window ("Are you sure you want to restore..."). Click Restore.
  6. Windows should then copy a bunch of files to restore Chrome, finishing with "The folder has been successfully restored to the previous version."
  7. Click OK to close the message, then close the Properties and Explorer windows.
  8. Launch Chrome. If you get a "didn't shut down properly" message just close it with the "X" at the right (or ignore it).

Notes: This procedure is covered in Windows 7 Help and Support under "Recover lost or deleted files" in the section "To restore a file or folder to a previous state". You can try restoring an earlier version if necessary. If all of this doesn't work, you can start over by closing Chrome and deleting the Chrome folder.

From http://tips.navas.us/2011/05/how-to-restore-google-chrome.html

Solution 4:

Fix: Corrupt history file

Firstly make sure Chrome is switched off. Go into task manager and make double sure there are no instances of it running. If it has been open it is sometimes easier to close it and then reboot your machine to ensure it is closed. Now open file manager and go to C:\Users*your id*\AppData\Local\Google\Chrome\User Data\Default. Replace your id with your user id. Now look for a file named History and delete it. Just that one file. If it was like mine it will probably be a large file. Mine was 500Mb. Close file manager and open Chrome and all should be ok. A new History file will be created and it will now be just a few kbs.

from https://productforums.google.com/forum/#!topic/chrome/HQb0H0DDrnk

worked for me.