Disk Cleanup in Windows 10

by James, Updated on: April 14, 2021

Many people encountered low disk space issue in Windows 10 laptop or desktop. Windows Updates, system log, temp, programs and many other types of files write into C drive continuously, so C drive becomes full sooner or later. If you replace disk with a new one, hard disk manufacturers will be very glad. When C drive runs out of space, firstly try to clean up disk in Windows 10 to remove junk and unnecessary files. If you cannot get enough free space, try to increase C drive by moving free space from other partitions. In this article, I'll introduce how to run disk cleanup in Windows 10 with cmd and GUI wizard.

1. About Windows 10 Disk Cleanup utility

Disk Cleanup is a Microsoft Windows computer native included maintenance utility that is used to free up disk space on hard disk drives. This utility is easy and fast, it searches and analyzes the hard drive for files that are no longer of any use, and then removes the unnecessary files safely. These unnecessary and junk files include Windows Updates, Temporary files, Logs, Cache, files in Recycle Bin, etc.

You can run Disk Cleanup in all Windows versions from XP, however, in some Windows version such as Server 2008 and 2012, Disk Cleanup is not enabled by default, so you need to manually install this component. Starting with Windows 10 version 1803, Disk Cleanup are incorporated into Windows 10's Settings app, however, the standalone Disk Cleanup utility is still available.

2. How to launch Disk Cleanup in Windows 10

Press Windows and R key on keyboard, type cleanmgr, and then click OK.

Cleanmgr

Select C: drive or other one that you want to clean up.

Select drive

Open Windows File Explorer, right click C: drive and select Properties.

Windows Explorer

Click Disk Cleanup in the pop-up window.

Disk cleanup

Search from task bar at bottom left. Type clean then Disk Cleanup is shown on the top.

Search by clean

3. How to clean up disk in Windows 10 with GUI wizard

When the Disk Cleanup window is opened, it is very easy to complete the next steps, only several clicks are needed.

Steps to clean up disk in Windows 10 (32/64 bit):

1. Click the check-boxes to select the files that you want to remove and click OK to begin. If you are not sure about the meaning of these files, click it and you'll see corresponding description on the bottom.

Disk cleanup

2. Confirm this operation by clicking Delete Files.

Confirm deleting

After that, Disk Cleanup will begin deleting the unnecessary and junk files.

Deleting

3. Repeat to Clean up system files.

4. How to run Windows 10 Disk Cleanup command line

There are 3 ways to run disk cleanup in Windows 10 via command line, select the one that fit for your needs.

Command with all files selected

  1. Press Windows and R together on the keyboard.
  2. Input cleanmgr /LOWDISK and press Enter.
  3. Disk Cleanup dialog box will pop up with all types of files selected by default, so you just need to click OK to confirm.

Clean up all junk files automatically

  1. Press Windows and R together on the keyboard.
  2. Input cleanmgr /VERYLOWDISK and press Enter.

Then Disk Cleanup will delete all junk files automatically and then show you a dialog box with result.

Clean up result

Clean up specified junk files automatically

  1. Press Windows and R together on the keyboard to open Run.
  2. Input cleanmgr /sageset:1 and press Enter. (You can specify the value from 0 to 65535).
  3. Disk Cleanup dialog box will pop up, select the files to delete and click OK.
  4. In the future, you just need to run cleanmgr /sageset:1 and press Enter, the preselected junk files will be deleted automatically. If you want to delete different types of files, input cleanmgr /sageset:2 in step 2 and run cleanmgr /sageset:2 in step 4.

5. Additional options after cleaning up disk

If you did not get plenty of free space after running Disk Cleanup in Windows 10, the 3 methods below are very useful.

Move installed apps and games

When installing programs, many people use default settings to C: drive. The more you installed, the less space left. It's better to install programs to separated partition. Better than previous versions, Windows 10 can move these programs to other partition without reinstalling.

Steps to clean up C drive in Windows 10 by moving applications:

  1. Press Windows and X on keyboard, then click Settings > Apps > Apps & features
  2. Click an app or game.
  3. Click the Move bottom.
  4. Select the new location from the drop-down list.
  5. Click the Move button.
  6. Repeat the steps to move more items.

Move Apps

Save files to new location

Windows 10 has another new option to save new files of apps, documents, music, pictures, and videos to other place, steps:

  1. Press Windows and X on keyboard, then click Settings
  2. Click SystemStorage.
  3. Click Change where new content is saved under More storage settings.
  4. Click the drop-down list to select new location and click Apply.

Change location

Add more free space to C: drive

If you cannot reclaim large amount of disk space, C drive may be full again in the near future, so you'd better increase C drive space. In most of computers, there is free space in other partition on the same disk, NIUBI Partition Editor can transfer these free space into C drive without losing data. Operating System, programs and associated setting keep the same with before.

Download NIUBI Partition Editor Free Edition and follow the steps in the video:

Video guide

Expand C drive as large as possible and run Windows 10 Disk cleanup monthly, then you won't see C drive out of space issue any more.