---
title: "9 Ways to Clean Up Windows 10 With Disk Cleanup Cmd"
description: "Learn how to delete backup files in Windows 10, use the disk cleanup cmd, clean up temp files, and more to keep Windows 10 clean."
canonical: "https://adamtheautomator.com/disk-cleanup-cmd/"
---

# 9 Ways to Clean Up Windows 10 With Disk Cleanup Cmd

> Learn how to delete backup files in Windows 10, use the disk cleanup cmd, clean up temp files, and more to keep Windows 10 clean.

Source: https://adamtheautomator.com/disk-cleanup-cmd/

---

ATA Learning

Tap to hide

[

ATA Learning

](/)

*   [Home](/)
*   [Tutorials](/tutorials/)
*   [Instructors](/author/)
*   [Advertising](/advertising/)
*   [Recommended Resources](/resources/)
*   [About Adam](/about-adam/)

Search for:  

*   [](https://twitter.com/adbertram)
*   [](https://github.com/Adam-the-Automator)
*   [](https://www.linkedin.com/company/adam-the-automator-llc)
*   [](/feed/)

![9 Ways to Clean Up Windows 10 With Disk Cleanup Cmd](https://adamtheautomator.com/wp-content/uploads/2021/03/9-Ways-to-Clean-Up-Windows-10-Step-by-Step.jpg)

# 9 Ways to Clean Up Windows 10 With Disk Cleanup Cmd

[![](https://secure.gravatar.com/avatar/3af64110e538c07a01fd9f0782f700ce6ed2d798bbf7b120e299d375eca5b0b3?s=192&d=mm&r=g)Arman Castillote](https://adamtheautomator.com/author/arman-castillote/)19 March 202113 min. read

Categories: [Home Ops](/category/home-ops/)

Tags:[Windows 10](/tag/windows-10/)

Table of Contents

*   [Before You Start](#h-before-you-start)
*   [Removing Windows 10 Backups](#h-removing-windows-10-backups)
*   [Deleting Windows File History](#h-deleting-windows-file-history)
*   [Removing Windows System Restore Points](#h-removing-windows-system-restore-points)
*   [Removing Cached Updates](#h-removing-cached-updates)
*   [Stopping the Windows Update Service](#h-stopping-the-windows-update-service)
*   [Deleting Cached Updates via the GUI](#h-deleting-cached-updates-via-the-gui)
*   [Deleting Files Using PowerShell](#h-deleting-files-using-powershell)
*   [Deleting the Windows.Old Folder After a Windows 10 Upgrade](#h-deleting-the-windows-old-folder-after-a-windows-10-upgrade)
*   [Using the Storage Sense Settings](#h-using-the-storage-sense-settings)
*   [Using the Temporary Files Settings](#h-using-the-temporary-files-settings)
*   [Running the Disk Cleanup Tool](#h-running-the-disk-cleanup-tool)
*   [Deleting the $Windows.~BT and $Windows.~WS Folders?](#h-deleting-the-windows-bt-and-windows-ws-folders)
*   [Deleting System Folders Using PowerShell](#h-deleting-system-folders-using-powershell)
*   [Other Space-Saving Tips to Clean up Windows 10](#h-other-space-saving-tips-to-clean-up-windows-10)
*   [Clearing Your Downloads Folder](#h-clearing-your-downloads-folder)
*   [Removing Unused Applications](#h-removing-unused-applications)
*   [Deleting Temp Files in Windows 10](#h-deleting-temp-files-in-windows-10)
*   [Conclusion](#h-conclusion)

Windows 10 is a phenomenal operating system (OS), but like any other OS, the more you install applications, change settings and browse the web, you can clutter it up. In this article, you’re going to learn how to keep Windows clean by covering how to delete backup files in Windows 10, use the disk cleanup cmd, remove file history, unnecessary system restore points, delete the Windows.old folder, and the $Windows.~BT folder and more.

By following the steps in this tutorial, you could potentially clean up tens or even hundreds of gigabytes of valuable space on your Windows 10 machine!

## Before You Start

If you’d like to follow along with each of these handy storage-saving tips, you’ll only need to meet one prerequisite; Windows 10. All examples demonstrated in this tutorial were done on Windows 10 Build 1909, but these tips should work on older builds also.

## Removing Windows 10 Backups

Let’s start this space-saving tutorial and cover how to delete backup files in Windows 10. Windows 10 has [a built-in feature that automatically backs up files to a separate storage volume](https://support.microsoft.com/en-us/windows/back-up-and-restore-your-pc-ac359b36-7015-4694-de9a-c5eac1ce9d9c).

The Backup and Restore feature helps ensure you don’t lose important files, but it has a downside; the backed-up files’ size keeps inflating.

To conserve space, you should periodically check for and delete backup files. To do so, follow the instructions below to remove the backups you don’t need.

1.  First, click on the **Start** button, then type _backup_. You should see the **Backup settings** application; click on that.

![Running Backup Settings](https://adamtheautomator.com/wp-content/uploads/2021/03/backup.png)

Running Backup Settings

2\. Once in the **Backup** settings, click on the **Go to Backup and Restore (Windows 7)** link to open up the **Backup and Restore (Windows 7)** app.

![Confirming If There Are Old Windows 7 Backup Files](https://adamtheautomator.com/wp-content/uploads/2021/03/older_backup.png)

Confirming If There Are Old Windows 7 Backup Files

3\. In the **Backup and Restore** window, you’ll see your backup drive. As shown below, click on the **Manage space** option.

> _If you see “Windows Backup has not been set up” under the **Backup** section, you can skip the rest of this section. You have no older Windows backups taking up space._

![Accessing The Backup Drive](https://adamtheautomator.com/wp-content/uploads/2021/03/backup_win7.png)

Accessing The Backup Drive

4\. In the **Manage Windows Backup disk space** window, you’ll see two options to manage your backup drive; the **View backup** and **Change settings** options.

Click on the **View backups…** button. This button lets you choose and select a backup period to delete.

![Managing Windows Backup Drive](https://adamtheautomator.com/wp-content/uploads/2021/03/delete-backup-files-2-1.png)

Managing Windows Backup Drive

5\. Choose a **Backup Period** from the list from a timeframe you feel comfortable with removing.

6\. Click **Delete** to remove all contents of the backup files in the selected time period.

> _The Backup and Restore feature saves a copy of the files inside the folder you selected upon setting up this feature. Meaning, deleting a Backup Period will delete all the files the system backed up on that time period._

![Deleting Backup Periods](https://adamtheautomator.com/wp-content/uploads/2021/03/delete-backup-files-3-1.png)

Deleting Backup Periods

7\. Back on the main **Manage Windows Backup disk space** window, click on the **Change settings** button.

8\. Click on the **Keep only the latest system image and minimize space used by backup** option. Setting this option automatically removes all of the currently-stored backups and only keeps the latest ones.

9\. Click **OK** to proceed with the option selected.

![Keeping The Latest System Image](https://adamtheautomator.com/wp-content/uploads/2021/03/delete-backup-files-4.png)

Keeping The Latest System Image

## Deleting Windows File History

Assuming you’ve already cleared your backups from the previous example, but you’re still missing a large amount of space in your drive. Clearing up space from using the [File History](https://support.microsoft.com/en-us/windows/file-history-in-windows-5de0e203-ebae-05ab-db85-d5aa0a199255) is another way to reclaim some space.

_Windows File History_ is another built-in feature of Windows 10 that lets you automatically back up your files. Unlike the Backup settings, File History only stores files that are in your Documents, Music, Pictures, Videos, and Desktop folders to your separate or external drive.

To clean up _Windows File History_:

1.  Right-click on the **Windows Start** button and choose **Settings** to open up the Windows Setting window.

![Accessing Windows Settings](https://adamtheautomator.com/wp-content/uploads/2021/03/windows_settings.png)

Accessing Windows Settings

2\. On the **Windows Settings** page. scroll down and click on **Update & Security.**

![Accessing Windows Update, Recovery and Backup Settings](https://adamtheautomator.com/wp-content/uploads/2021/03/update_security.png)

Accessing Windows Update, Recovery and Backup Settings

3\. Click on **Backup**.

4\. If you’re using _Windows File History_ already, press the **More options** link to open the **Backup Options** window.

> _If you see **Back up using File History** turned off, you can skip the rest of this section. You have no backed-up files taking up space._

![Accessing File History Settings](https://adamtheautomator.com/wp-content/uploads/2021/03/file_history.png)

Accessing File History Settings

5\. In the **Backup options** window, you’ll probably find the **Keep my backups** dropdown is set to keep files **Forever**. To free up space on your drive, change the **Keep my backups** option to **1 month** or whatever time interval you prefer, as shown below.

![Configuring Backup Options ](https://adamtheautomator.com/wp-content/uploads/2021/03/filehistory_backup.png)

Configuring Backup Options

> _You can also remove the current backup drive as it completely disables the File History. But, you should think twice before doing so since you wanted to back up your files in an external drive in the first place!_

6\. While you’re in the Backup Options window, scroll down to the bottom. You’ll see an option as shown below, then click on the **Stop using drive** button.

![Disabling File History Backup](https://adamtheautomator.com/wp-content/uploads/2021/03/stop_backup.png)

Disabling File History Backup

> _There’s also an option to delete all file backups while keeping the recent ones. Run PowerShell as an administrator, then type in this command `fhmanagew.exe -cleanup 0` and press Enter._

Related:[How to Run PowerShell as Administrator](https://adamtheautomator.com/powershell-run-as-administrator/)

Windows Backup and File History both focus on a separate or external drive. Now it’s time to clear up space in your local drive.

## Removing Windows System Restore Points

If you’ve ever experienced corruption with your Windows 10 OS and discovered you could restore it with [system Restore Points](https://docs.microsoft.com/en-us/windows/win32/sr/restore-points), you know the benefit. A system restore point is a collection of files and registry settings taken at a specific point in time.

Even though having a system restore point is a great benefit, storing many restore points will eventually take up disk space. To ensure restore points don’t go overboard, follow the steps below on how to remove them.

1.  Click the **Start** button and type _restore_, then click on **Create a restore point**.

![Create a restore point](https://adamtheautomator.com/wp-content/uploads/2021/03/restorepoint.png)

**Create a restore point**

2\. As demonstrated below, click on the **Configure** button under the **System Protection** tab. This will open up the **System Protection** window that lets you configure the system’s restore points settings.

![Accessing System Restore Points Configuration](https://adamtheautomator.com/wp-content/uploads/2021/03/configure.png)

Accessing System Restore Points Configuration

3\. Click on the **Delete** button to delete all restore points freeing up the most space and click **OK**.

> _You can set the maximum space restore points consumes by adjusting the slider if you need to maintain some restore points._

![Deleting System Restore Points](https://adamtheautomator.com/wp-content/uploads/2021/03/delete_restorepoints.png)

Deleting System Restore Points

## Removing Cached Updates

Windows Updates tend to do what they please in the Windows 10 background. When Microsoft releases new updates, Windows 10 will tend to [download and install them automatically](https://support.microsoft.com/en-us/windows/manage-updates-in-windows-10-643e9ea7-3cf6-7da6-a25c-95d4f7f099fe).

When Windows 10 downloads and installs updates, it caches update files that let you uninstall them at some point if needed. The only caveat is that the files keep piling up, eating away storage space.

> _Other than cleaning up your storage, removing cached updates fixes issues with Windows Update. Perhaps you’re getting an error, or it’s stuck at 0% download progress. You should start with a clean slate_.

### Stopping the Windows Update Service

The Windows Update service typically locks cached updates. To remove cached updates, you’ll first need to stop the Windows Update service. To do so:

1.  Click on the Windows start menu and type _services.msc_. You should then see the **Services** window pop up.

2\. Inside the **Services** window, right-click on **Windows Updates** and select **Stop.** Keep the Services window open to re-enable the Windows Update service later.

![Disabling Windows Update Services](https://adamtheautomator.com/wp-content/uploads/2021/03/services_window.png)

Disabling Windows Update Services

> _You can also stop the Windows Update service via PowerShell by running `Get-Service -Name 'wuauserv' | Stop-Service`._

### Deleting Cached Updates via the GUI

Once you’ve stopped the Windows Update service, it’s time to begin removing some files and folders.

1.  Open up File Explorer and navigate to the _C:\\Windows\\SoftwareDistribution\\Download_ folder.

2\. Select all the files and folders by pressing _Ctrl+A._

![Selecting Cached Update Files](https://adamtheautomator.com/wp-content/uploads/2021/03/cached_update.png)

Selecting Cached Update Files

3\. Once everything is selected, press the _Delete_ key to remove the cached updates.

> _To delete the files without moving to Recycle Bin, press the Shift+Delete keys instead._

4\. After removing the cached updates, go back to the Services window, right-click on the Windows Update service and choose Start.

### Deleting Files Using PowerShell

In the previous example, manually removing the cached updates from the File Explorer is surely efficient. However, it takes a lot of effort to complete the process.

You can use PowerShell to remove the cached updates with a single script and it all happens at once.

Create a PowerShell script and paste the following code in or open up Windows [PowerShell](https://adamtheautomator.com/powershell-run-as-administrator/) as Administrator and paste the code snippet below into the console.

Related:[How to Run PowerShell as Administrator](https://adamtheautomator.com/powershell-run-as-administrator/)

```powershell
## Stops the Windows Update Service
Stop-Service -Name 'wuauserv'

## Targets the Windows Cached Update location
Set-Location $env:windir\SoftwareDistribution\Download

## Deletes everything inside the *Download* folder *-Force - forces deletion of read-only files
## -Recurse - includes files in sub-directories
## -Confirm:$false - (quiet mode) suppresses prompts*
## Remove-Item * -Recurse -Force -Confirm:$false

## Starts the Windows Update Service
Start-Service -Name 'wuauserv'
```

## Deleting the Windows.Old Folder After a Windows 10 Upgrade

If you were previously running Windows 7 on your computer and upgraded to Windows 10, you may have a folder [named _Windows.old_](https://support.microsoft.com/en-us/windows/retrieve-files-from-the-windows-old-folder-f668ada4-701b-204a-73c3-952bc5ceb1c8) on your computer. This folder is a backup of your Windows 7 installation when you upgrade to Windows 10.

In a sense, it’s great that you can still access stuff you had in your old Windows version. However, an old Windows version takes up a large amount of space in your drive, so how do you fix that?

You can clean up this _Windows.old_ folder in three different ways, each with its advantages and disadvantages.

### Using the Storage Sense Settings

You can remove old Windows versions by using a Windows 10 feature called [Storage Sense](https://support.microsoft.com/en-us/office/use-storage-sense-to-manage-disk-space-d77af168-e28f-4071-88a6-af08a3341688). Storage Sense is a built-in Windows 10 feature that monitors storage and frees up space automatically. Below are some of Storage Sense features that make it stand-out from other methods of cleaning up your Windows 10 system.

*   Clears Temporary Files in your system that are not in use
*   Dehydrates cloud-backed content that hasn’t been opened in a certain amount of days
*   Deletes files in the Downloads folder if they haven’t been opened for more than a certain number of days.
*   Removes files in the Recycle Bin if they have been there longer than the time configured in the Storage Sense settings.

Storage Sense is pretty useful for many things, like the sole purpose of deleting the old versions of your Windows system, here’s how.

To delete a Windows.old folder with Storage Sense:

1.  Click on the **Start** button and type in _storage,_ then click on **Storage Settings**.

![Accessing Storage Settings](https://adamtheautomator.com/wp-content/uploads/2021/03/storage.png)

Accessing Storage Settings

2\. Once you have the **Storage** settings up, click on the **Configure Storage Sense or run it now** option.

![Configure Storage Sense](https://adamtheautomator.com/wp-content/uploads/2021/03/config_storagesense.png)

Configure Storage Sense

3\. In the **Configure Storage Sense** window, scroll down and enable the **Delete previous Windows** option.

> _If you don’t see the **Delete previous Windows** option, you can skip this section._

4\. Click on the **Clean now** button.

![Deleting Previous Windows Version via Storage Sense](https://adamtheautomator.com/wp-content/uploads/2021/03/delete_old_version.png)

Deleting Previous Windows Version via Storage Sense

### Using the Temporary Files Settings

Windows 10 also has a handy feature hidden under the **Storage** section in the **Settings** menu called **Temporary Files**. This feature can clean up many types of unwanted files but for now, let’s focus on deleting the Windows.old folder.

1.  Navigate back to the **Storage** settings window. Click on **Temporary files.**

![Accessing the Temporary Files](https://adamtheautomator.com/wp-content/uploads/2021/03/temp_files-1.png)

Accessing the Temporary Files

2\. In the **Temporary files** window, check the **Previous Windows installation(s)** option. This selection includes the entire old Windows version.

> _In case you don’t see the **Previous Windows installation(s)** option, it means you don’t have old Windows versions in the system, and you can skip this section._

3\. Click on the **Remove files** button to clean up every type of temporary file checked.

As shown below, the total space to be cleared is **23.57 GB**—huge, right?

![Selecting Previous Windows Installation(s) to Delete](https://adamtheautomator.com/wp-content/uploads/2021/03/remove_temp_files.png)

Selecting Previous Windows Installation(s) to Delete

### Running the Disk Cleanup Tool

For the final way to remove a _Windows.old_ folder and old installation, we have the [Disk Cleanup tool](https://www.mcafee.com/blogs/consumer/what-is-disk-cleanup-and-does-it-remove-viruses/). **Disk Cleanup** is part of the Windows legacy tool. It was first introduced in Windows 98. You can say that the Disk Cleanup tool is an old version of the Storage Sense in Windows 10.

Yes, it’s old but not obsolete as it still does its job pretty well, such as cleaning up the previous version of Windows you have on your storage.

To run the Disk Cleanup tool to cleanup the _Windows.old_ folder:

1.  Click on the Windows start button, type _cleanmgr_ and select **Disk Cleanup**.

2\. On the small pop-up window that comes up, choose the drive you want to clean up and click **OK**. Since you’re using the Disk Cleanup tool to remove the _windows.old_ folder, choose **C:\\**.

![Selecting Drive to Clean Up](https://adamtheautomator.com/wp-content/uploads/2021/03/select_drive.png)

Selecting Drive to Clean Up

3\. Inside the **Disk Cleanup** window, click on the **Clean up system files** button to include the system files on the list of files and folders you can delete.

![Accessing System Files to Delete ](https://adamtheautomator.com/wp-content/uploads/2021/03/cleanup_systemfiles.png)

Accessing System Files to Delete

> _You can also choose to delete temporary files in the Disk Cleanup selection area, which you’ll see covered later._

4\. When you click on the **Clean up system files** button, select the C:\\ again. You’ll then see a list containing the system files, such as the old windows versions displayed with **Previous Windows installation(s)**.

5\. Check the **Previous Windows installation(s)** option to add to the list of files to delete from the system and click **OK**.

![Selecting Previous Windows Installation(s) to Delete](https://adamtheautomator.com/wp-content/uploads/2021/03/disk_cleanup.png)

Selecting Previous Windows Installation(s) to Delete

It will take some time to complete cleaning up the drive depending on the total amount of disk space to be cleaned. Once the cleaning is done, then you’re all set!

![Cleaning Drive](https://adamtheautomator.com/wp-content/uploads/2021/03/cleaning_up.png)

Cleaning Drive

## Deleting the $Windows.~BT and $Windows.~WS Folders?

Like the _Windows.old_ folder from the previous section, when you upgrade Windows to Windows 10, it creates a **$Windows.~BT** and a **$Windows.~WS** folder. These folders contain a copy of your Windows system that enables you to revert to your old version of Windows.

Since the release of the Windows 10 Anniversary Update (Version 1607), you can roll back to your previous Windows version within ten days after upgrading. Then, both the _$Windows.~BT_ and _$Windows.~WS_ folders are deleted automatically once the rollback period is over.

Is it safe to delete them on your own? Yes, but it’s a bit tricky getting rid of these folders.

The _~WS_ folders are system folders, meaning the system owns them, not the user. To delete the folders, you’ll first need to take ownership, see how to in the next section.

### Deleting System Folders Using PowerShell

There are many ways to delete the $Windows.~BT and $Windows.~WS folders that you’ll find on the internet. Some say they work, some say they don’t do anything, but the most effective way of deleting these system files is using PowerShell as administrator.

To delete the _$Windows.~BT Folder_ and other system folders, open up Windows PowerShell as administrator, and copy the following code into the console. You can also create a PowerShell script with this code.

```powershell
## takes ownership of the folder
## */F - specifies the filename or directory name pattern
## /R - recurse: instructs the tool to operate on files in the specified directory and all subdirectories.
## /A - gives ownership to the administrators' group instead of the current user.*
takeown /F C:\'$Windows.~BT\*' /R /A

## Grants full control for the Administrator account to make changes on the folder
## */T - indicates that this operation is performed on all matching files/directories below the directories specified in the name.
## /grant - grants the specified user access rights.*
icacls C:\'$Windows.~BT\*.*' /T /grant administrators:F

## Deletes the system folder
## *-Force - forces deletion of read-only files
## -Recurse - includes files in sub-directories
## -Confirm:$false - (quiet mode) suppresses prompts* 
Remove-Item C:\'$Windows.~BT\' -Recurse -Force -Confirm:$False
```

You can see the demonstration below of deleting the $Windows.~BT folder, but the same method applies for deleting the $Windows.~WS folder.

![Deleting $Windows.~BT Folder via PowerShell](https://adamtheautomator.com/wp-content/uploads/2021/03/del_folder.gif)

Deleting $Windows.~BT Folder via PowerShell

## Other Space-Saving Tips to Clean up Windows 10

Aside from the main examples in this tutorial, there are other ways you can clear up space in your storage, such as deleting files from the _Downloads_ folder and uninstalling unused applications.

### Clearing Your Downloads Folder

A typical culprit causing you to lose space in your drive is your _Downloads_ folder. Usually set as the default download location in your web browser, this folder can expand quickly.

To clean it up:

1.  Open up File Explorer, paste _C:\\Users\\%USERPROFILE%\\Downloads_ in the address bar, and press _Enter_. This path points to the _Downloads_ folder in your home directory.

2\. Select everything inside of this folder by pressing _Ctrl+A_ to select all files or hold the _Ctrl_ key while clicking on each file to delete and leave the ones you want to keep.

![Accessing the Downloads Folder](https://adamtheautomator.com/wp-content/uploads/2021/03/downloads_folder-1.png)

Accessing the Downloads Folder

3\. Once you’re happy with your selection, press the _Delete_ or _Shift+Delete_ keys to delete the files permanently.

### Removing Unused Applications

Often than not, you tend to install applications and leave them there in the system even if you’re not using them. As a result, these applications take up space in your drive, so it would be wise to uninstall some of them.

Related:[How to Keep your Windows System Clean with the Revo Uninstaller](https://adamtheautomator.com/revo-uninstaller/)

To uninstall applications:

1.  Click on the **Start** button, type in _apps_ and click on **Apps & Features.**

![Accessing Apps & Features](https://adamtheautomator.com/wp-content/uploads/2021/03/apps-2.png)

Accessing Apps & Features

2\. From the **Apps & features** section, look for any application you don’t need anymore, select an application and click on **Uninstall** to remove it from the system.

![Uninstalling Applications](https://adamtheautomator.com/wp-content/uploads/2021/03/uninstall.png)

Uninstalling Applications

### Deleting Temp Files in Windows 10

If you’ve been following along, you may have already run the Disk Cleanup tool. This tool, by default, Temporary Files are cleaned up when using Disk Cleanup. But if you’re skeptical and want to be on the safe side, you can also clean up temporary files via File Explorer or PowerShell.

Temp files are located in the _C:\\Users\\%USERPROFILE%\\AppData\\Local\\Temp_ folder. You can safely delete all files in this folder using either File Explorer or perhaps PowerShell if you prefer the command line or are automating this step.

If you’d like to delete temp files in Windows 10 with PowerShell:

1.  Click on the Windows start menu and type _powershell._

2\. Right-click on **Windows PowerShell** and choose Run as Administrator.

Related:[How to Run PowerShell as Administrator](https://adamtheautomator.com/powershell-run-as-administrator/)

3\. Paste the following command inside of the PowerShell console. This command will attempt to remove all files and folders inside of your temp file folder.

```powershell
Remove-Item -Path $env:USERPROFILE\AppData\Local\Temp\* -Recurse
```

PowerShell may return a few errors, as shown below. This is to be expected. You’ll usually find other programs are actively using some files. If this happens, restart Windows 10 and try again, but you may not be able to remove all files.

![Permission denied errors while deleting temp files in Windows 10](https://adamtheautomator.com/wp-content/uploads/2021/03/Untitled-2021-03-15T154709.205.png)

Permission denied errors while deleting temp files in Windows 10

## Conclusion

You should now have the knowledge you need to keep Windows 10 free of clutter! Once you’ve deleted backup files, file history, the _Windows.old_ folder, run disk cleanup cmd, and deleted temp files in Windows 10, your OS should be streamlined and ready to go!

Share this article

[Share on X](https://twitter.com/intent/tweet?url=https%3A%2F%2Fadamtheautomator.com%2Fdisk-cleanup-cmd%2F&text=9%20Ways%20to%20Clean%20Up%20Windows%2010%20With%20Disk%20Cleanup%20Cmd)[Share on Facebook](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fadamtheautomator.com%2Fdisk-cleanup-cmd%2F)[Share on LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fadamtheautomator.com%2Fdisk-cleanup-cmd%2F)

## Related Posts

![](https://adamtheautomator.com/wp-content/uploads/2021/10/How-to-Set-up-Pihole-in-a-Docker-Container.jpg)

### [How to Set up Pihole in a Docker Container](/pi-hole-in-docker/)

Annoying ads? Why not block them with Pi-hole in Docker container? Learn how to setup Pi-hole Docker container in this tutorial!

![](https://adamtheautomator.com/wp-content/uploads/2021/06/How-to-Fix-All-of-Those-Feature-update-to-Windows-10-Errors.jpg)

### [How to Fix All of Those “Feature update to Windows 10” Errors](/feature-update-to-windows-10/)

Keeping Windows 10 up to date is important but you might run into one of the infamous “feature update to Windows 10” errors. Learn how to fix it here.

![](https://adamtheautomator.com/wp-content/uploads/2021/05/How-to-Make-a-File-Read-Only-and-Vice-Versa.jpg)

### [How to Make a File Read-Only and Vice Versa](/how-to-make-a-file-read-only/)

Have you ever accidentally overwritten a file or folder? In this article, learn how to stop accidental data loss by making a file read-only.

## Categories

*   [IT Ops](/category/it-ops/)
*   [Cloud](/category/cloud/)
*   [DevOps](/category/devops/)
*   [Home Ops](/category/home-ops/)
*   [Information Security](/category/infosec/)
*   [Software Development](/category/software-development/)

## Site

*   [Home](/)
*   [Tutorials](/tutorials/)
*   [Instructors](/author/)
*   [Advertising](/advertising/)
*   [Recommended Resources](/resources/)
*   [About Adam](/about-adam/)

Copyright 2026© ATA Learning | [Privacy Policy](/privacy/)
