Remove old and corrupt Windows update files

Microsoft has just released its biggest update to Windows 10 yet. The Creators Update introduces lots of new features and general improvements.

However, a big update like this requires a big download, and the installation files that Microsoft places on your system don’t get removed afterwards. Fortunately it’s easy enough to reclaim this lost free space.

  1. Start the Disk Cleanup wizard use one of the following methods:
  • Method 1: Click Start, type cleanmgr in the Start Search box, and then click OK.
  • Method 2: Click Start, click All Programs, click Accessories, click System Tools, and then click Disk Cleanup.
  • Method 3: If a Low Disk Space notification appears, click the notification to open the Disk Cleanup wizard.
  1. If the Windows Update Cleanup option is not displayed on the Disk Cleanup tab, click Clean up system files. The tool will re-calculate how much space can be regained.
  2. On Windows 10 please tick the box next to Previous Windows installation(s) on Windows 7 tick the box  Windows Update Cleanup that is if you are performing these steps in Windows 7.
  3. Click OK then Delete Files to remove the files and regain your missing hard drive space.

A Batch File to Purge the Update Cache (optional)

You can create a batch file and use it as a shortcut to instantly clear the content of the Windows Update cache.

Open Notepad and copy/paste the code given below:

net stop wuauserv  
CD %Windir%          
CD SoftwareDistribution          
DEL /F /S /Q Download
net start wuauserv

Click on the File menu > Save As and choose a location to save the file (place it on the Desktop for easier access). Click on the Save as type drop-down menu and select All Files. Rename the file EraseUpdateCache.bat and click on Save.

That’s it; your batch file is ready for use.

Right click on the EraseUpdateCache.bat file and Run As Administrator. In doing so, you will automatically delete the content of Update cache folder.

If you have any further problems with your Microsoft updates please view our fixing Microsoft Windows updates article.