Thứ Sáu, 27 tháng 7, 2018

Change location of Chrome cookies folder

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.

Không có nhận xét nào:
Write nhận xét