Advanced Disk Cleanup

Discussion in 'Windows 7 Tutorials' started by kemical, Dec 28, 2010.

  1. kemical

    kemical Windows Forum Admin
    Staff Member Premium Supporter Microsoft MVP

    Joined:
    Aug 28, 2007
    Messages:
    31,841
    Likes Received:
    1,568
    As many of you are aware Windows 7 has it's own Disk Cleaner for cleaning stuff like temporary files.
    This little app can be found via the Start menu although a much better version can be found via 'cmd prompt'. (see screen shot).

    To set up the advanced cleaner right click on cmd prompt and 'run as admin'.
    Then type:

    cleanmgr/sageset:1

    Hit enter and the Disk Cleanup box will appear although you'll notice that it has many more check boxes than the default one. Once the boxes have been ticked close the cleaner by clicking ok.
    Once set up the cleaner can be run at anytime with this command:

    cleanmgr/sagerun:1

    Hit enter to set the cleaner in motion. You'll then see it run through the process much like the default cleaner does.

    Happy Cleaning!
     
    2 people like this.
  2. OldTimer

    OldTimer Banned

    Joined:
    Jul 19, 2010
    Messages:
    806
    Likes Received:
    29
    A simple one-liner, copied and pasted into a desktop shortcut will do the job nicely.

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

    The first time it runs, you must check off everything you want the program to delete.
    I just check everything, but, Setup Logs and Office Setup files. Leave those unchecked.
    Everything else is fare game, for deletion.

    Good Luck!
    O.T. :cool:
     
  3. hiqasim

    hiqasim Banned

    Joined:
    Feb 27, 2012
    Messages:
    38
    Likes Received:
    1
    hi,

    can anyone please clear it to me what is the difference between disk cleanup and disk defragmentation???
     
  4. 19ramman85

    19ramman85 New Member

    Joined:
    Sep 1, 2010
    Messages:
    24
    Likes Received:
    1
    From my understanding ....... all disk defrag does - is just tidy up the disks, while disk clean-up eliminates unused files and such.
     
  5. Drew

    Drew Banned

    Joined:
    Mar 25, 2006
    Messages:
    3,575
    Likes Received:
    146
    1st of all this clean-up method is already somewhere in the forum as a Sticky, the 1 line version. Been here since way back. But, still always a good thing to bring to folks awareness.

    Defrag organizes. That's it. & everything, be it good or bad bits (or bytes, for that matter). There are things that are a result of that but, that's all it does. It's a myth that is fixes things.

    Disc Clean-up does just that... like mops & brooms., takes care of the dust & dirt that's not wanted or needed. Maybe you can't/ don't see the stuff but, you vaccum your carpets wkly, anyway.

    Both (help) enhance performance, speed & free space.

    Cheers,
    Drew
     
  6. Drew

    Drew Banned

    Joined:
    Mar 25, 2006
    Messages:
    3,575
    Likes Received:
    146
    Oh, now, I get it... it is THIS old Sticky thread; just that someone recently stuck something unrelated in this thread, something misplaced, again!

    Admin, do something about this, please. 3rd or 4th similar occurance in the last day or 2, all by the same person, hiqasim
    Kindest Regards,
    Drew
     
  7. catilley1092

    catilley1092 Extraordinary Member

    Joined:
    Nov 19, 2010
    Messages:
    1,034
    Likes Received:
    46
    This is a great option to clean up a lot of junk files that's no longer needed. As long as you just want to empty everything. It doesn't overwrite anything. For someone who uses a computer for school & research, web browsing & forum posting, w/o giving away any personal info, this is great.

    However, if you're making transactions (purchases, banking), then a utility such a CCleaner is in order. It overwrites the deleted data, making it hard to retrieve. Be sure not to select the "quick" (default) option, choose one of the overwriting methods on the list, 1,3,7 or 35 (overkill) times. Most of the time, 1 sweep is enough, 3 is plentiful. 7 & 35 overwrites is overkill, and it's been said that there is no advantage in a 35 time overwrite than a 7 time one.

    Defragging your computer is a maintenance item, just like running regular virus scans. What happens is, over time, files gets broken into pieces, a single file can be scattered all over the partition. The computer runs faster when the files are defragged on a regular basis. With Windows 7, one can schedule defragging, or the user can choose from other free & paid software to do it instead.

    I use Perfect Disk 12.5 for this. It runs 2 times per week, or if the drive is showing signs of fragmentation. Perfect Disk also has an Intelligent Write feature, which prevents fragmentation before it happens. While it's not perfect, it does a great job. I got the Family Pack for $39.99 from Raxco. The Family Pack is actually Perfect Disk/Perfect Speed combo. With 1 license, it can be installed on all computers sharing the same IP address.

    Cat
     
  8. Drew

    Drew Banned

    Joined:
    Mar 25, 2006
    Messages:
    3,575
    Likes Received:
    146
    How cute... cus of a misplaced item we are revisiting a thread from 3 yrs ago, LMAO!
     
  9. squirtmph

    squirtmph Active Member

    Joined:
    Sep 26, 2012
    Messages:
    89
    Likes Received:
    0
    Great post, But I was unable to see "Image"

    Can you please let me know, what OPTION you have choose, Please?

    since I am still learning w/ Windows 7 64Bite Home Pro.
    I would love to know what setting you have.

    Thank you, very much, Sir.

    Note:

    What difference does to do it w/ command VS Other software?
    CCCleaner
    Glary Utilities
     
    #9 squirtmph, Mar 24, 2013
    Last edited: Mar 24, 2013
  10. Drew

    Drew Banned

    Joined:
    Mar 25, 2006
    Messages:
    3,575
    Likes Received:
    146
    Forgive me but, I looked back (a bit) in this thread I you will have to tell me to what exactly your query refers

    "Great post, But I was unable to see "Image"

    Can you please let me know, what OPTION you have choose, Please?

    since I am still learning w/ Windows 7 64Bite Home Pro.
    I would love to know what setting you have."

    Please explain what things you inquiring; I hate guessing.

    As for your note... Both clean up native to the OS & CCleaner are used to achieve the best goal possible. Ergo more than (just) one thing is used & there things one address that the other doesn't & vise versa so, ultimately all bases are covered better than if CCleaner is not, also, used.

    Cheers,
    Drew
    Win8Logo (2013_02_06 10_30_24 UTC).
     
  11. squirtmph

    squirtmph Active Member

    Joined:
    Sep 26, 2012
    Messages:
    89
    Likes Received:
    0
    = Most be Image posted!

    What boxes have you checked?

    Witch one would be Safe/Suggest, Please?

    If I can copy same check boxes you have, when you run 'CMD PROMPT' Above.


    Thank you very much for your response.
     
  12. Drew

    Drew Banned

    Joined:
    Mar 25, 2006
    Messages:
    3,575
    Likes Received:
    146
    Technically ALL the boxes can be checked. However, personally, I leave 3 unchecked. If you highlight each item, there is a description you can view to decide if it is something you want to have untouched or not. when this (method) is used the boxes need be checked only the 1st time this is used. Each subsequent time running (it) the previously selected boxes will remain checked.

    The only thing I recommend is this be used daily, along w/ Internet Options (Delete, Delete) and CCleaner.

    Here are screen shots showing which boxes I have unchecked... someone else may leave others unchecked or none unchecked. Use cmd, Run as Admin.

    @ the moment I can't get this thing to accept images. Totally unexpected; very sorry.

    Cheers,
    Drew
     
    #12 Drew, Mar 27, 2013
    Last edited: Mar 31, 2013
  13. squirtmph

    squirtmph Active Member

    Joined:
    Sep 26, 2012
    Messages:
    89
    Likes Received:
    0
    Question About settings: Advanced Disk Cleanup

    Setup Logs and Office Setup files (I dint see this Option in the menu)
    What would be you suggestion If I Check or Uncheck them?

    Thank you!
     
  14. Drew

    Drew Banned

    Joined:
    Mar 25, 2006
    Messages:
    3,575
    Likes Received:
    146
    Re: Question About settings: Advanced Disk Cleanup

    As I said, check out the item descriptions to help you decide what YOU may want to leave unchecked. Probably the same ones I show as Unchecked... oh, right, forgot, the sight is not accepting the screen shots :S darn.

    I leave the ones unchecked that help if System Restore is ever needed & such things. Some of the descriptions will actually, "these can be deleted" or words to that effect.

    The Office item only shows IF one has Microsoft Office installed.

    Cheers,
    Drew
    Win8Logo (2013_02_06 10_30_24 UTC).
     
  15. squirtmph

    squirtmph Active Member

    Joined:
    Sep 26, 2012
    Messages:
    89
    Likes Received:
    0
    Thank you very much for you post!

    It feel my PC is running pretty god now!

    Yes, I have Microsoft Office (2013) v15 Installed In my PC
     
  16. Drew

    Drew Banned

    Joined:
    Mar 25, 2006
    Messages:
    3,575
    Likes Received:
    146
    You're very welcome. Glad if I have helped you achieve improved performance.

    Cheers,
    Drew
    Win8Logo (2013_02_06 10_30_24 UTC).
     
  17. squirtmph

    squirtmph Active Member

    Joined:
    Sep 26, 2012
    Messages:
    89
    Likes Received:
    0
    yes, Andrew thanks to you off curse!


    I have windows re-activate OEM windows to archive better goals too. But I have end up with allot present in Firefox.

    Do you come to know how to delete all this ICON I have? Please.
    I am posting image.

    Thank you

    Cheers,
    Drew
    View attachment 22896 [/QUOTE]
     

    Attached Files:

  18. Drew

    Drew Banned

    Joined:
    Mar 25, 2006
    Messages:
    3,575
    Likes Received:
    146
    I have to go out; will deal w/ this when I return. Don't touch that piece of crap on your screen. My name is Drew not, Andrew.

    I'll try to help you later this evening.

    Cheers,
    Drew
    Win8Logo (2013_02_06 10_30_24 UTC).
     
    #18 Drew, Apr 3, 2013
    Last edited: Apr 3, 2013
  19. Drew

    Drew Banned

    Joined:
    Mar 25, 2006
    Messages:
    3,575
    Likes Received:
    146
    I'm not sure why you are using FF rather than IE.

    Close (get rid of) that shopping window thing. Do not ever touch anything that says "Improve your PC's Poor Performance".

    If you are talking about the million icons across the top of your FF browser window... those are (a pile of) toolbars one doesn't want or need. They can be disabled in the browser's own controls... I've not used FF for a while but, as I recall it's under Tools. That said, toolbars should be on the list in Programs & Features & I strongly recommend removing them @ that location.

    Cheers,
    Drew
    Win8Logo (2013_02_06 10_30_24 UTC).
     
  20. squirtmph

    squirtmph Active Member

    Joined:
    Sep 26, 2012
    Messages:
    89
    Likes Received:
    0
    Hello Dear Drew.

    I remember you say before when you set-up command code you have the option to chose.
    and Microsoft Office was there IN one of those option.
    can you please light me, why Office docent show on mine?

    Also What would be PC Damage If I chose to clean up this Option:
    Previous Windows installation(s)
    service pack backup files
    setup log files
    temporary windows installation files
    eindows upgrade log files
     

Share This Page

Loading...