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:

  1. Click Start, and then click Run.
  2. In the Open dialog box, type cmd.
  3. At the command prompt, type net stop fwsrv to stop the Microsoft Firewall service.
  4. Navigate to the Urlcache folder, and locate the file with the .cdat extension.
  5. Right-click the .cdat file, and then click Delete.
  6. 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.
  7. 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.