[SOLVED] – Change the Default Folder Location for Box Sync (external drive)

You use all Information at your own risk.

Yes, this article provides details on how you can customize the Box Sync folder location with Box Sync 4.0.

I have installed Box Sync folder on an external drive and while I was moving home I forgot to attach the external drive. On top of that since my Internet connection wasn’t installed yet I used my phone to tether data from my plan. To my greatest surprise after a couple of hours I got an SMS that I have already used 100% of my data allowance in 2GB of data was downloaded in that hour or so.
I was annoyed since I just checked my email and did not know where this traffic was coming from.

I guess by now you got the connection 🙂 Box Sync decided that since my F (external) drive disappeared it will create a new sync location on my C drive and started to download all data again.

Now when I reattached the F drive I couldn’t made Box to sync again to the drive F instead of my C drive. There is no option for this in the interface.

If you are using your main drive to sync your files you can follow this documentation to change the location of your box sync folder:


Another option to make Box Sync sync your files from an external file is to modify the location directly in the Box Sync app config file.

Step 1:

Stop the Box Sync app.

Step 2:

Edit the Box Sync database. On Windows the file is located here:

C:\Users\<username>\AppData\Local\Box Sync\sync.db

This is an sqlite database.  You can use any sqlite editor, my choice was sqliteexpert.

If you open the database you will see a table called preferences and the value to be changed is sync_directory_path as you can see from the image below. Update with the path where you want your files to be downloaded.


Close the sqlite database by existing from the editing software.  This step is important otherwise Box won’t be able to read the db.

Step 3:

Start Box Sync. At this step it will use the new location and it will download all your file from the cloud. I have tried to copy the old directory to the new location before I started Box Sync but I still downloaded all the files again.

Once all files are downloaded the new location will be used as it was on your main drive (C).

Let me know if this worked for you or if you managed to find a way to avoid downloading all the files again.

5 Responses to [SOLVED] – Change the Default Folder Location for Box Sync (external drive)

  1. Darrin says:

    This did not work for me. After following the instructions and restarting Box Sync, it changed the sync.db file back, came with a pop-up saying that I was logging in as a different user and that all of my files would be saved to a backup folder, and then it started downloading everything from the cloud.

  2. Francois says:

    This worked for me – Box Sync v4 on Win 7 Pro 64bit
    All I needed to change was the directory location in my C: to fit my filing preferences
    I also tried to re-use the existing local files and avoid a full sync – looks like that didn’t work – Sync status indicated that all my files were re-downloaded – ?maybe it needed to recalculate hashes for synchronisation?

  3. Abeer says:

    I can’t open the DB. It says it is locked. How can I do it?

Leave a Reply

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