how-to, how to, microsoft

While updating, Windows downloads a ton of temporary files that help to download and install OS updates conveniently. These temporary files or update cache are stored within the SystemDistribution folder.

With time these cache files may pile up to use a lot of space within your disk. Moreover, large cache files may get corrupted, resulting in laggy performance, crashing desktop, etc.

But Windows doesn’t have the feature of auto-deleting such Update cache files. So, this article shall help you to manually clear Windows Update Cache.

Clear Windows Update Cache

Clearing the Windows update cache includes stopping the Windows Update service and then deleting the cache files. The steps for doing each have been detailed below:

Step 1: Stop Services

The Windows update service constantly uses the files within the Windows Update Cache folders. So, if you head to delete them directly, you will receive ‘file in use’ prompt and won’t be able to delete them. Therefore, you will have to stop the update service first by following the steps below:

  1. Press Windows + R to open Run.
  2. To open the Services utility, type services.msc and Hit Enter.
    how-to, how to, microsoft
  3. Locate Windows Update.
  4. Right-click on it and Select Stop to stop the service.
    how-to, how to, microsoft

Step 2: Delete Cache Files

Now, you can move toward the SoftwareDistribution folder, which holds all the temporary files used to download and install Windows Update.

  1. Press Windows + E to open File Explorer.
  2. Copy and paste C:WindowsSoftwareDistributionin the address bar.
    how-to, how to, microsoft
  3. Press Ctrl + A to select all contents and press Shift + Del keys to permanently delete them.
  4. Click Yes on the permanent deletion confirmation prompt.
    how-to, how to, microsoft
  5. Hit Continue if admin permission is asked.

After deleting the folders, you can restart the stopped services by following the same steps; just pick Start instead of Stop on the 4th step.

How to Reset Windows Update?

Sometimes Windows updates may fail due to incorrectly downloaded update files. In such a case, you can reset the update components and start the updating process all over again.

To reset the Windows Update component, you will have to go through the same steps but have to stop more services and delete more folders. If your update process fails or shows trouble, you can follow the steps to delete all the Windows update components by running commands:

  1. Open Run with Windows + R.
  2. Type cmd, and press Ctrl + Shift + Enter to open Command Prompt.
    how-to, how to, microsoft
  3. Click Yes to give it admin rights.
  4. Run the following command first to stop the services:
    • net stop wuauserv -To stop Windows Update
      how-to, how to, microsoft
    • net stop cryptsvc -To stop Cryptographic Service
      how-to, how to, microsoft
    • net stop bits -To stop Background Intelligent Transfer Service
      how-to, how to, microsoft
    • net stop appidsvc -To stop Application Identity
      how-to, how to, microsoft
  1. Execute the following to delete the cache folder:
    • rmdir %systemroot%SoftwareDistribution /S /Q -to delete SoftwareDistribution folder.
    • rmdir %systemroot%system32catroot2 /S /Q -to delete catroot2 folder.
  2. Now, to restart those services and register bits/windows update files, run the following:
     net start wuauserv net start cryptsvc net bits net appidsvc Del “%ALLUSERSPROFILE%Application DataMicrosoftNetworkDownloaderqmgr*.dat” cd /d %windir%system32 regsvr32.exe atl.dll regsvr32.exe urlmon.dll regsvr32.exe mshtml.dll regsvr32.exe shdocvw.dll regsvr32.exe browseui.dll regsvr32.exe jscript.dll regsvr32.exe vbscript.dll regsvr32.exe scrrun.dll regsvr32.exe msxml.dll regsvr32.exe msxml3.dll regsvr32.exe msxml6.dll regsvr32.exe actxprxy.dll regsvr32.exe softpub.dll regsvr32.exe wintrust.dll regsvr32.exe dssenh.dll regsvr32.exe rsaenh.dll regsvr32.exe gpkcsp.dll regsvr32.exe sccbase.dll regsvr32.exe slbcsp.dll regsvr32.exe cryptdlg.dll regsvr32.exe oleaut32.dll regsvr32.exe ole32.dll regsvr32.exe shell32.dll regsvr32.exe initpki.dll regsvr32.exe wuapi.dll regsvr32.exe wuaueng.dll regsvr32.exe wuaueng1.dll regsvr32.exe wucltui.dll regsvr32.exe wups.dll regsvr32.exe wups2.dll regsvr32.exe wuweb.dll regsvr32.exe qmgr.dll regsvr32.exe qmgrprxy.dll regsvr32.exe wucltux.dll regsvr32.exe muweb.dll regsvr32.exe wuwebv.dll

    how-to, how to, microsoft

