Moving the Revit CollaborationCache Folder to a Secondary Hard Drive

If you are still running a relatively small SSD (like 512gb), you might see that your C drive fills up pretty quickly while working on a large BIM 360 Design Revit cloud worksharing project. See below image, where the CollaborationCache folder is using almost 50gb of space on my machine:

 

While I realise that the SSD is the best place to have that data in terms of performance, if you don’t have the space available you may consider moving your CollaborationCache folder to a secondary, larger hard drive. I used a symbolic link to do this, with the script below:

if exist "%localappdata%AutodeskRevitAutodesk Revit 2018CollaborationCache" rename "%localappdata%AutodeskRevitAutodesk Revit 2018CollaborationCache" CollaborationCache.old
mklink /d "%localappdata%AutodeskRevitAutodesk Revit 2018CollaborationCache" E:C4R
if not exist E:C4R MD E:C4R
robocopy /mir "%localappdata%AutodeskRevitAutodesk Revit 2018CollaborationCache.old" E:C4R

 

This creates a folder called C4R on your E drive, copies the CollaborationCache over, and sets up the symbolic link. To use it:

  1. Sync all Revit instances and shut down Revit completely
  2. Make a CMD from the code above and run it as Administrator (elevated privileges required for mklink )
  3. In Explorer, confirm you have the symlink and delete the .old folder :

  4. Start Revit 2018

 

Please use the script with care 🙂

You can also refer to my previous post where I did the same with the Tekla BIMsight cache folder.

 

Here is the CMD script to move the folder for Revit 2019 to a drive with R drive letter:

if exist "%localappdata%AutodeskRevitAutodesk Revit 2019CollaborationCache" rename "%localappdata%AutodeskRevitAutodesk Revit 2019CollaborationCache" CollaborationCache.old
mklink /d "%localappdata%AutodeskRevitAutodesk Revit 2019CollaborationCache" R:B3D2019
if not exist R:B3D2019 MD R:B3D2019
robocopy /mir "%localappdata%AutodeskRevitAutodesk Revit 2019CollaborationCache.old" R:B3D2019

Leave a Reply

avatar
  Subscribe  
Notify of