How to Reset Windows Update Components in Windows 11

To reset Windows Update components in Windows 11, stop the update services, rename the SoftwareDistribution and catroot2 cache folders, restart the services, and restart the PC; Windows rebuilds the cache on the next check. The table below matches common symptoms to the step that usually fixes them. Windows 10 uses the same commands, with differences noted further down.

Symptoms and the step that fits

What you seeLikely causeStart with
Update stuck downloading or “pending download”Corrupt or half-finished files in the download cacheStep 1, then Step 2
Same update fails every time with an error codeDamaged update database or cacheStep 2, then Step 3
Error mentions corrupt files or the component storeDamaged system filesStep 4 (DISM and SFC)
Windows Update service won’t start or keeps stoppingService permissions or settings changedStep 3 (full reset)
Nothing above worksDeeper damage to Windows itselfStep 5 or Step 6

What a reset actually touches

Windows Update depends on a handful of services and folders. Resetting them clears out stale data so Windows can start fresh, without touching your documents or apps:

  • wuauserv is the Windows Update service itself.
  • bits (Background Intelligent Transfer Service) downloads update files in the background. Its job queue lives in files named qmgr*.dat.
  • cryptsvc (Cryptographic Services) checks the digital signatures on update files, using the catalog folder C:\Windows\System32\catroot2.
  • SoftwareDistribution (C:\Windows\SoftwareDistribution) is the update cache. Its Download subfolder holds files waiting to install, and DataStore holds the update database.

Two other terms come up later. A cumulative update is the monthly package that bundles all earlier fixes for your Windows version, and the servicing stack is the part of Windows that installs those packages. The component store is the internal library of system files that DISM repairs in Step 4.

Before you start

  • Sign in with an administrator account. Every command here needs an elevated window.
  • Plug a laptop into power and make sure the internet connection is stable.
  • Check free space on drive C. Microsoft recommends at least 20 GB free on 64-bit Windows for updates.
  • Confirm the date and time are right in Settings > Time & language > Date & time. A wrong clock can break the secure connection to the update servers.

To open an elevated window, right-click the Start button, choose Terminal (Admin) (or search for Command Prompt and select Run as administrator), and select Yes at the prompt. If Terminal opens in PowerShell, the commands below still work, but Command Prompt is the safest match for them: type cmd and press Enter first.

Step 1: Run the Windows Update troubleshooter

The troubleshooter checks the same services and folders automatically and resets what it finds broken. In current Windows 11 builds it may open in the Get Help app.

  1. Open Settings > System > Troubleshoot > Other troubleshooters.
  2. Next to Windows Update, select Run.
  3. Follow the prompts (in Get Help, if that opens) and let it apply any fixes it suggests.
  4. Restart the PC, then go to Settings > Windows Update and select Check for updates.

Step 2: Clear the update cache (quick reset)

This short version is the one Microsoft lists in its general Windows Update troubleshooting steps. It renames the two cache folders instead of deleting them, so you can put them back if needed.

  1. Open Command Prompt as administrator.
  2. Stop the download and update services. Press Enter after each line and wait for the “stopped successfully” message.
net stop bits
net stop wuauserv
  1. Rename the cache folders:
ren %systemroot%\softwaredistribution softwaredistribution.bak
ren %systemroot%\system32\catroot2 catroot2.bak
  1. Start the services again:
net start bits
net start wuauserv
  1. Restart the PC and check for updates. The first check can take longer than usual because Windows is rebuilding its database and downloading files again.

If the catroot2 rename fails with “The process cannot access the file because it is being used by another process,” Cryptographic Services is holding it open. Run net stop cryptsvc, repeat the rename, and add net start cryptsvc when you restart the services.

Step 3: Run the full manual reset

Use this longer sequence when the quick reset was not enough, or when the error points to services (for example, a service that won’t start, as with a download stuck with error 0x80240034). It follows Microsoft’s manual reset procedure, trimmed to the parts that apply to Windows 11 and Windows 10.

  1. In an elevated Command Prompt, stop the three services:
net stop bits
net stop wuauserv
net stop cryptsvc
  1. Delete the BITS job queue files. These only hold the list of pending transfers, not personal data:
Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat"
  1. Rename the update database, the download folder and the signature catalog. Skip this if you already renamed SoftwareDistribution in Step 2 and have not reverted it.
Ren %Systemroot%\SoftwareDistribution\DataStore DataStore.bak
Ren %Systemroot%\SoftwareDistribution\Download Download.bak
Ren %Systemroot%\System32\catroot2 catroot2.bak
  1. Reset Winsock, the Windows network socket settings that update downloads rely on:
netsh winsock reset
  1. Start the services again, then restart the PC:
net start bits
net start wuauserv
net start cryptsvc

Optional last resort: reset service permissions

Microsoft’s procedure also resets the security settings on the BITS and Windows Update services. Its own warning is that these commands overwrite the existing permissions on both services with the defaults, so skip them unless everything else in this article has failed. Run them while the services are stopped (between steps 3 and 4 above):

sc.exe sdset bits D:(A;CI;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)
sc.exe sdset wuauserv D:(A;;CCLCSWRPLORC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)

