Windows update clear cache windows 7

Clear Windows update cache not only fixes various windows 10 update installation problems also free up a huge amount of disk space as well. Here how to delete Window supdate cache.

Did you know by clear windows update cache you can fix most of Windows update download and installation problems such as Windows 10 update stuck downloading, fail to install with different errors and more? When you check for Windows updates, your system automatically caches all the Windows update installation files, which can come in handy when you need to re-apply the update. But sometimes buggy updates or corruption on the cache folder hit the entire process and results Windows updates stuck downloading for hours or fails to install with different errors.

If you are also having trouble with some updates not loading or installing on windows 10 laptop clear Windows update cache is probably a good solution for you. Clearing the Windows update cache removes old update files and downloads fresh update files from the Microsoft server. And fix if windows update fails to install because of the buggy update file. Here in this post we have three different ways to clear the Windows update cache.

Clear Windows update cache not only fixes various windows 10 update installation problems also free up a huge amount of disk space as well.

Where is the Windows Update cache folder?

The Update Cache is a special folder that stores update installation files. It is located at the root of your system drive, in C:WindowsSoftwareDistributionDownload.

Delete Windows update files windows 10

It’s pretty easy to delete all cached update files on all supported versions of Windows, including Windows 7, Windows 8.1 and Windows 10. Here in this post, we have three different ways to clear the windows update cache or you can say reset Windows update components easily.

Delete downloaded Windows Update files

  • Press Windows + R keyboard shortcut to open Run
  • Type services.msc and click ok to open the Windows services console,
  • Scroll down and locate the Windows update service, Right-click on it select stop,
  • Again locate Background Intelligent Transfer Service, Right-click and stop the service.

stop windows update service

  • Now open Windows Explorer using the keyboard shortcut Windows + E,
  • Then Go to C:WINDOWSSoftwareDistributionDownload
  • Select all files inside the download folder, (you can do the same using the keyboard shortcut Windows + A)
  • And Hit the Delete key on the computer keyboard.

Delete Windows update cache

  • Again back to the Windows services console,
  • Locate the Windows Update service, right-click, and select start the service,
  • Do the same with the BITS service as well.

That’s all, Restart your PC, Next time when Windows check for updates this will download fresh update files from the Microsoft server. That is most probably error-free, download and install without any problem.

Clear Windows Update cache from the command line

