How to open the Disk Cleanup in Windows through CMD command line instead of searching for it.

Published 2024-04-01
Disk Cleanup is a valuable tool for keeping your computer running smoothly and efficiently by managing storage space and potentially improving hard drive health in your computer. It is a package that included in Windows. Why don't we use it?

#DiskCleanup #FreeUpSpace #ImprovesPerformance #ExtendsHardDriveLifespan #Cleanmgr #Temporaryfiles

There are two ways to do this:
1. Search for "cmd" in the Start menu. Right-click on "Command Prompt" and select "Run as administrator." OR
Press the Windows key + R to open the Run dialog. Type cmd and press Ctrl + Shift + Enter.
2. Once Command Prompt is open, type the following command and press Enter:
cleanmgr
3. This will launch the Disk Cleanup tool and you can choose the files that you want to delete.

You can specify the drive to clean up:
cleanmgr /d C:
C is the letter of the drive that you want to clean up.

This command will automatically select all files for deletion:
cleanmgr /sagerun

This command will open the Disk Clean-up Settings
cleanmgr /sageset

How to delete temp files on Windows Startup with a Batch Script. It is too late if you don't know.
   • How to delete temp files on Windows S...  



Music from YouTube Audio Library

All Comments (1)