Chrome - clearing updates directory

8,743

Yes, generally it is fine to delete all but the last installation directory. Here’s how it works. And you may as well delete them since (1) you can’t use them anymore once it’s updated, at least not without modifying the registry, and even then, your updated profile may no longer be compatible with the old versions (well, it is possible, but it requires digging into the profile and doing things that you really don’t want to do), and (2) updates are frequent enough that it becomes ridiculous to keep every single old version in perpetuity.

Each version is expanded into a separate directory named with the version. There is a Dictionaries folder that contains the spell-checking dictionary (you want to keep that). There will likely be a debug.log file that you can leave alone, and an empty First Run file that simply tells Chrome if it’s been run yet (and whether or not to show you intro stuff). You may or may not also have a master_preferences file that has some global preferences, and an old_chrome.exe which is the executable from the last version.

What normally happens is that if Chrome successfully updates, then the new version is expanded to a new directory with that version as the filename, and the EXE is replaced with the one from the new version. So, open the Wrench->About dialog and check the version. You should have a directory corresponding to that, and then you can delete the other ones (the version ones, not Dictionaries or any others you may have). You can also delete old_chrome.exe if you’ve got it (for some reason, chrome.exe still doesn’t contain the right version in the resources :roll:). Leave the rest alone.

If you are hard-up for space, you can also delete the Installer folder inside the one you keep (eg, 11.0.696.71\Installer). It contains the installation archive and program for that version which can run about 80MB. If it installed correctly and you’re running it without issue, then you probably won’t need to reinstall that version again.

As Moab said, if worst comes to worst and somehow Chrome dies for some reason (like if you accidentally delete the wrong thing), then you can reinstall the latest version anyway.

Share:
8,743

Related videos on Youtube

Krzysztof Szynter
Author by

Krzysztof Szynter

Updated on September 17, 2022

Comments

  • Krzysztof Szynter
    Krzysztof Szynter over 1 year

    Is it safe to clear the chrome "updates" directory? It contains:

    c:\Users\myUser\AppData\Local\Google\Chrome\Application\
    7.0.517.44  147MB
    8.0.552.215 155MB
    8.0.552.224 155MB
    some minor files
    

    It looks like chrome downloads updates / newer versions of itself.

  • Krzysztof Szynter
    Krzysztof Szynter over 13 years
    Can you add some more information? Why are there duplicated files? And archivized also? It wastes much of space and i bet it uses only one version of these files, if at all.
  • Moab
    Moab over 13 years
    It backs up the last version when it updates, I don't know why, I guess you could delete them, reinstall chrome if it goes bad.
  • Admin
    Admin over 13 years
    Disk space is (relatively) cheap. I'd worry more about your winsxs folder in C:\Windows :-). (P.S. This is a joke. There's not a lot you can do with winsxs to make it smaller, in Windows 7.)
  • Synetech
    Synetech almost 13 years
    @Randolph, cheap is not free, and WinSxS in 7 is the same as DLLCache in XP. @dygi, it’s not duplicated, each directory is a different version, and chrome.exe uses the latest one.
  • Tamara Wijsman
    Tamara Wijsman almost 13 years
    @Synetech: Please note that it's not the exact same, WinSxS solves DLL hell problems and stores more than the original DLL files alone. Most system files are just hardlinks, which point to their respective files inside the WinSxS folder...
  • Tamara Wijsman
    Tamara Wijsman almost 13 years
    @RandolphWest: Actually, you can. Removing things you will never need again and compressing things that you don't use often are two ways which can get the size of the WinSxS folder down. A good start is to remove the speech recognition data which you are most likely not using and takes up some hundreds of megabytes... ;)
  • Synetech
    Synetech almost 13 years
    @Tom, yes, obviously it’s not exactly the same thing, it combines the old WinSxS, the old dllcache, and a few other things (there are several folders in there, each with it’s own purpose). I wasn’t writing an article about it, I was just indicating that while 7’s WinSxS is indeed large, so was XP’s dllcache and nobody (well, few people) complained about that.