Box Drive change location of cache folder (Windows 10)

Dimitris Moutsatsos
2 min readJan 14, 2021

At MAD TV we are using Box as storage system for caching all our files. We are very happy with the service and it is-for my point of view- more reliable from Microsoft Sharepoint (onedrive for business etc).

Box has an application to replace all network shares called Box Drive so you can access and use your cloud files from the desktop.

The #1 problem

The issue comes that we had a lot of TBs in box and we would like some systems to have in local cache over the default 25GB of cache storage.

This problem solved easily , if you follow the steps in
https://support.box.com/hc/en-us/articles/360043695894-Technical-Information-for-Box-Drive-Administrators

Add a new DWORD registry value called MaximumCacheSize under HKEY_LOCAL_MACHINE\SOFTWARE\Box\Box.

MaximumCacheSize should be set to an integer value representing the new cache limit in GB (for example, setting MaximumCacheSize’s value to 6 would mean the cache max is 6GB).

Quit and re-launch Box Drive after making this change.

So we fixed the issue and we changed this to 300GB.. but wait..

The #2 problem

The cache folder is located in
C:\Users\<USERNAME>\AppData\Local\Box\Box\cache
on your boot drive. All our systems now had SSD (C:) with 256 GB(free ~100 gb) and a secondary local drive with 4 TB (D:). How can we use the 300GB cache setting?

First, exit box drive application .
Then we used symbolic link with the following steps in command prompt

# navigate to the drive you want to create the cache folder. 
# We used d:\cache
> mkdir d:\cache
> rename C:\Users\<USERNAME>\AppData\Local\Box\Box\cache C:\Users\<USERNAME>\AppData\Local\Box\Box\cache.back
> mklink /J "C:\Users\<USERNAME>\AppData\Local\Box\Box\cache" "d:\cache"

Start again box drive application and you are good to go!

PS:

According to box , the cache folder is not encrypted and is not removed automatically when the Box Drive program is uninstalled. You can delete the cache folder manually after uninstalling the program.

--

--

Dimitris Moutsatsos

developer and weirdo / current: Tychetech / MAD TV / WARR