HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Compress old files REG DWORD data=number of days You can also set the number of days in Disk Cleanup, Options button.