Now, you can restart the Update process from the beginning and expect it to go smoothly.

Alternatively, you can rename the folders in order to make them inaccessible to Windows and will save the already downloaded files for further use cases. Doing so will also make sure the update components get redownloaded when required.

The process will be same as above, you will just have to replace the 5th step commands with the command mentioned below to rename folders

  • ren %systemroot%SoftwareDistribution SoftwareDistributionOld
  • ren %systemroot%system32catroot2 catroot2old

TECH NEWS RELATED

AYA NEO Pocket Air is an Android gaming handheld with OLED display

Android is now fully ready to be utilized in a gaming handheld console. We have already seen a couple of new Android handhelds from big companies last year. And now more companies are launching their handhelds. The one we are talking about today is the AYA NEO Pocket Air. This ...

View more: AYA NEO Pocket Air is an Android gaming handheld with OLED display

Jaguars vs Chiefs live stream: how to watch the NFL playoff game online

(Image: © Getty Images / David Eulitt) Swipe to scroll horizontally Jaguars vs Chiefs live stream Kick-off: Saturday, January 21, 4.30pm ET / 1.30pm PT / 9.30pm GMT TV channel: NBC Live stream: Peacock TV (US) | DAZN (CA) | Sky (UK) | 7Plus (AU) Use ExpressVPN to watch ...

View more: Jaguars vs Chiefs live stream: how to watch the NFL playoff game online

Word can’t do this because a dialog box is open

Microsoft Word is the best word editor available for users. While it is almost perfect, many users report a problem with the application where they encounter the error Word can’t do this because a dialog box is open. The error occurs while creating a new Word document or opening an ...

View more: Word can’t do this because a dialog box is open

A Twisted New Body Dysmorphia Romantic Film Looks Gruesomely Unique

Some movie trailers do their best to push all the information you might need before the premiere to let you properly gauge your interest. Other trailers don’t care about all that and only want to show you a series of odd sequences you cannot piece together, but know you’ll ...

View more: A Twisted New Body Dysmorphia Romantic Film Looks Gruesomely Unique

How to Disable Screenshot Thumbnail Previews on Mac

Modern versions of macOS feature a floating thumbnail preview for screenshots that allows users to quickly apply edits to their screenshots before they save them. If you find this interface too obtrusive, or simply prefer to edit your screenshots later using the Preview app, Here is how you can ...

View more: How to Disable Screenshot Thumbnail Previews on Mac

LG’s smart projector is the square cousin of Samsung’s cool The Freestyle

This Tiny MSI PC is Packed With Power

MSI Following the example set by the Mac Mini, many Windows-powered compact PCs have popped up recently with solid hardware. If none have quite caught your eye, though, maybe this PC by MSI will. MSI has just released a new tiny PC called the Cubi 5 12M, and it’s ...

View more: This Tiny MSI PC is Packed With Power

Logitech’s New Colorful Keyboards and Mice Look Great

Logitech Logitech makes some of the best keyboards and best mice around, and you might be familiar with the company’s RGB-packed gaming products. These new peripherals are really packed with color, but we’re not really talking about lights. Logitech has announced a range of new colors for a bunch ...

View more: Logitech’s New Colorful Keyboards and Mice Look Great

10 Best Solutions To Fix DNS Errors In Windows

[7 Fixes] Windows Photos App Slow To Open Issue In Windows

“Part of the Journey Is the End;” Marvel’s Avengers Seems to be Shutting Down

How To Find Your Laptop IP Address

8 Fixes: Microsoft Windows Security Not Opening

9 Best Ways To Retrieve A Downloaded Movie On Your Laptop

How To Snip Screen On Your Laptop?

How To Connect AirPods To A Laptop?

Satechi Thunderbolt 4 Slim Hub review: A sleek and portable laptop hub

Wi-Fi routers are being hit by a dangerous new Android malware with extra DNS hacks

7 Best Ways To Fix DistributedCOM Error In Windows

12 Easy Fixes For Webcam Not Working In Windows

OTHER TECH NEWS

Top Car News Car News