Changing User Data folder to a custom location

3,743 views
Skip to first unread message

Kerem Özer

unread,
May 22, 2014, 9:09:47 AM5/22/14
to chromium...@chromium.org
Hi,

I want to change my User Data folder as topic says. I already used flag on chrome shortcut but when i try to open a link sent from a chat platform, another chrome window opens as default browser and ıt recreates the data folder that i removed.
So i thought i need to change registry, even adding flag on the registry file changed nothing. 


Here's what i changed;

HKEY_LOCAL_MACHINE/SOFTWARE/Classes/ChromeHTML/shell/open/command  
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disk-cache-dir="E:\Chrome" --disk-cache-size=1 --media-cache-size=1 --user-data-dir="E:\Chrome" -- "%1"

HKEY_CLASSES_ROOT/ChromeHTML/shell/open/command
I've also tried to add --disk-cache-dir="E:\Chrome" --disk-cache-size=1 --media-cache-size=1 --user-data-dir="E:\Chrome" flag to (default) registry file but after i restart pc it reverted back to orginal file.

Again, i want to change user data folder to my specified location but i dont want to use shortcut for it since it's not working while i try to open a link from any chat platform.

 I'll be needing your guidance.


Andrew Yameee

unread,
Sep 1, 2014, 6:40:51 AM9/1/14
to chromium...@chromium.org, mkere...@gmail.com
I'm sorry to bring up an old topic but did you manage to work this out? I think I'll try some trickery with symlinks in case of no other solution.

dmt

unread,
Nov 21, 2018, 10:04:57 PM11/21/18
to Chromium-discuss, mkere...@gmail.com
no anwser?

在 2014年9月1日星期一 UTC+8下午6:40:51,Andrew Yameee写道:

Andrew Yameee

unread,
Nov 22, 2018, 3:22:51 AM11/22/18
to Chromium-discuss, mkere...@gmail.com
Nope.

Ahmed

unread,
Jan 2, 2019, 1:22:25 AM1/2/19
to Chromium-discuss, mkere...@gmail.com
I had the same issue and after modifying the 2nd registry key, shortcuts launched fine for me.

Computer\HKEY_CLASSES_ROOT\ChromeHTML\shell\open\command

Did you make sure to keep the %1 ?

Mine looks like this:
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --user-data-dir="B:\Users\Ahmed\AppData\Local\Google\Chrome\User Data" --disk-cache-dir="B:\Temp\ChromeCache" --disk-cache-size=104857600 -- "%1"
Reply all
Reply to author
Forward
0 new messages