A pedant that hangs out in the dark corner-cases of the web.

Wednesday, December 08, 2004

Disk Cleanup

To drastically speed up disk cleanup in Windows, delete the HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows\ CurrentVersion\ Explorer\ VolumeCaches\ Compress old files\ key.

To configure and save a cleanup job, type cleanmgr /sageset:n (n is the job number); to execute a cleanup job, type cleanmgr /sagerun:n .

To delete the key, you can create use a .reg file containing the following:

REGEDIT4

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\Compress old files]

No comments: