Why does the Windows 2000 Disk Cleanup utility freeze when I start it?

John Savill

June 29, 2003

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

A. The Disk Cleanup utility frees up space on a volume. To access the utility, open My Computer, right-click the drive you want to work on, click Properties, then select Disk Cleanup from the General tab. If the program hangs the system, the problem is most likely caused by the Disk Cleanup Wizard checking for all files older than 50 days that it can compress. Disabling this behavior might improve the performance. To disable the behavior, perform the following steps:

  1. Start a registry editor (e.g., regedit.exe).

  2. Navigate to the HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerVolumeCachesCompress old files registry subkey, then select it.

  3. From the File menu, select Export.

  4. Enter a filename and location, then click Save.

  5. Delete the "Compress old files" registry subkey.

  6. Close the registry editor.

Alternatively, you can paste the following text in a file named nodiskchkcompress.reg and double-click the filename to run it:

Windows Registry Editor Version 5.00[-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerVolumeCachesCompress old files]

To enable the compressible-file check, you can run the .REG file you created in Step 4. If you didn't save the file in Step 4, you can paste the following text into a file to recreate the original .reg file:

Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerVolumeCachesCompress old files]@="{B50F5260-0C21-11D2-AB56-00A0C9082678}""Priority"=dword:0000012c"StateFlags"=dword:00000000

About the Author

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