• Run Disk Cleanup in Extended Mode

    Home » Forums » AskWoody support » Windows » Windows 8.1 » Questions: Win 8.1 (and Win 8) » Run Disk Cleanup in Extended Mode

    Author
    Topic
    #503910

    Set up “Disk Cleanup” to run in “Extended Mode”

    Here’s how Disk Cleanup comes from MS:
    %windir%system32cleanmgr.exe

    When run like this, its Cleanup is very limited.
    Create the above shortcut on your desktop and then you can modify it, so that it becomes “Extended Disk Cleanup”.

    Step one is to right click on the shortcut, select properties and then change/edit the syntax of the shortcut to read:
    %SystemRoot%System32Cmd.exe /c Cleanmgr /sageset:65
    Save it!

    Then you need to run the shortcut and select everything BUT ‘Setup.log’, because you’ll need that if you ever intend to uninstall any programs.

    On that first run, you’re only setting up how you want Disk Cleanup to run, but nothing will be deleted.

    Now right click on the shortcut again, select Properties, and again change/edit it to read:
    %SystemRoot%System32Cmd.exe /c Cleanmgr /sagerun:65
    Save it!

    Now when you run the shortcut, everything that you selected in the previous operation, will be deleted. At this point you have a Shortcut to “Extended Disk Cleanup” on your desktop. The shortcut can be copied to the STARTUP folder, so it runs on every boot-up of the computer.

    That works good, for those who either can-not or will-not do their own HD maintenance. I set that up for my elderly customers, who can never remember to run their own Maintenance.

    There are other programs, like Windows Utilities (WinUtils), that do a more thorough job of finding and removing junk, but they have to be run manually, and they don’t come for FREE with Windows.

    Cheers mates!
    The Doctor 😎

    Viewing 5 reply threads
    Author
    Replies
    • #1545106

      Yeah, the specific numbers are not important, just that they are the same, for both sageset and sagerun.

      Y’all have a great 2016!

      😎

    • #1545116

      The numbers are important, they are how Windows identifies the options you selected when you next run cleanmgr. You can select different options for different uses, e.g. 99 may just delete setup.log, 65 may clean up everything except setup.log.

      cheers, Paul

    • #1545197

      I think what you’re trying to say, is that you can set up different cleanup options, by using different numbers for different options.
      But for must users, having just ONE Disk Cleanup to get rid of most of their junk, is important.

      However, garbage that’s created by specific programs, like AVG for instance, won’t be removed by Disk Cleanup. For that you’ll need another Cleanup program like Windows Utilities (WinUtils).

      I never really rely on just one cleanup program…. I even wrote one of my own, in Batch language, to address specific folders in my PC where I know junk files are hiding (hidden).

      One of the most damaging/dangerous type of files that accumulate on a person’s PC are ‘Tracking Cookies’ and the best program to get rid of those is “Super Anti Spyware” (FREE).

      Wishing y’all a very good 2016

      The Doctor 😎

      • #1545201

        One of the most damaging/dangerous type of files that accumulate on a person’s PC are ‘Tracking Cookies’…

        Really? Care to expand on that?

      • #1545207

        One of the most damaging/dangerous type of files that accumulate on a person’s PC are ‘Tracking Cookies’ and the best program to get rid of those is “Super Anti Spyware” (FREE).

        Wow! Seriously?

        Umm… Why?

        • #1545382

          Wow! Seriously?

          Umm… Why?

          Obviously, you don’t Understand, what a tracking Cookie is. Eh?

          What’s the first word in the name…….”Tracking”!!!!!

          It makes it possible for someone in China or Russia to track what you’re doing on your Computer.
          They can get your passwords, logins to your Bank Account or whatever.

          If you’re comfortable to have those things on YOUR PC, so be it, but I sure as heck don’t want them on MY Computer.

          My worse case scenario, was when I did a tune-up on a customer’s PC and after installing Super Anti Spyware and running a Quick Scan, it found and removed over 14,000 Tracking Cookies from just that one PC. Besides being extremely dangerous, it was a HUGE waste of HD space. I’ll bet that some of those, had been on his PC since the first day he went on the internet.

          Most HD cleanup programs DO NOT remove Tracking Cookies.

          A Clean PC is a Happy PC!!

          Cheers mates!
          The Doctor 😎

          • #1545401

            Obviously, you don’t Understand, what a tracking Cookie is. Eh?

            It makes it possible for someone in China or Russia to track what you’re doing on your Computer.
            They can get your passwords, logins to your Bank Account or whatever.

            Sorry but I don’t think I’m the one who misunderstands what tracking cookies are and how they can be used. This article from F-Secure may help.

            My worse case scenario, was when I did a tune-up on a customer’s PC and after installing Super Anti Spyware and running a Quick Scan, it found and removed over 14,000 Tracking Cookies from just that one PC. Besides being extremely dangerous, it was a HUGE waste of HD space.

            In IE, all but 2 cookies on my PC are just 1KB (Kilobyte) in size each (only Google’s are 2KB each), so 14,000 of them would be around 14MB (Megabytes). Hardly a HUGE waste of HD space, IMHO.

            Most HD cleanup programs DO NOT remove Tracking Cookies.

            Really? The ones I’ve seen don’t differentiate between ordinary cookies and tracking cookies but here’s 4 at random:

            CCleaner – cleans cookies
            43121-_CCleaner
            Click to enlarge

            BleachBit – cleans cookies
            43122-_BleachBit
            Click to enlarge

            KCleaner – cleans cookies
            43123-_kcleaner
            Click to enlarge

            System Ninja – cleans cookies
            43124-_systemninja
            Click to enlarge

            • #1545452

              In IE, all but 2 cookies on my PC are just 1KB (Kilobyte) in size each (only Google’s are 2KB each), so 14,000 of them would be around 14MB (Megabytes). Hardly a HUGE waste of HD space, IMHO.

              Purely nit-picking, but the (default) NTFS allocation unit is 4K bytes, so any small file, even of 1 byte, will actually occupy a minimum of 4 KB of disk space. Thus 14,000 files each with of 4 KB or less of actual content will use 56 MB. Yes, absolutely trivial!

              BATcher

              Plethora means a lot to me.

    • #1545455

      Some real-world nit-picking: a browser that stores cookies in a database as Mozilla-based browsers do would use ~700kb per 500 tracking cookies.

      SuperAntiSpyware’s own take on tracking cookies: “While not harmful, these items may track surfing and activity.”

      Since when have the Eicar test files been Critical Threats requiring immediate removal from the computer?

      43127-SAS

    • #1546091

      Hi I followed this link and I lost some free space. I’m running W10??
      http://www.sevenforums.com/tutorials/76383-disk-cleanup-extended.html

      Perhaps post in the Windows 10 forum?

    • #1546622

      Then you need to run the shortcut and select everything BUT ‘Setup.log’, because you’ll need that if you ever intend to uninstall any programs.

      This was disputed by three people when you posted it a year ago:

      Just for clarification, I’ve never heard of or had an issue uninstalling any programs if the “Setup Log Files”
      has been checked in clean manager’s advanced mode.

    Viewing 5 reply threads
    Reply To: Run Disk Cleanup in Extended Mode

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: