PaulSpoerry.com

Social Media, technology, and geeky stuff for your brain.

  • Home
  • About
    • Privacy Policy
  • Categories
    • Google+ Posts
    • Site news
    • Tech
      • Android
      • Apple
      • Chrome
      • Gadgets
      • Hacking
      • Linux
      • OSX
      • Privacy
      • Web Life
        • Bittorrent
        • Facebook
        • FireFox
        • GMail
        • Google
        • Google+
        • Twitter
        • WordPress
        • Windows
          • Windows 7
    • Google+: Getting Started Guides
    • Games
    • Meditation
    • Politics
    • Science
    • That’s freakin hilarious
  • Code
    • FreeImageZoom
    • Post Editor for Google+™
    • The Plus Editor
  • Contact
You are here: Home / Tech / Chrome / Move Chrome User Files

Move Chrome User Files

May 7, 2015 by Paul Spoerry Leave a Comment

Chrome is arguably one of the best browsers ever made… but it can be a bit memory and drive intensive. Below we’ll walk through how to move chrome user files if you need to free up space on your primary drive.

Move Chrome User Files

By default Chrome and all it’s goodies will be installed on your C:\ drive (assuming you’re on Windows). Most new computers come with more drive space than the average person could need/want. However, if you’re running on an older PC, one you’ve added multiple drives to, etc. the primary drive can get cramped. Here’s how to move the Chrome cache and user files to another drive.

The poor mans way to move Chrome user files

Change the command used to start Chrome. The normal way to start Chrome is to use the command “chrome.exe” (which is done through the shortcut icon you click on to start it). You will need to modify this command, or better yet, make a new shortcut. The easy way to do it is right click your desktop, and from the context menu, pick “new shortcut”. Then enter the command in the shortcut, like so:

C:\path-to-chrome-executable\chrome.exe –user-data-dir=c:\some-directory-here

make sure to replace path-to-chrome-executable with the proper path where Chrome is installed on your system, and some-directory-here to the place where you want the cache to go.

Now, whenever you start Chrome with this shortcut, you will have handled the Move Chrome User Files, including your cache files, will be stored at the new location.

The downside is that if Chrome is started in any other way than through this shortcut (for example, if Chrome is your default browser, and any other application automatically starts Chrome when it needs a browser), then files for that session will still go to the old location. This makes this method pretty much useless.

The better way to move Chrome user files

The better way is to simply move the cache/profile directory (i.e. Move Chrome User Files) to whatever drive you want it on, then in the original location just put a symbolic link pointing to the new location. This way, Chrome thinks it’s storing files in the usual location, but that’s actually just a symbolic link to another directory in a completely different location. No other hacks are needed, and the process always works, no matter how Chrome is started.

If you use Windows Vista or Windows 7 or any other operating system which does symbolic links, you can just do it directly. If you’re using XP or some older operating system, you’ll need to install a little utility from Microsoft called Junction, which you can download here. The instructions on how to create a symbolic link are right there on the download page.

If you’re using Vista or Windows 7, the procedure is this.

  1. Shut down Chrome. Then open Task Manager and check the processes and make sure the Chrome process is not running. Just closing Chrome doesn’t always shut down the Chrome process, and if it’s running, it will lock certain files that you need to move in the next step.
  2. Create a directory at some suitable location where you want the cache to go, for example D:\Chrome Cache and Profile
  3. Navigate to where Chrome is installed, and move the entire “User Data” directory into this new directory you created in the previous step. The User Data directory is usually found at C:\Users\{username}\AppData\Local\Google\Chrome\User Data. Just move the whole User Data directory to the new location. So now in the new location you’ll have a User Data directory, like so “D:\Chrome Cache and Profile\User Data”. And the User Data directory will be gone from the original location, because you moved it.
  4. Next, open an elevated command prompt (right click the command prompt icon and choose “Run as Administrator”). In the command window, type:

mklink /J “C:\Users\{username}\AppData\Local\Google\Chrome\User Data” “D:\Chrome Cache and Profile\User Data”

Make sure to replace the {username} with your own user account name. Don’t leave out the quotes, they are necessary.

That’s it. Next time you start Chrome, it will store all files related to your profile (including cache) at the new location.

Filed Under: Chrome, Windows

About Paul Spoerry

I’m a groovy cat who’s into technology, Eastern Thought, and house music. I’m a proud and dedicated father to the coolest little guy on the planet (seriously, I'm NOT biased). I’m fascinated by ninjas, the Internet, and anybody who can balance objects on their nose for long periods of time.

I have a utility belt full of programming languages and a database of all my knowledge on databases... I practice code fu. Oh, I've also done actual Kung Fu, and have a black belt in Tae Kwon Do.

I run. I meditate. I dance. I blog at PaulSpoerry.com, tweet @PaulSpoerry, and I'm here on Google+.

I'm currently work for IBM developing web enabled insurance applications for IBM and support and develop a non-profit called The LittleBigFund.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Copyright © 2023 · Epik on Genesis Framework · WordPress · Log in