It’s normally in C:windowsCSC (this won’t be visible unless you enable view system files )
However offline files folder can be changed by modifying registry key. See next question for more details.
My offline files folder is in c:windows. My c: drive has become full, I want to move the csc folder to e:drive which has lot of free space. I also want to copy the existing files to the new location. How to do it?
You can move the CSC folder to a new location by changing the value of ‘DatabaseLocation’ under
From command line, you can do it as below.
cmd> REG ADD HKLMSoftwareMicrosoftWindowsCurrentVersionNetCache /v DatabaseLocation /t REG_SZ /d /f
This just changes the offline files folder location for future. The old files which were copied in the past will still be in the old location and Offline files will not consider those files as offline. To move the already cached files to the new location use the tool cachemov.exe
Cachemov.exe can be downloaded from //www.computerperformance.co.uk/ScriptsGuy/cachemov.zip
Below is a snapshot taken while cachemov.exe is executing.
How can I delete all the files from the cache? or How can I reinitialize the cache?
The share I made offline has been moved to a new server but offline files is trying to synchronize with the old server. Is there any way to make it sync with the new server? I do not want to delete the files and begin everything from scratch with the new server?
There is a tool called csccmd.exe to do it.
csccmd.exe /moveshare:oldserveroldshare newservernewshare
Note that this command does not move the data from the old server to the new server. It just updates offline files tables with the new share path. You need to ensure that you have all the data copied to the new server before you run the above command.