How to move Win7 Offline Files

Source: http://superuser.com/questions/19847/how-to-move-offline-files-cache-in-windows-7

I’ve found the following to work well. 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.
    1. rd /s C:\Windows\CSC
    2. 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.