Windows Vista Forums

Disk Cleanup

  1. #1
    <!-- google_ad_section_start -->Disk Cleanup<!-- google_ad_section_end -->

    Disk Cleanup
    How to Use Disk Cleanup in Vista
    Published by Brink is offline
    07 Jul 2007
    Disk Cleanup

    How to Use Disk Cleanup in Vista


    information   Information
    Disk Cleanup finds and then removes temporary files on your computer that you decide you no longer need to free up hard drive space.
    Tip   Tip
    For how to delete the Vista Temporary Files in Disk Cleanup that are less than a week old, see: How to Set Disk Cleanup to Delete Vista Temporary Files Less than a Week Old
    warning   Warning
    Checking the Hibernation File Cleaner option to be deleted will disable the Hibernate and Hybrid sleep mode. If you did accidentally delete it, then see: How to Enable or Disable Hibernation in Vista





    Here's How:
    1. Open the Start Menu.
    A) Click on All Programs, Accessories, System Tools folder, and Disk Cleanup.
    B) Go to step 3.
    OR

    2. Open the Start Menu.
    A) In the white line (Start Search) area, type Cleanmgr and press Enter.
    3. Choose if you want to clean files from just your user account or from all user accounts on the computer. (See screenshot below)
    NOTE: You will not see this window at all if you are running Disk Cleanup from the built-in Administrator account (How to Enable or Disable the Real Built-in Administrator Account in Vista). If you do not have the Files from all users on this computer option, then you are not running Disk Cleanup from within an administrator account. In an administrator account you will also need to make sure that you have UAC turned on to see it.
    Disk Cleanup-options.jpg
    4. Select which drive you want to use Disk Cleanup on and click on OK. (See screenshot below)
    NOTE: You will not see this window unless you have more than one drive or partition on your computer.
    Name:  Select_Drive.jpg
