The Storage Team Blog about file services and storage features in Windows Server, Windows XP, Windows Vista and Windows 7.
Several customers have asked us how to move the Offline Files cache location from the default location (c:\windows\csc) to another volume. Here is a procedure for doing this.
Deleting the Old CacheAssuming everything got moved correctly, you can delete the old cache from an RC1 build by typing the following commands from an elevated command prompt:
takeown /r /f c:\windows\cscrd /s c:\windows\csc
The limitation of this method of deleting the old cache is that Takeown.exe can only process paths up to MAX_PATH (260) in length. If this path length is exceeded, the takeown command will fail. To work around this, the suggested method is to move the cache location back to the old one using step 4 again, set a registry key to clear the cache, reboot, and then move the cache back to the new location. Here are the steps.
--Jill (with input from Navjot Virk, Sriram Srinivasan, and Shubhankar Sanyal)
PingBack from http://www.msblog.org/2006/12/29/moving-the-offline-files-cache-in-windows-vista/
Thanks your great article. Would you please kindly provide more example about "NT format name of the folder" ??
I cannot figure out what should I put in the question mark like \??\c:\windows\csc. Does it mean localhost or the machinename or my current used IP ?
Leave the question marks as is--you just need to make sure that your path is correct. So if your volume is on D, you would use \??\d:\Windows\csc.
在使用 Windows Vista 后我一直头疼一个问题，安装 Vista 的分区的可用空间总是不够用。我安装 Vista 的分区一共有 30 GB ，按理说应该够用了，可因为使用了脱机文件功能，而脱机文件的缓存就保存在系统盘，所以经常被脱机文件搞得系统盘空间紧张。我仔细查看了各种系统选项，包括
Ever see your hard drive LED chugging away, while there was no apparent activity on your screen?