• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

TweakHound

Computer stuff...

  • Home
  • Windows XP
  • Windows Vista
  • Windows 7
  • Windows 8
  • Windows 10
  • Windows 11
  • Linux
  • Tweak Guides
  • Site Info
    • About
    • About Me
    • TweakHound’s World
    • Contact
    • My Computers
    • Old Articles
    • Privacy Policy
    • Old Index
    • Advanced Search

Tweaking Windows 10 – Version 21H2

May 19, 2021, 12:53(EDT) By Eric (a.k.a. TweakHound)

Clean, Defrag, & Optimize

Disk Cleanup

Press the Windows + R keys and type cleanmgr
or type disk cleanup in the Search box
or Start > All apps > Windows Administrative Tools > Disk Cleanup
(You can also launch this for any drive from Windows Explorer > drive root > Manage tab > Cleanup button)

Choose the drive you wish to clean (usually C: for your OS drive) and click OK.

Click Cleanup system files

You can check everything > click OK


 

Advanced Disk Cleanup
This cleanup method will create a cleanup task that you can run whenever you like. It differs from the disk cleanup utility found in your menu or search (cleanmgr) in that it has more options.
1 – Press the Windows + R keys.
In the resulting window type cleanmgr /sageset:50 and press Enter (or click OK).
(you don’t have to use the number 50, any number will do. I use it because I always have and it is easy to remember.)

2 – Click Clean up system files

3 – Start checking boxes. You can highlight a line and it will tell you what it does. I check all boxes EXCEPT Windows ESD installation files. They aren’t just vital to refresh and reset, these files ARE refresh and reset. The Previous Windows installation(s) line is exactly what it says. No takebacks! Click OK when done.

4 – Press the Windows + R keys.
In the resulting window type cleanmgr /sagerun:50 and press Enter (or click OK).
Remember this command, you can use this whenever you like.
(Notice we changed sageSET to sageRUN.) (The number has to be the same as you used above.)

5 – Your new task will do its thing. This can take a while if you’ve got a lot of stuff to clean.

REBOOT when finished!


 

Disk Cleanup Freeware
There are 2 cleanup tools I use on all my PCs. Because these programs change often (like monthly) I do not install them. I use the portable versions. If you want to install them that’s fine.
All these tools have the ability to delete passwords. Be very, very careful you don’t delete them by mistake.
On all my machines I use 2 cleaners:
Wise Disk Cleaner – Daily cleanup. Home page (w/installer), Download page w/Portable Version. In the name of all that is Geeky, DO NOT download the registry cleaner by mistake.
Cleanmgr+ – Every so often cleanup. Weekly, or monthly, or before I make system images.


 

Wise Disk Cleaner
Wise Disk Cleaner is my favorite free disk cleaner. I set it aggressively and use it every few weeks or before I make backup images. You can download it here.
I choose everything EXCEPT anything that says password. Start checking or unchecking boxes.
When you are finished selecting boxes double check your selections. I’m not kidding, I’ll wait …
…………………………………………………………………………………………………………………………………………………………………………………….. OK. Now click the Scan button.

When the scan is complete you can click the Clean button. This is not reversible! Reboot when finished.


Cleanmgr+
I only use the Cleanmgr+ app on the right. Below are the options I choose (Note – there are 2 tabs/sections).


Some items require you to run this app as Admin.
I don’t have Opera/Vivaldi/Waterfox installed…
I would prefer this app not show programs I don’t have installed, but what ya gonna do?


Manage Startup Items with Autoruns
note – I am aware that Win 10 Task Manager has a section to supposedly manage Startup items.
IMHO as of this writing it is broken: Win 10 – Boot Performance Monitoring Event Gone

Autoruns has long been one of my favorite programs. For the purposes of this article, we will just cover controlling startup items from the Logon tab. I encourage you to explore the program further. Autoruns description from the help file:

This utility, which has the most comprehensive knowledge of auto-starting locations of any startup monitor, shows you what programs are configured to run during system bootup or login, and what extension load into various Windows processes, including Explorer and Internet Explorer. A “Hide Signed Microsoft Entries” option helps you to zoom in on third-party auto-starting images that have been added to your system.

This is the way I use Autoruns. After downloading and extracting Autoruns, copy the folder to the root of your C: drive or your My Documents folder. Now open that folder and right-click on autoruns.exe (not autorunsc.exe) and choose Send to > Desktop (create shortcut). Now go to the shortcut on the desktop, right-click it and choose Properties > Shortcut tab > Advanced… button > check the Run as administrator box. Click OK > Apply > OK. You can now Pin that shortcut or copy / paste it to the Start Menu as I do. You can delete the desktop icon if you wish.

