Deleting the cache
Forefront TMG stores cached content in a file named Dir1.cdat that resides in the URLcache folder on each drive that is configured for caching. To delete the cache file, do the following:
- Click Start, and then click Run.
- In the Open dialog box, type cmd.
- At the command prompt, type net stop fwsrv to stop the Microsoft Firewall service.
- Navigate to the Urlcache folder, and locate the file with the .cdat extension.
- Right-click the .cdat file, and then click Delete.
- Click Yes when prompted for removal of the file. You may be prompted to delete the file because it is too big for the recycle bin.
- At the command prompt, type net start fwsrv to restart the Microsoft Firewall service. Restarting the service creates a new cache file.
For information about a sample script that describes how to clear the cache programmatically, see Deleting Cache Contents at the Microsoft TechNet Web site.