Move Offline files location in Windows 7

When you have offline files enabled but want to move the cache location to a 2nd hard disk with more space (or just a faster one), here’s how you do it:

Note: I would advise to create a restore point prior to doing the following.

  1. Create a folder for your offline file cache. Something like D:\Offline.
  2. From an elevated command prompt type the following: Takeown /r /f C:\Windows\CSC
  3. Open the Sync Center and go to Manage Offline Files.
  4. Click Disable Offline Files and restart the machine.
  5. From an elevated command prompt issue the following commands:
    rd /s C:\Windows\CSC
    mklink /J C:\Windows\CSC “D:\Offline” (or whatever you folder name is, but be sure to use the quotations if you have a space in the name)
  6. Reopen the Manage Offline Files window and Enable Offline Files.
  7. Restart the machine

All files/folders that are made available offline should now be redirected to whichever folder you specified.

5 Responses to “Move Offline files location in Windows 7”.

  1. Works a treat!
    Windows 7 SP1

  2. I followed the instructions and it seemed successfully implemented. However I have lost “make available online” option on mapped disk and unable to use offline files. Any ideas how to correct it or at least how to reverse CSC to C drive?

  3. Alex, you need to enable offline files again.

  4. rd /s C:\Windows\CSC did not work swiftly (but I managed anyway to delete the CSC folder content).

    the whole procedure works perfectly anyway: the result is that I now have the offline files perfectly accessible from my D: drive!


  5. […] Offlinedateien verschieben: Normalerweise wird der Cache im Windows-Verzeichnis gespeichert. Nicht wirklich optimal, da auf meiner SSD nicht mehr viel Platz frei ist. Der Pfad kann mit etwas Bastelarbeit (mklink…) angepasst werden. Eine entsprechende Anleitung beispielsweise bei Benjamin. […]

Leave a response