Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Advanced Disk Cleanup - Create Shortcuts Without A Batch File!


04 Nov 2011   #1

Windows 7 Ultimate 64bit
 
 
Advanced Disk Cleanup - Create Shortcuts Without A Batch File!

Hello 7,

This is how to create shortcuts for the Advanced Disk Cleanup feature. I keep mine in my Start Menu
Name:  11.jpg
Views: 46
Size:  85.3 KB
These shortcuts do not require batch files or command window, and they execute immediately. Just follow the steps below!

NOTE: You MUST be logged in as an administrator to complete this tutorial.



Advanced System Cleanup: Configure Options Shortcut

1. Right click on the desktop and select New/Shortcut
Name:  1.jpg
Views: 16
Size:  87.2 KB
2. Insert this for the location
Code:
C:\Windows\System32\cleanmgr.exe /sagesetup
NOTE: You MUST leave a space between 'cleanmgr.exe' and '/sagesetup' or this shortcut will not work.

3. Press Next

4. Name the shortcut anything you wish

Name:  3.jpg
Views: 19
Size:  40.6 KB

5. Click Finish

You should have a shortcut that looks like this

Name:  4.jpg
Views: 1451
Size:  25.0 KB

6. Right click on the shortcut and select 'Properties'

7. Customize the "hover" text by filling in the 'Comment' field.

Name:  5.jpg
Views: 33
Size:  63.2 KB

8. Click the 'Advanced' button
Name:  7.jpg
Views: 18
Size:  62.9 KB
9. Select the option for 'Run as administrator'

Name:  8.jpg
Views: 13
Size:  33.2 KB

The shortcut is complete. Now when you double click it you will have a options dialog for configuring all of the advanced cleanup features.

Name:  9.jpg
Views: 13
Size:  67.6 KB


Advanced System Cleanup: Run Cleanup Shortcut

To create this shortcut follow the same steps as mentioned above, but change the 'Location' to

Code:
C:\Windows\System32\cleanmgr.exe /sagerun
NOTE: You MUST leave a space between 'cleanmgr.exe' and '/sagerun' or this shortcut will not work.

Here is how I configured the 'Properties' for this shortcut
Name:  10.jpg
Views: 16
Size:  61.1 KB
REMEMBER: Change the 'Advanced' setting to 'Run as administrator'


Thats it! I hope some of you find this as useful and convenient as I have!


Happy Travels,
Tim


I had to edit this a few times while trying to get my screenshots formatted correctly Sorry about that




My System SpecsSystem Spec
.

09 Jan 2012   #2

Vista Home Premium 32bit
 
 

Would these same shortcuts (and the method to create them) be usable with Vista? Thanks.
My System SpecsSystem Spec
09 Jan 2012   #3
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Emarell,

Yes, it will work in Vista as well.

http://www.vistax64.com/tutorials/15...k-cleanup.html
My System SpecsSystem Spec
.


09 Jan 2012   #4

Vista Home Premium 32bit
 
 

Thanks! I will mention the Vista article in the blog [ How To Run The Advanced Disk Cleanup Version In Windows ] that directed me to this Windows 7 method.
My System SpecsSystem Spec
16 Jan 2012   #5

Windows 7 Ultimate 64bit
 
 

Appologies for not responding earlier... I've been building/repairing a couple Dell desktops in my spare time this last week...

As Brink said, these work as advertised in Vista. Too bad there isn't an option to add a custom "WinApp2.ini"

Enjoy!
Tim
My System SpecsSystem Spec
Reply

 Advanced Disk Cleanup - Create Shortcuts Without A Batch File!




Thread Tools




Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:23 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

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