Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags

Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > Tutorials

Vista Tutorial - Disk Cleanup

Comment
 
LinkBack Tutorial Tools Display Modes
<!-- google_ad_section_start -->Disk Cleanup<!-- google_ad_section_end -->
Disk Cleanup
How to Use Disk Cleanup in Vista
Published by Brink
07-07-2007

How to Use Disk Cleanup in Vista
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
  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
  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
RELATED LINKS:

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.
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: 24333
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.
Name:  Cleanup_Loading.jpg
Views: 24946
Size:  12.1 KB
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 option Files discarded by Windows upgrade. This would be the C:\Windows.old , C:\$INPLACE.~TR , and C:\$WINDOWS.~Q files.

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
my_files_only.jpgall_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.
Name:  Confirmation.jpg
Views: 24887
Size:  10.9 KB
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)
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
 
  • 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
Name:  RestorePoint.jpg
Views: 24842
Size:  16.1 KB
That's it,
Shawn
Published by
Brink's Avatar
Administrator

Join Date: Apr 2007
Location: Texas, USA
Posts: 23,763
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute

Tutorial Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

Applies to
All Vista Versions
64 Bit & 32 Bit

Page copy protected against web site content infringement by Copyscape

Old 07-19-2007  
Digibean
Newbie


Join Date: Jul 2007
Windows Vista x64
 
Rep Power: 19
Digibean has a spectacular aura aboutDigibean has a spectacular aura aboutDigibean has a spectacular aura about
  Digibean is offline

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
Old 07-19-2007  
Brink's Avatar
Brink
Administrator



Join Date: Apr 2007
Vista x64 Ultimate SP2
Texas, USA
 
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute
  Brink is offline

Re: Disk Cleanup

Digibean,

Welcome to the forum and thank you for this tip.

Shawn
My System SpecsSystem Spec
Old 04-18-2008  
Arakai
Member


Join Date: Feb 2008
32bit Vista Extreme Edition R2
 
Rep Power: 11
Arakai is on a distinguished road
  Arakai is offline

Re: Disk Cleanup

Thank you very much for this guide. Appreciates much! ^^
My System SpecsSystem Spec
Old 04-18-2008  
Brink's Avatar
Brink
Administrator



Join Date: Apr 2007
Vista x64 Ultimate SP2
Texas, USA
 
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute
  Brink is offline

Re: Disk Cleanup

Your welcome Arakai.
My System SpecsSystem Spec
Old 08-09-2008  
swarfega's Avatar
swarfega
da Cleaner


Join Date: May 2008
Vista Home Premium 64bit
Cambridge, UK
 
Rep Power: 29
swarfega is a name known to allswarfega is a name known to allswarfega is a name known to allswarfega is a name known to allswarfega is a name known to allswarfega is a name known to all
  swarfega is offline

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
Old 08-09-2008  
Brink's Avatar
Brink
Administrator



Join Date: Apr 2007
Vista x64 Ultimate SP2
Texas, USA
 
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute
  Brink is offline

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
Old 08-09-2008  
swarfega's Avatar
swarfega
da Cleaner


Join Date: May 2008
Vista Home Premium 64bit
Cambridge, UK
 
Rep Power: 29
swarfega is a name known to allswarfega is a name known to allswarfega is a name known to allswarfega is a name known to allswarfega is a name known to allswarfega is a name known to all
  swarfega is offline

Re: Disk Cleanup

yeah I have full admin account since I followed the tut on here and uac is on
My System SpecsSystem Spec
Old 08-09-2008  
Brink's Avatar
Brink
Administrator



Join Date: Apr 2007
Vista x64 Ultimate SP2
Texas, USA
 
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute
  Brink is offline

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
Old 08-09-2008  
swarfega's Avatar
swarfega
da Cleaner


Join Date: May 2008
Vista Home Premium 64bit
Cambridge, UK
 
Rep Power: 29
swarfega is a name known to allswarfega is a name known to allswarfega is a name known to allswarfega is a name known to allswarfega is a name known to allswarfega is a name known to all
  swarfega is offline

Re: Disk Cleanup

ah ok, thanks.
My System SpecsSystem Spec
Comment

Tags
disk cleanup, performance & maintenance

Tutorial Tools
Display Modes


Similar Threads
Tutorial Tutorial Starter Category Comments Last Post
Disk Cleanup Bug Jay Vista performance & maintenance 21 05-14-2008 09:39 AM
Help with Disk Cleanup RambleOn Vista performance & maintenance 1 12-28-2007 01:06 PM
Help with disk cleanup please. Bugster Vista performance & maintenance 1 06-25-2007 07:56 PM
Disk Cleanup bjr1976 Vista performance & maintenance 1 03-02-2007 08:36 AM
Disk Defragmenting and Disk Cleanup tonya20 Vista hardware & devices 1 10-17-2006 10:06 PM


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
Tutorial powered by GARS 2.1.8m ©2005-2006