Relocate Chrome Profile Folder (Win7)
- January 12th, 2010
- Posted in Uncategorized
- Write comment
There are many tutorials like the following out there describing how to relocate the Chrome profile folder using theĀ --user-data-dir="<Userdir>" command line parameter of "chrome.exe" and a appropriate shortcut:
http://www.labnol.org/software/create-family-profiles-in-google-chrome/4394/
Yet if you are using Windows 7 this method will screw up the nice little Taskbar-Menu Chrome provides. All those options will open a profile at the old location ("<win7_drive>:\Users\<user>\AppData\Local\Google\Chrome\User Data").
To solve this problem we simply delete the "User Data" directory and create a symbolic link to the folder we want our user data stored (i.e. "D:\data"):
- Right click on "Start->All Programs->Accessories->Command Promt" an select "Run as Administrator"
- Type cd "<win7_drive>:\Users\<user>\AppData\Local\Google\Chrome"
- Type rmdir /S /Q "User Data"
- Type mklink /D "User Data" "<new profile folder>"
That should have done the trick.
PS: By the way I know that this is simple but it took me quite long to remember that there was "mklink", which is a very strong sign, that I need to go to bed ASAP!
PSS: This should work for Windows Vista as well. Other Windows veriosns might need extra sofware to create symbolic links.
No comments yet.