Reset Windows Update components and clear the update cache

Windows keeps downloaded updates and their database in two folders. When updates fail or stay stuck, stopping the update services and renaming those folders makes Windows download everything again from a clean start.

Time
A few minutes, plus a restart
Level
Intermediate
You need
An administrator account and an internet connection.

Before you start

Windows 11 and 10

Steps written for Windows 11 and Windows 10 (the steps are the same).

  1. Open Command Prompt as administrator

    Type cmd in the search box, right-click Command Prompt and select Run as administrator. Select Yes when Windows asks for permission.

  2. Stop the update services

    Type the commands below and press Enter after each one. If Windows says that other services depend on Cryptographic Services, it stops them too. A message that a service is not started is fine.

    net stop wuauserv
    net stop bits
    net stop cryptsvc
    Command Prompt after stopping Windows Update, BITS and Cryptographic Services
    The update services are stopped. Screenshot: Windows 11 26H2
  3. Delete the download queue files

    This clears the list of downloads that the Background Intelligent Transfer Service keeps. If Windows says it cannot find the files, continue.

    del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat"
  4. Rename the update cache folders

    Renaming keeps a copy in case you need it; Windows creates new, empty folders when the services start again. If you get Access is denied, a service is still running: repeat the previous step.

    ren %systemroot%\SoftwareDistribution SoftwareDistribution.old
    ren %systemroot%\System32\catroot2 catroot2.old
    SoftwareDistribution.old and catroot2.old listed in Command Prompt
    Both folders now end in .old. Screenshot: Windows 11 26H2
  5. Start the services again

    Type the commands below and press Enter after each one. The requested service has already been started is fine: Windows started it on its own.

    net start cryptsvc
    net start bits
    net start wuauserv
    Command Prompt after starting BITS and Windows Update
    BITS and Windows Update are running again. Screenshot: Windows 11 26H2
  6. Restart and check for updates

    Restart the PC. Then select Start > Settings > Windows Update > Check for updates. The first check can take longer than usual because everything is downloaded again.

Steps checked against Microsoft Learn: Additional resources for Windows Update (Feb 2026); our screenshots, Windows 11 Pro 26H2 on Oct 3, 2026.

Remove the old folders later

When updates install normally again, you can delete the renamed folders to free space. Open Command Prompt as administrator and run:

rd /s /q %systemroot%\SoftwareDistribution.old
rd /s /q %systemroot%\System32\catroot2.old

If updates still fail

  1. Repair system files with Run DISM and SFC to repair Windows system files, then try the update again.
  2. Install the failing update by hand: Install an update from the Microsoft Update Catalog.
  3. Microsoft's article for IT staff also resets the security settings of the BITS and Windows Update services and registers their files again. Those commands overwrite service permissions, so use them only when everything else failed: Microsoft Learn: Reset Windows Update components manually.

Used in 1 guide

Sources

  1. Microsoft Learn: Additional resources for Windows Update (Reset Windows Update components manually) (read Oct 3, 2026)
  2. Microsoft Support: Troubleshoot problems updating Windows (read Oct 3, 2026)

Questions and experiences

Ask about this page: members and our editors answer. Reading is open; writing needs a free account.

0 comments

…

4,322 members already hereThey read, write, comment and vote. 0 verified · 31 joined this year

Cookies

We use essential cookies to run the platform. Analytics and marketing cookies are only turned on once you consent — you can change your choice at any time.