clear windows update cache windows 10

Refresh Windows 10: Clear Update Cache in Simple Steps

By James Moore
AD

Are you facing issues with Windows 10 updates, or experiencing slow download speeds? A common culprit might be a bloated update cache. Clearing it can free up valuable storage space and potentially resolve update-related problems. Let's dive into a step-by-step guide on how to clear the Windows update cache in Windows 10.

Understanding the Windows Update Cache

The Windows Update cache stores temporary files related to updates. Over time, these files can accumulate and take up significant disk space. Clearing the cache can help troubleshoot update issues and free up space on your drive.

Before proceeding, ensure you have sufficient electrical power and back up any critical data, as clearing the cache may require a system reboot.

AD
How to clear the Cache in Windows 11
How to clear the Cache in Windows 11
How to Clear All Cache in Windows 10
How to Clear All Cache in Windows 10
How to clear all cache on Windows
How to clear all cache on Windows

Manual Methods to Clear the Windows Update Cache

Using the Command Prompt

Microsoft provides a simple command prompt-based method to clear the Windows update cache. Here's how:

1. Right-click on the Start button and select "Command Prompt (Admin)" or "Windows PowerShell (Admin)", depending on your system.
2. Type the following commands one by one, pressing Enter after each, and wait for the command prompt to respond:

How to Clear Windows Update Cache
How to Clear Windows Update Cache
What files can I delete from C: drive to free up space?
What files can I delete from C: drive to free up space?
Taskbar Flickering in Windows 10: How to Fix It
Taskbar Flickering in Windows 10: How to Fix It
```bash net stop wuauserv net stop cryptSvc net stop bits net stop msiservert Ren C:\Windows\SoftwareDistribution SoftwareDistribution.OLD Ren C:\Windows\System32\catroot2 CatRoot2.OLD net start wuauserv net start cryptSvc net start bits net start msiservert ```

3. Restart your computer once the commands have executed.

Using DISM and System File Checker

As an additional step, you can use the Deployment Image Servicing and Management (DISM) tool and the System File Checker (SFC) to further ensure the integrity of your system components.

AD

1. Open the Command Prompt as an administrator.
2. Type the following commands, one at a time, and press Enter after each:

How to clear your Windows 11 PC cache (and why you shouldn't wait to do it)
How to clear your Windows 11 PC cache (and why you shouldn't wait to do it)
How to Clear Cache on Windows 10? 5 Ways with Pictures [2025]
How to Clear Cache on Windows 10? 5 Ways with Pictures [2025]
Delete Windows 10 Update Cache to Reclaim Space
Delete Windows 10 Update Cache to Reclaim Space
Windows Needs More Space for Windows 10/11 Update
Windows Needs More Space for Windows 10/11 Update
How To Disable Windows 10 Update - Complete Guide - GetWox
How To Disable Windows 10 Update - Complete Guide - GetWox
Clear Your Laptop Cache the Right Way: Windows, Mac, ChromeOS & Linux
Clear Your Laptop Cache the Right Way: Windows, Mac, ChromeOS & Linux
```bash Dism.exe /online /cleanup-image /restorehealth sfc /scannow ```

3. Wait for both commands to complete, which may take several minutes.
4. After the commands have finished, restart your computer.

Automating the Windows Update Cache Cleanup

Using PowerShell Scripts

For advanced users, PowerShell scripts can automate the process of clearing the Windows update cache. Here's a simple script you can run monthly to keep your cache clean:

AD

1. Open PowerShell as an administrator.
2. Paste the following script and press Enter:

```powershell $output = "c:\Windows\Temp\WCU" #directory to store old files $tb = New-Object System.Text.StringBuilder $tb.Append("net stop wuauserv`n") $tb.Append("net stop cryptSvc`n") $tb.Append("net stop bits`n") $tb.Append("net stop msiservert`n") $tb.Append("Ren C:\Windows\SoftwareDistribution $output`n") $tb.Append("Ren C:\Windows\System32\catroot2 $output CatRoot2`n") $tb.Append("net start wuauserv`n") $tb.Append("net start cryptSvc`n") $tb.Append("net start bits`n") $tb.Append("net start msiservert`n") $outputfile = New-Item -ItemType File -Path $output\WCU.bat Add-Content -Path $outputfile -Value $tb Start-Process -FilePath $outputfile Remove-Item $outputfile Remove-Item -Path $output -Recurse -Force ```

3. This script will create a temporary batch file, run it, and then delete the batch file and the old files.

Regularly clearing the Windows update cache can help maintain the smooth operation of your Windows 10 system and free up valuable storage space. By following the steps outlined above, you can keep your system running at peak performance. Don't forget to stay vigilant and update your system regularly to ensure you're protected against the latest security threats.

AD
AD