Subscribe to Windows IT Pro
August 08, 2003 12:00 AM

Why does the Disk Cleanup tool in Windows XP and Windows 2000 hang when I try to start it?

Windows IT Pro
InstantDoc ID #39747
Rating: (30)

A. A corrupt temporary file can often cause the disk cleanup utility to hang. To resolve this problem, try deleting all temporary files on your computer by performing the following steps:

  1. Close all running applications.
  2. From the Start menu, click Run and type
    %temp%
    to open the Temp folder on your computer.
  3. Type Ctrl+A or from the Edit menu click Select All to select all the files, press Delete, then click Yes to the confirmation.
  4. Close Windows Explorer.
  5. Open the Control Panel Internet Options applet.
  6. Select the General tab, then click Delete Files.
  7. Select the "Delete all offline content" check box, then click OK.

You should now be able to run the Disk Cleanup tool.

Related Content:

ARTICLE TOOLS

Comments
  • katakal
    3 years ago
    Sep 09, 2009

    Mark Smith wrote: This is a known bug with Win2k and WinXP. The machine is hanging at Disk Cleanup because it is trying to tell you what old files should be compressed... Bad Thing.
    Run regedit, move to the top of the hives (to My Computer)
    Press Ctrl-F (Find) and type "Compress Old" (no quotes)
    When regedit finds the offending key, press the Delete key and Enter. Disk Clean will fly now!

    Whatever this means, it worked like a charm. I did the things listed by John Savill as well. But the regedit was what worked for me. Thank you Mark for the tip. I will write this down for future reference!

  • KenPNPD
    3 years ago
    Jan 31, 2009

    Yee Haaaa! Thank You! Fix My Disk cleanup Fuction all well in NY

  • JoAnn
    4 years ago
    Sep 20, 2008

    Just fixed mine Mark. Been searching for days on how to fix this. Thanks alot. Keep up the good work. I just joined because of this seems you know what you are talking about.
    Thanks again,
    JoAnn

  • Stellar
    5 years ago
    Feb 24, 2007

    Mark Smith, your solution worked perfectly and I owe you a debt of gratitude. I would have had to do a fresh install of W2k to get this problem solved and you saved me tons of time. Now I know it's a known bug and will make sure I do it on all new installations. Thanks again. Stellar

  • greenmatters
    6 years ago
    Dec 14, 2006

    Mark Smith wrote: "type "Compress Old" (no quotes)
    When regedit finds the offending key, press the Delete key and Enter. Disk Clean will fly now!"

    Fabulous advice. Worked perfectly in Win2k, and gets rid of that annoying compression testing as a bonus. Thank you.

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.