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 Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > Tutorials

Vista Tutorial - Disk Cleanup

Comment
 

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: 34312
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: 34923
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 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
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: 34888
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: 34824
Size:  16.1 KB
That's it,
Shawn

Published by
Brink's Avatar
Administrator

Join Date: Apr 2007
Location: Texas, USA
Posts: 25,801
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

Applies to
All Vista Versions
64 Bit & 32 Bit

Old 07-19-2007  
Digibean
Newbie


Join Date: Jul 2007
Windows Vista x64
 
 

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
Administrator


Join Date: Apr 2007
Vista x64 Ultimate SP2, Windows 7 (7600) x64
 
 

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
 
 

Re: Disk Cleanup

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


Join Date: Apr 2007
Vista x64 Ultimate SP2, Windows 7 (7600) x64
 
 

Re: Disk Cleanup

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


Join Date: May 2008
Windows 7 Professional 64-bit
 
 

Re: Disk Cleanup

I do not get:

Click the image to open in full size.

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
Administrator


Join Date: Apr 2007
Vista x64 Ultimate SP2, Windows 7 (7600) x64
 
 

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
da Cleaner


Join Date: May 2008
Windows 7 Professional 64-bit
 
 

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
Administrator


Join Date: Apr 2007
Vista x64 Ultimate SP2, Windows 7 (7600) x64
 
 

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
da Cleaner


Join Date: May 2008
Windows 7 Professional 64-bit
 
 

Re: Disk Cleanup

ah ok, thanks.
My System SpecsSystem Spec
Comment

Tutorial Tools


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


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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46