I Windows 7 there is no user interface to delete the cache for Offline Files (CSC cache). The only way to remove the cache is to use the registry key.
Clear the cache for Offline Files in Windows 7
Open the Registry Editor. Go to the key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Csc\Parameters
If Parameters is not present under Csc
add the.
The parameter node, create now a new registry value named Format Database of type REG_DWORD (i.e.. DWord 32 bit value)
Register value = 1.
Close the Registry Editor.
Reboot the machine.
The above steps can be made only from an administrator account. We can do the above steps from the command line also. For this you just need to run the following command from an elevated administrator command.
reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Csc\Parameters /v FormatDatabase /t REG_DWORD /d 1 /f
If you run the above command from normal administrative command, you get the message ”up: Access denied” .
Note that the 'Delete Temporary Files' button’ under the 'Manage Offline Files' tab’ is not intended to delete the cache of offline files.
Some people have the misconception that this will remove the cache for offline files. It's not true.
You can turn this service, which can be useful many times.