Views: 130478
Size:  22.1 KB
    5. If you chose Files from all users on this computer above, then click on Continue for UAC prompt.

    6. You will now see this screenshot below.
    Disk Cleanup-cleanup_loading.jpg
    7. When done loading, you will see either one of these screenshots depending on your choice. (See screenshots below)
    NOTE: If you just did a Upgrade install recently, then you will also see the Files discarded by Windows upgrade option. This would be for the C:\$INPLACE.~TR and C:\$WINDOWS.~Q folders. If you just did a Custom install recently, then you will also see the Previous Windows installations option. This would be for the C:\Windows.old folder.

    8. Check the items you want to be deleted.
    NOTE: When you highlight a item, it will give you a description of what it is. You may also have the option to View Files to be deleted or set the Options for a item.

    9. Click on OK.

    My files only ------------------------------------------ Files from all users
    Disk Cleanup-my_files_only.jpgDisk Cleanup-all_files_main.jpg
    10. Click on Delete Files button on the confirmation prompt. (See screenshot below)

    11. Disk Cleanup will delete the files and close.
    Disk Cleanup-confirmation.jpg
    12. For More Disk Cleanup Options -
    NOTE: If you chose Files from all users on this computer (Step 3), then you will have a extra More Options tab. (See screenshot below)
    Disk Cleanup-all_files.jpg
    13. To Uninstall Programs in Program and Features -
    A) Click the Clean up button under the Programs and Features section. (See screenshot below step 12)

    B) You will be taken to the "Uninstall or change a program" window in Programs and Features in the Control Panel.
    14. To Delete All but the Most Recent System Restore Point -



    warning   Warning

    • If you have the 64 bit Vista and have not already done this first, then you will need to do this correction and close and restart Disk Cleanup, see: How to Correct Disk Cleanup Shortcut for Vista 64 bit
    • If you have the Vista Enterprise, Ultimate, or Business edition, then all but the most recent Complete PC Backup will be deleted also if you selected the drive in step 5 that the Complete PC Backup is stored on.

    A) Click the Clean up button under System Restore and Shadow Copies. (See screenshot below step 12)

    B) Click on Delete to confirm deleting all but the most recent system restore point. (See screenshot below)
    NOTE: If you want to delete all system restore points, then turn System Restore Off and then back On to reset it. See: How to Turn System Restore On or Off in Vista
    Disk Cleanup-restorepoint.jpg
    That's it,
    Shawn




    Related Tutorials


    Published by


    Brink's Avatar
    Administrator

    Join Date: Apr 2007
    Location: Texas, USA
    Posts: 31,256
    Array

    Tutorial Tools


    Applies to

    All Vista Versions
    64 Bit & 32 Bit


  2.   


  3. #1



    Newbie
    Join Date : Jul 2007
    Posts : 1
    Windows Vista x64
    Local Time: 04:13 AM

    Re: Disk Cleanup

    There's also a way to set up a batch file to run this. First you need to go to Start -> Run and then type in CleanMgr /sageset:99 (where 99 is just a reference number to refer to your configuration of CleanMgr when you run the batch file). When you hit enter, the Disk Cleanup window will pop up (shown in step #7 above). You can change to configuration and then click ok. After that, create a text file with the following in it:

    cleanmgr /sagerun:99
    exit

    Save that text file as <filename>.bat and put it in a folder that you use for admin tasks (e.g. Documents\Admin\). Then go to your Task Scheduler and set this up to run whenever you want. You can also add other tasks to run in the batch (.bat) file, like copying or deleting temp files or folders, etc.

    Thanks for the reminder on this.

      My System SpecsSystem Spec

  4.   


  5. #2
    Brink's Avatar

    Administrator


    Join Date : Apr 2007
    Texas, USA
    Posts : 31,256
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 03:13 AM
    usa us texas

      Thread Starter

    Re: Disk Cleanup

    Digibean,

    Welcome to the forum and thank you for this tip.

    Shawn

      My System SpecsSystem Spec

  6. #3



    Junior Member
    Join Date : Feb 2008
    Posts : 14
    32bit Vista Extreme Edition R2
    Local Time: 04:13 PM


     

    Re: Disk Cleanup

    Thank you very much for this guide. Appreciates much! ^^

      My System SpecsSystem Spec

  7. #4
    Brink's Avatar

    Administrator


    Join Date : Apr 2007
    Texas, USA
    Posts : 31,256
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 03:13 AM
    usa us texas

      Thread Starter

    Re: Disk Cleanup

    Your welcome Arakai.

      My System SpecsSystem Spec

  8. #5
    swarfega's Avatar

    da Cleaner
    Join Date : May 2008
    Cambridge, UK
    Posts : 403
    Windows 7 Professional 64-bit
    Local Time: 09:13 AM
    uk uk cambridgeshire

     

    Re: Disk Cleanup

    I do not get:



    I saw "NOTE: You will not see this window unless you have more than one drive or partition on your computer." but I have multiple drives on my computer.

      My System SpecsSystem Spec

  9. #6
    Brink's Avatar

    Administrator


    Join Date : Apr 2007
    Texas, USA
    Posts : 31,256
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 03:13 AM
    usa us texas

      Thread Starter

    Re: Disk Cleanup

    Hi Swarfega,

    For this, you will need to be running Disk Cleanup from within an administrator account and have UAC turned on. The NOTE is only for the screenshot under step 5.

    Hope this helps,
    Shawn

      My System SpecsSystem Spec

  10. #7
    swarfega's Avatar

    da Cleaner
    Join Date : May 2008
    Cambridge, UK
    Posts : 403
    Windows 7 Professional 64-bit
    Local Time: 09:13 AM
    uk uk cambridgeshire

     

    Re: Disk Cleanup

    yeah I have full admin account since I followed the tut on here and uac is on

      My System SpecsSystem Spec

  11. #8
    Brink's Avatar

    Administrator


    Join Date : Apr 2007
    Texas, USA
    Posts : 31,256
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 03:13 AM
    usa us texas

      Thread Starter

    Re: Disk Cleanup

    Ok, I see now Swarfega. You will not see that screen when running Disk Cleanup from within the built-in Administrator account.

      My System SpecsSystem Spec

  12. #9
    swarfega's Avatar

    da Cleaner
    Join Date : May 2008
    Cambridge, UK
    Posts : 403
    Windows 7 Professional 64-bit
    Local Time: 09:13 AM
    uk uk cambridgeshire

     

    Re: Disk Cleanup

    ah ok, thanks.

      My System SpecsSystem Spec

Page 1 of 2 12 LastLast

Disk Cleanup
Similar Threads
Tutorial Category
disk cleanup General Discussion
Solved Disk Cleanup General Discussion
Disk Cleanup Crashes and Debugging
Help with Disk Cleanup Vista performance & maintenance
Disk Defragmenting and Disk Cleanup Vista hardware & devices