Copy these exactly. Versions posted elsewhere sometimes differ, and a wrong string can grant broader access than intended. The same Microsoft page also lists a long set of regsvr32 commands to re-register update DLL files; if you go that far, copy that list straight from the page rather than retyping it.

Step 4: Repair system files with DISM and SFC

If the cache was fine but Windows files are damaged, a reset alone won’t help. DISM repairs the component store, then SFC uses it to fix protected system files. Run them in this order, in an elevated Command Prompt:

DISM.exe /Online /Cleanup-image /Restorehealth
sfc /scannow

DISM can sit at one percentage for several minutes; let it finish. If it ends without a success message, run it again. Wait for SFC to reach 100%, restart, and try Windows Update. This step is the usual cure for codes tied to corruption, such as Windows Update error 0x8007000d.

Step 5: Reinstall the current version through Windows Update

Windows 11 can download a repair copy of the version you already run and reinstall it over the top, keeping your apps, files and settings. It needs Windows 11 version 22H2 or later with the February 2024 optional update or newer. Back up important files first anyway, since any reinstall carries some risk.

  1. Go to Settings > System > Recovery.
  2. Under Fix problems using Windows Update, select Reinstall now.
  3. Choose whether the PC should restart automatically 15 minutes after the install, then select OK.
  4. Keep the PC plugged in and online while Windows Update downloads and installs the repair version, then restart.

Details and requirements are on Microsoft’s page about reinstalling the current version of Windows.

Step 6: Install the stuck update by hand

When one specific update keeps failing, note its KB number from Settings > Windows Update > Update history, search for it in the Microsoft Update Catalog, download the package that matches your version and processor type (for example x64 or Arm64, as listed in the catalog), and double-click the .msu file to install it. Restart when it finishes.

Windows 10 and work or school PCs

Windows 10

The commands in Steps 2, 3 and 4 are identical on Windows 10. Step 5 does not apply, because the Fix problems using Windows Update option is a Windows 11 feature. Keep in mind that Windows 10 reached end of support on October 14, 2025; only PCs enrolled in Extended Security Updates still receive security updates, so a reset won’t bring in new fixes on an unenrolled PC.

PCs managed by an employer or school

If your PC gets updates from WSUS or another management tool, your IT team controls which updates appear and when. The reinstall option in Step 5 may be missing on managed PCs. Resetting the cache locally is usually harmless, but talk to IT before changing services or policies, since their tools may undo your changes or depend on specific settings.

When a command fails or the error returns

  • “Access is denied”: the window is not elevated. Close it and reopen Terminal or Command Prompt with Run as administrator. If the error appears in Windows Update itself, see how to get past error 0x80070005.
  • A service won’t stop: wait 30 seconds and run the net stop command again. Some services restart themselves while Windows is busy; a restart followed by an immediate retry usually works.
  • “Cannot create a file when that file already exists”: a .bak folder is left over from an earlier attempt. Rename the new one to a different name, such as softwaredistribution.old.
  • The same error comes back: free more disk space, disconnect external drives and docks, and temporarily remove third-party antivirus (have its installer and product key ready to reinstall). Then move on to Steps 4 and 5.

Confirm the fix and undo if needed

Open Settings > Windows Update > Update history and look for the update with a “Successfully installed” status. To see your exact Windows version and build, press Windows + R, type winver and press Enter.

If a newly installed update causes trouble, go to Settings > Windows Update > Update history, select Uninstall updates under Related settings, choose the update and select Uninstall. Some updates can’t be removed.

To put the old cache folders back, stop the services again, rename the new SoftwareDistribution or catroot2 folder to something else, and rename the .bak folder to its original name. There is rarely a reason to do this; once updates install normally, the .bak folders are just wasted space.

Odds and ends about resetting Windows Update

Will I lose files, apps or installed updates?

No. The reset only touches update caches and service settings. Installed updates stay installed, although the list under Update history may look different afterward if the update database was rebuilt.

Can I delete the .bak folders?

Yes, after updates install successfully and the PC has restarted at least once. Delete them in File Explorer; if a file is in use, restart and try again.

Is a downloaded reset script safe?

Batch files that automate the reset run with full administrator rights. Many go further than needed, deleting logs or update policies. Typing the commands above yourself is slower but shows you exactly what changes.

Does pausing and resuming updates do anything?

It can nudge a download that is stuck at “pending” because resuming may trigger a fresh check. Use Pause updates on the Windows Update page, then select Resume updates. It won’t fix corruption, so move to Step 2 if nothing changes.

What if a feature update is the one failing?

Feature updates are larger and more sensitive to drivers and disk space. Resetting the cache still helps, but codes such as error 0x800f0922 often come down to free space or a VPN, so check those first.

Next step: run Step 1 and Step 2 now, restart, and check for updates. If the same code returns, note it down and work through Steps 3 to 5 in order.

Matthew Burleigh

Matthew Burleigh has been writing technology tutorials online since 2008. He holds Bachelor's and Master's degrees in Computer Science from Arizona State University and has worked in IT since 2003. At Update Error Code he writes step-by-step fixes for Windows Update errors on Windows 11 and Windows 10.