Manually clearing the windows update cache will resolve most issues you might be having installing the latest windows updates on your machine.
In this guide I will show to step by step how to easily clear the windows update cache from your machine.
Jump To > How To Clear The Windows Update Cache> How To Reset Windows Update Components In Windows 10 >How To Clear The Windows Update Cache With Powershell |
I work in IT and around patch Tuesday I am always visiting people and troubleshooting issues they have with windows updates. I find that clearing the windows update cache will resolve most issues that you will face.
Some times you might also need to reset windows update components which I have also documented how to do below in this post.
How To Clear The Windows Update Cache
Below I will show you three ways to clear the windows update cache from your machine.
I recommend you try the first manual method and if that does not work try the CMD and powershell method.
Manually
To delete the windows update cache manually do the following
- Click start, type in “File Explorer” and left click on file explorer
- Right click on “Local Disk (C:)” then left click properties
- On the next windows click on “Disk Clean-up”
- Next click on “Clean up system files”
- Make sure you tick the boxes next to “Windows upgrade log files” and “Temporary Windows Installation files” then click on OK. Your system will now remove these files from your machine.
- Now click start and type in services and then left click on services application.
- Scroll down and right click on Windows Update and click stop. Wait for the service to stop which usually takes less than a minute
- Now open file explorer again and browse to C:\Windows\SoftwareDistribution
- Now right click on the download folder and select delete, Hit Yes if you are prompted
- Reboot your machine
We have now managed to manually cleare the windows 10 update cache, Run windows update again to see if your issue is now resolved.
Via Command Prompt (CMD)
To delete the windows update cache via the command prompt (CMD) do the following
- Click start, type in CMD then right click on “Command Prompt” and select run as administrator
- If prompted by UAC click YES
- In the command prompt window type in net stop wuauserv then hit enter (This will stop the windows 10 update application on your machine)
- Type C: and hit enter
- Type cd %Windir%\SoftwareDistribution and hit enter
- Type del /f /s /q Download and hit enter
- All of the windows 10 cache files on your machine will now be deleted
- Restart your machine
Via Powershell
To remove the windows update cache via powershell do the following
- Open powershell
- copy and paste the below in to powershell
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
remove-item -path “C:\Windows\SoftwareDistribution\Download\*.*” -Force - Now restart your machine and install the update again
Via Script
To create a script to clear down the windows update cache follow these steps
- Open notepad
- Insert the below code in bold
@Echo On
net stop wuauserv
C:
cd %Windir%\SoftwareDistribution
Type del /f /s /q Download
pause - Save the file as Cleardown.cmd on your desktop
- Right click on the Cleardown.cmd file and select run as administrator
- When the script has finished it will pause so you can see the output of what it has done
How To Reset Windows Update Components In Windows
If the above solutions did not fix your issue you can try to reset the windows update components.
To Reset Windows Update Components In Windows 10 follow these steps
- Click start, type in CMD then right click on “Command Prompt” and select run as administrator
- If prompted by UAC click YES
- In the command prompt window type in the following commands one by one
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver - Next run the following commands
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 Catroot2.old - Now restart your computer
Register BITS and Windows Update .dll Files
It is also a good idea to re-register windows 10 bits and windows update .dll file. To do this follow these steps
- Click start, type in CMD then right click on “Command Prompt” and select run as administrator
- If prompted by UAC click YES
- In the command prompt window type in the following commands one by one
cd /d %windir%\system32
regsvr32.exe /s atl.dll
regsvr32.exe /s urlmon.dll
regsvr32.exe /s mshtml.dll
regsvr32.exe /s shdocvw.dll
regsvr32.exe /s browseui.dll
regsvr32.exe /s jscript.dll
regsvr32.exe /s vbscript.dll
regsvr32.exe /s scrrun.dll
regsvr32.exe /s msxml3.dll
regsvr32.exe /s msxml6.dll
regsvr32.exe /s actxprxy.dll
regsvr32.exe /s softpub.dll
regsvr32.exe /s wintrust.dll
regsvr32.exe /s dssenh.dll
regsvr32.exe /s rsaenh.dll
regsvr32.exe /s cryptdlg.dll
regsvr32.exe /s oleaut32.dll
regsvr32.exe /s ole32.dll
regsvr32.exe /s shell32.dll
regsvr32.exe /s wuapi.dll
regsvr32.exe /s wuaueng.dll
regsvr32.exe /s wups.dll
regsvr32.exe /s wups2.dll
regsvr32.exe /s qmgr.dll
regsvr32.exe /s wudriver.dll - Restart your machine
Frequently Asked Questions
The windows 10 windows update cache location is C:\Windows\SoftwareDistribution\Download. All of the install files for windows updates are stored here.

Hello, I am the owner of this site. I have 25+ years experience of IT. Check us out on the below social platforms.