JSI Tip 1003. Control the time limit and number of cached closed files.

Jerold Schulman

January 18, 1999

1 Min Read
ITPro Today logo in a gray background | ITPro Today

When an application closes a file, it is left in the cache. The timeout and number is controlled at:

HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLanmanWorkstationParameters

CacheFileTimeout is a type REG_DWORD with a data value range of 0x0 - 0xFFFFFFFF seconds. The default is 0xA (10 seconds).

The value name determines how long a file will remain in the cache after is is closed.

DormantFileLimit is a type REG_DWORD with a range of 0x0 - 0xFFFFFFFF files. The default is 45 files.


Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like