Now click the icon to open it > click the Logon tab > uncheck the things you do not want to start with Windows. You can click File > Save or the changes will be applied when you close the program.

 

Defrag & Optimize

Defrag
Defrag is part of the Windows 10 Maintenance process and was most likely partially configured during initial setup. For some reason Microsoft has decided to ditch the name defrag and call it optimize instead.
You can run defrag any time from Windows Explorer. Just click the Manage tab and the Optimize button.

SSD users you SHOULD NOT disable defrag. For SSDs, Windows 10 will run trim and not defrag.

To open defrag: Press the Windows + R keys and type dfrgui (or type dfrgui or defrag in the Search box). Click Optimize to defrag now. Click Change settings to configure or turn off defrag.

NEXT >>>

Pages: Page 1 Page 2 Page 3 Page 4 Page 5 Page 6 Page 7 Page 8 Page 9 Page 10 Page 11 Page 12 Page 13 Page 14 Page 15 Page 16 Page 17 Page 18 Page 19 Page 20 Page 21 Page 22

Reader Interactions

Comments

  1. Nate says

    May 5, 2022, 10:50(EDT) at 10:50

    Just a quick question regarding the block Cortana registry tweak. Is this still the current working method? I had read that this has changed a few times over the last few releases of Windows, just confirming it still works.

    Thanks for your incredibly thorough guides over the years, it’s always been a great source of education.

    Nate

    • Eric (a.k.a. TweakHound) says

      May 5, 2022, 13:06(EDT) at 13:06

      AFAIK. I would advise using O&O Shutup10 to make sure.

Primary Sidebar

Popular Articles

Windows 10

Tweaking Windows 10

My Windows 10 Tweaks

Windows 10 Privacy Settings

Win10 Diagnostics Tracking Service Gone?

Windows 10 Advanced Disk Cleanup

Win10 Customize Installation Options

Windows 10 Dark Theme

Win10 Wallpapers, Graphics, etc.

All Windows 10 Articles

Windows 8

Tweaking Windows 8.1

Advice On Installing Windows 8.1

Clean Install Windows 8.1

Cleanup After Windows 8.1 Upgrade

Create Shutdown, Restart, Logoff Tiles For Windows 8

Tweaking Windows 8

Install Windows 8 – Clean Install With Upgrade Media

Install Windows 8 – Upgrade

Windows 8 – Cleaning Up After You’ve Upgraded

Windows 8 Freeware Machine

Windows 8 SSD Settings, Etc.

How To Resize Your Windows 8 Partition

Create Windows 8 Recovery Media

Windows 8 – Elevated Command Prompt

How To Fix The Windows Bootloader

Windows 7

Installing Windows 7

Tweaking Windows 7

Windows 7 Diagnostics Tracking Service

The Windows 7 Freeware Machine

The Windows 7 Pagefile And Running Without One

Bad Tweaks

SSD Tweak Guide (sort of)

The noguiboot (no GUI Boot) Tweak

NtfsMemoryUsage=2 Tweak

More Windows 7 articles here.

Windows Vista

Installing Windows Vista

Tweaking Windows Vista

More Windows Vista articles here.

Windows XP

eXPired - The Last Windows XP Guide You'll Ever Need

The Right Way To Install Windows XP

Super XP Tweaking Guide

The Freeware XP Machine

Bad Tweaks

More XP Articles here and here.

Backup

Backup Article Greatest Hits – Vol. 1

Other

Cataloging Your Music Collection

Finding Good Album Art

Converting Vinyl Records To Digital Music – A Non-Audiophiles Guide

Windows All-In-One Recovery Flash Drive

SSD Tweak Guide (sort of)

Raidmax Blackstorm Case Review

Disk Partitioning

Ditch Those CD's! A Guide To Using USB Flash Drives

Checking Your Disks For Problems

Bad Tweaks

More articles here

Tags

Android Backup Beer Computer Hardware Computer News Cool Tools Freeware How-To's Linux Off Topic openSUSE Playlists Privacy Security Software This Site vacation Veterans Windows 7 Windows 8 Windows 10 Windows 11 Windows Vista Windows XP

TweakHound - Optimize Your Computing Experience! TweakHound - Optimize Your Computing Experience!

Copyright 2002-2025 by Eric Vaughan All material contain here is the property of the materials owner. Windows, Windows XP, Windows Vista, Windows Seven, Windows 8, Windows 10, Windows 11, Microsoft, and all associated logos are trademarks/property of Microsoft. You may not use or copy any material from tweakhound.com without expressed written permission. Hotlinking to any material within this site is forbidden. Privacy Policy