Advanced Disk Cleanup - Create Shortcuts Without A Batch File!


  1. Posts : 60
    Windows 7 Ultimate 64bit
       #1

    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
    Advanced Disk Cleanup - Create Shortcuts Without A Batch File!-11.jpg
    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
    Advanced Disk Cleanup - Create Shortcuts Without A Batch File!-1.jpg
    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

    Advanced Disk Cleanup - Create Shortcuts Without A Batch File!-3.jpg
    5. Click Finish

    You should have a shortcut that looks like this

    Advanced Disk Cleanup - Create Shortcuts Without A Batch File!-4.jpg
    6. Right click on the shortcut and select 'Properties'

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

    Advanced Disk Cleanup - Create Shortcuts Without A Batch File!-5.jpg
    8. Click the 'Advanced' button
    Advanced Disk Cleanup - Create Shortcuts Without A Batch File!-7.jpg
    9. Select the option for 'Run as administrator'

    Advanced Disk Cleanup - Create Shortcuts Without A Batch File!-8.jpg
    The shortcut is complete. Now when you double click it you will have a options dialog for configuring all of the advanced cleanup features.

    Advanced Disk Cleanup - Create Shortcuts Without A Batch File!-9.jpg

    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
    Advanced Disk Cleanup - Create Shortcuts Without A Batch File!-10.jpg
    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
    Last edited by SmithUnwesson; 04 Nov 2011 at 18:27. Reason: noobism
      My Computer


  2. Posts : 3
    Vista Home Premium 32bit
       #2

    Would these same shortcuts (and the method to create them) be usable with Vista? Thanks.
      My Computer


  3. Posts : 71,959
    64-bit Windows 11 Pro for Workstations
       #3

    Hello Emarell,

    Yes, it will work in Vista as well. :)

    http://www.vistax64.com/tutorials/15...k-cleanup.html
      My Computer


  4. Posts : 3
    Vista Home Premium 32bit
       #4

    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 Computer


  5. Posts : 60
    Windows 7 Ultimate 64bit
    Thread Starter
       #5

    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 Computer


  6. Posts : 7
    Windows 7 Home Premium 64bit SP1
       #6

    Actually if you do this process and use this line instead it does it all at once

    %SystemRoot%\System32\Cmd.exe /c Cleanmgr /sageset:65535 & Cleanmgr /sagerun:65535
      My Computer


 

  Related Discussions
Our Sites
Site Links
About 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 06:12.
Find Us