You may also clear the Windows Update cache from the command line as well.

  1. Open the command prompt as administrator,
  2. Accept the UAC prompt that Windows displays.
  3. Run the following commands and hit enter after each line:
    • net stop wuauserv   (This stops the Windows Update service)
    • cd %Windir%SoftwareDistribution (performing this command Switches to the SoftwareDistribution directory of the Windows installation)
    • del /f /s /q Download (Deletes the Download folder of the SoftwareDistribution directory with /f — force the removal of read-only files, /s — include files in subdirectories and /q — in quiet mode to surpress prompts.
    • net start wuauserv — (Starts the Windows Update service.)

command line to Delete Windows update cache

Reset Windows Update components

Also, you can reset Windows Update components fix Windows Update and get security patches, drivers, and features downloading again on your computer.

  • Open the command prompt as administrator,
  • Next, we need to Stop the BITS, Cryptographic, MSI Installer and Windows Update Services. To do this, type the following commands at a command prompt. Press the “ENTER” key after you type each command.
  1. net stop wuauserv
  2. net stop cryptSvc
  3. net stop bits
  4. net stop msiserver
  • Now rename the SoftwareDistribution and Catroot2 folder. You can do this by typing the following commands in the Command Prompt. Press the “ENTER” key after you type each command.
  1. ren C:WindowsSoftwareDistribution SoftwareDistribution.old
  2. ren C:WindowsSystem32catroot2 Catroot2.old

Now, let’s restart the BITS, Cryptographic, MSI Installer and the Windows Update Services. Type the following commands in the Command Prompt for this. Press the ENTER key after you type each command.

  1. net start wuauserv
  2. net start cryptSvc
  3. net start bits
  4. net start msiserver

Type Exit in the Command Prompt to close it and then restart the computer. That’s all next time when you check for windows update this will download fresh update files from the Microsoft server.

Also read:

  • Fix Service Registration Is Missing Or Corrupt In Windows 10, 8.1 and 7
  • How to Fix ntoskrnl.exe High Memory Usage In Windows 10 
  • Microsoft Edge Crashes or Not Working after Windows 10 1909 update !!!
  • Solved: Windows 10 Automatic Repair Loop “Your PC Did Not Start Correctly”
  • Solved: Unknown Hard Error on Windows 10 / 8 / 7 (5 Working Solutions)

Clearing Windows 10 update cache helps in solving Windows update errors in Windows 10 PC. Here’s how to clear Windows Update cache in Windows 10 / 8 / 7.

Have you recently installed updates on Windows 10 computer and experienced Windows Update errors while installing updates?

Or, are you unable to upgrade your Windows 10 computer to the latest build or unable to install the new updates which are available for your system?

If you are having any of these Windows 10 update problems while installing updates then you need to clear Windows update cache from your system.

As soon as a computer running on Windows operating system downloads a new update, it tries to get installed too. And sometimes, it is possible that the updates are not installed on your system due to some issues.

clear windows update cache

One of the common reasons that Windows Updates are not installed on your computer is because of incomplete download of the update installer files. And as we all know that installing updates on Windows PC is a really important task to keep PC up to date which is why you have to fix Windows update issues.

You can use the inbuilt Windows Update Troubleshooter to find out the reason why Windows updates are not being installed. However, if you know the reason due to which you are having issues related to Windows Updates then you can begin the process to rectify that issue.

In most of the cases, Windows Update cache is one of the prime reasons which restrict updates downloading in Windows operating systems. So, you should clear Windows 10 update cache first before trying any other solutions to the fix Windows Update issues.

We have received many requests from our readers asking how to clear Windows Update cache in Windows 10 PC which is why we are specifically writing this tutorial.

In order to clear Windows 10 update cache, there is no need to go through a lot of complex settings. Only you have to clean up some Windows update files and then start reinstalling Windows update on your computer.

Follow the below mentioned steps to find out how to clear Windows 10 update cache:

Before deleting Windows update cache, you need to stop Windows Update service which is running on our computer.

Step (1): To stop Windows Update (wuauserv) service, press Windows + R keys together to open Run dialog box and type services.msc and then hit Enter key.

services.msc

Step (2): On the Services window, find Windows Update service and double click on it to open it.

how to clear windows update cache

Step (3): Next on Windows Update Properties dialog box, click on Stop button and then on OK button.

clear windows 10 update cache

After stopping the Windows Update service on your computer, now you can proceed to clear the Update cache.

Step (4): If the Windows 10 operating system is installed on “C” drive then navigate to C:WindowsSoftwareDistributionDownload folder.

Step (5): Now, select all files and folders and right-click on them and select Delete option to clear Windows 10 update cache.

how to clear windows 10 update cache

Once you have cleared the Windows Update cache successfully, now you need to start Windows Update service which you stopped in the starting steps.

Step (6): To resume Windows 10 Updates on your machine, press Windows + R keys together to open Run dialog box and type services.msc and then hit Enter key.

Step (7): On the Services window, find Windows Update service and double click on it to open it.

Step (8): Next on Windows Update Properties dialog box, click on Start button and then on OK button. That’s it!

how to clear windows update cache in windows 10

Thus, you can see how simple is to manually clear Windows 10 update cache and fix Windows update errors in Windows 10 PC.

We hope that your Windows 10 update problems (Windows Update Stuck at Checking for Updates or preparing to install updates, Windows Updates Stuck at 0%) are resolved after reading this tutorial.

If you are still having any queries regarding how to clear Windows Update cache in Windows 10 PC then use the comment section below to get in touch with us.

You may also be interested in checking out:

  • How to Stop Windows 10 Update in Progress or Pause Windows Update
  • How to Fix Windows 10 Update Stuck at Checking for Updates
  • How to Fix Windows Updates Stuck at 0% in Windows 7/8/10
  • How to Disable Automatic Restart in Windows 10 after Updates Installation
  • How to Fix Potential Windows Update Database error detected in Windows 10

The Update Cache is a special folder that stores update installation files. Continue reading to discover how to purge the Windows Update Cache.

There are several reasons why you would want to purge the Windows Update cache. Doing so will allow you to instantly reclaim valuable storage space by deleting obsolete update installation files. (This maintenance routine is usually managed by Windows, but you may also do it manually.) You may also wish to purge the update cache if you’re experiencing installation errors. Deleting and re-downloading corrupt update installation files may solve your issue. 

How to manually purge the Update cache?

First, you need to temporarily turn off the Windows Update service (to stop background downloads). Open the Command Prompt, type the:

net stop wuauserv

command, and press Enter.

Open File Explorer, and go to View > Folder Options. Select the Show hidden files, folder, and drives radio button, and click Apply to enable the display of hidden files on your computer.

Once done, navigate to C:WindowsSoftwareDistributionDownload and delete the content of the Download folder.

Open a new Command prompt window, and run the:

net start wuauserv

command to restart the Windows Update service. 

How to purge the Update cache with a batch file?

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 following code:

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

Click File > Save As, and choose a location to save the file. Click the Save as type drop-down menu, and select All Files. Rename the file Erase_Cache.bat, and click Save.

Your batch file is now ready for use. Right-click the Erase_Cache.bat file, then click Run As Administrator. In doing so, you will automatically delete the content of the Update cache folder.

do you have more questions about windows? check out our forum!

Choose the best method for that works for you

by Henderson Jayden Harper

Passionate about technology, Crypto, software, Windows, and everything computer-related, he spends most of his time developing new skills and learning more about the tech world. He also enjoys… read more


Published on December 7, 2022

Reviewed by
Alex Serban

Alex Serban

After moving away from the corporate work-style, Alex has found rewards in a lifestyle of constant analysis, team coordination and pestering his colleagues. Holding an MCSA Windows Server… read more

  • The Windows Update cache can affect the update service on your device.
  • It is perfectly safe to delete your Windows Update cache, and it should even boost your PC’s performance.
  • Clearing caches can free up memory storage.
  • Users can delete the Windows Update cache via Script.

clear windows update cache

XINSTALL BY CLICKING THE DOWNLOAD FILE

To fix various PC problems, we recommend Restoro PC Repair Tool:
This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues and remove viruses now in 3 easy steps:

  1. Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues affecting your computer’s security and performance
  • Restoro has been downloaded by 0 readers this month.

Windows keeps caches of its update service in a file on the computer over time. These caches can become old and corrupt, causing issues with the PC and its services.

So, users need to know how to clear the Windows Update cache to avoid problems.

What is the Windows Update cache?

Windows cache is data stored on the computer from your activities on apps and services. It aids easy and quick access to improve the user experience on the app or program.

Is it good to clear the cache?

Keeping cache files on Windows for a long can cause problems with your services. So, deleting the Windows cache file on your computer offers a couple of advantages. Some are:

  • Accumulating caches for a while can amount to large files that consume space. So, deleting the Windows cache can free up the space the files take up on your computer.
  • Deleting Windows cache files will increase your system speed and performance.
  • The longer cache files stay on your PC, the more corrupt they can become, and interfere with your computer. Hence, it is good to delete cache files on Windows as it reduces the chance of having corrupt files on your PC.

There are more benefits to deleting the Windows cache from your computer. Hence, this article will take you through the methods to safely clear the Windows Update cache on your PC.

What should I do before clearing my Windows Update cache?

There are a couple of ways to clear the Windows update cache on your PC, but we recommend you observe these preliminary checks first:

  • Turn off background apps running on your computer.
  • Disconnect any remote connection on your PC.
  • Create a Restore Point in case of any casualties.

The above checks will prepare your computer for the cache deletion process. Proceed with the following steps afterward:

How do I clear the Windows update cache?

In this article

  • What is the Windows Update cache?
  • Is it good to clear the cache?
  • What should I do before clearing my Windows Update cache?
  • How do I clear the Windows update cache?
  • 1. Clear Windows Update cache via File Explorer
  • 2. Clear Windows Update cache via Run
  • 3. Clear Windows Update cache via Command Prompt
  • 4. Reset Windows Update Cache
  • 5. Clear Windows Update cache via Script

1. Clear Windows Update cache via File Explorer

  1. Click the File Explorer icon on your taskbar to open the app.
  2. Right-click the Local Disk (C) and select Properties from the drop-down.
  3. Click on Disk Clean-up, then click the Cleanup system files button.
  4. Check the boxes for Windows upgrade log files and Temporary Windows Installation files, then click OK.

Read what to do if File Explorer keeps crashing on your PC.

2. Clear Windows Update cache via Run

  1. Press Windows + R key to open the Run dialogue box, type services.msc and click OK to open Services.
  2. Double-click Windows Update and select Stop.
  3. Open the File Explorer, and navigate using this: C:WindowsSoftwareDistributionDownload folder
  4. Press Ctrl + A to highlight every file, right-click and select delete.
  5. Press Windows + R key, and type services.msc, then press Enter.
  6. Find and double-click on Windows Update, then click Start.

Some PC issues are hard to tackle, especially when it comes to corrupted repositories or missing Windows files. If you are having troubles fixing an error, your system may be partially broken.
We recommend installing Restoro, a tool that will scan your machine and identify what the fault is.
Click here to download and start repairing.

Disabling Windows Update services before clearing the distribution directory will fully clear the cache without any issues.

Read more about this topic

  • Failed to Determine Source Edition Type: 5 Ways to Fix It
  • Best Windows Settings For DAC To Optimize Your System

3. Clear Windows Update cache via Command Prompt

  1. Left-click the Start button, type cmd in the search space, and select Run as Administrator.
  2. Type the following, then press Enter: net stop wuauserv
  3. Type the following commands and press Enter after each: C:  cd %Windir%SoftwareDistribution  del /f /s /q Download

These commands will delete the cache files on your PC.

4. Reset Windows Update Cache

  1. Left-click the Start button, type cmd in the search space, and select Run as Administrator.
  2. Type the following commands and press Enter: net stop wuauserv  net stop cryptSvc    net stop bits    net stop msiserver
  3. Run the following command one after the other:  ren C:WindowsSoftwareDistribution SoftwareDistribution.old    ren C:WindowsSystem32catroot2 Catroot2.old
  4. Type the following commands and press Enter after each one: net start wuauserv  net start cryptSvc    net start bits    net start msiserver
  5. Close the Command Prompt and restart your computer.

Resetting the Windows update cache can also clear the previous cache from your computer.

5. Clear Windows Update cache via Script

  1. Press Windows + R key to open the Run window, type notepad and click OK.
  2. Copy and paste the following codes: @Echo On net stop wuauserv C: cd %Windir%SoftwareDistribution Type del /f /s /q Download pause
  3. Save the file as Cleardown.cmd on your computer.
  4. Right-click the Cleardown.cmd file and select Run as administrator.

The steps above are also practical for clearing the Windows update cache.

In conclusion, our readers may be interested in our article about fixing a damaged Microsoft Store cache that may affect their PCs.

Moreover, do check out our article on clearing caches on Windows 11.

Also, you can check how to fix the Cache Manager error on Windows 10/11.

Please leave your questions and suggestions regarding the “how to clear Windows Update cache” subject in the comments section below.

Still having issues? Fix them with this tool:

SPONSORED

If the advices above haven’t solved your issue, your PC may experience deeper Windows problems. We recommend downloading this PC Repair tool (rated Great on TrustPilot.com) to easily address them. After installation, simply click the Start Scan button and then press on Repair All.

newsletter icon

Newsletter

  • MiniTool

  • MiniTool News Center

  • How to Clear Windows Update Cache (3 Ways for You)

By Daisy | Follow |
Last Updated August 22, 2022

google search

Clearing the Windows 10 update cache manually will solve most of the problems you may have installed the latest Windows 10 update on your computer. This post from MiniTool introduces how to clear Windows update cache.

If you have trouble running Windows Update, it is likely that there is a problem with the update file, or the file is not completely cleared for download or is damaged. Windows update cache location is C:WindowsSoftwareDistributionDownload. All installation files for Windows updates are stored here.

How to Clear Windows Update Cache

There are 3 ways for you. You can choose one based on your needs. Here is how to do that:

Way 1: Clear Windows Update Cache via File Explorer

First, let’s see how to clear Windows update cache via File Explorer.

Step 1: Type File Explorer in the Search box to open it.

Step 2: Find and right-click Local Disk (C) to choose Properties.

Step 3: Then, click Disk Clean-up. After that, click the Clean up system files option.

click the Clean up system files option

Step 4: Then, check the Windows upgrade log files and Temporary Windows Installation files boxes and click OK.

Step 5: Press the Windows and R keys at the same time to open the Run dialogue box. Type services.msc and click OK to open the Services application.

Step 6: From the list of applications, right-click Windows Update to select Stop.

right-click Windows Update to select Stop

Step 7: Next, open File Explorer and go to C: > Windows > SoftwareDistribution. Remove all the files in the folder.

Then, you have cleared the Windows update cache successfully.

Way 2: Clear Windows Update Cache via Command Prompt

The second method for you to reset Windows updates cache is via Command Prompt. The detailed steps are as follows:

Step 1:  Type Command Prompt in the Search menu. Then right-click it to choose Run as administrator to open it.

Step 2: Type net stop wuauserv and press the Enter key in the Command Prompt window.

Step 3: Type C: and press Enter. Type cd %Windir%SoftwareDistribution and press Enter. Type del /f /s /q Download and press Enter.

Then, all of the windows 10 cache files on your machine will now be deleted.

Way 3: Clear Windows Update Cache via Script

You can also try to clear Windows Update Cache via Script. Follow the instructions below:

Step 1: Open Notepad and Insert the below code in bold
@Echo On
net stop wuauserv
C:
cd %Windir%SoftwareDistribution
Type del /f /s /q Download
pause

Step 2: Save the file as Cleardown.cmd on your desktop.

Step 3: Right-click the Cleardown.cmd file and select run as administrator.

Step 4: When the Script has finished it will pause so you can see the output of what it has done.

How to Reset Windows Update Cache

You may also wonder how to reset Windows update cache. Here are the steps:

Step 1: Type Command Prompt in the Search menu. Then right-click it to choose Run as administrator to open it.

Step 2: Type the following command one by one:

net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver

Step 3: Next, run the following command one by one.
ren C:WindowsSoftwareDistribution SoftwareDistribution.old
ren C:WindowsSystem32catroot2 Catroot2.old

Final Words

This post has introduced how to clear Windows update cache and how to reset Windows update cache. I hope that this post can be helpful to you.

About The Author

Daisy

Position: Columnist

She was graduated from the major in English. She has been the MiniTool editor since she was graduated from university. She specializes in writing articles about backing up data & systems, cloning disks, and syncing files, etc. She is also good at writing articles about computer knowledge and computer issues. In daily life, she likes running and going to the amusement park with friends to play some exciting items.

This tutorial will walk you through the steps to purge the Windows Update Cache. The Update Cache is a special folder that stores the update installation files. It is located at the root of your system drive in C:WindowsSoftwareDistributionDownload.

  • How To Clear the Update Cache
    • Manually Purge the Update Cache
    • A Batch File to Purge the Update Cache

How To Clear the Update Cache

There are several reasons why you would want to purge the Windows Update cache.

You are running out of storage space on your computer: You can instantly reclaim valuable storage space by deleting obsolete update installation files. This maintenance routine is usually managed by Windows, but you may also do it manually.

You are experiencing download or installation errors with Windows Update: Try to purge the update cache. In doing so, your computer will delete corrupt update installation files and download them again.

Manually Purge the Update Cache

The first step is to temporarily turn off the Windows Update service (to stop background downloads). Open the Command Prompt, type the

net stop wuauserv

command and press Enter.

Open File Explorer and go to View > Folder Options. Select the Show hidden files, folder, and drives radio button and click on Apply to enable the display of hidden files on your computer.

Once done, navigate to C:WindowsSoftwareDistributionDownload and then delete the content of the Download folder.

Open a new Command prompt window and run the

net start wuauserv

command to restart the Windows Update service.

A Batch File to Purge the Update Cache

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 Erase_Cache.bat and click on Save.

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

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

Понравилась статья? Поделить с друзьями:
  • Windows system recovery disk windows 7
  • Windows update cleanup можно ли удалить
  • Windows system logfiles srt srttrail txt
  • Windows update blocker что это за программа
  • Windows system image manager для windows 10