Updates

How to fix Windows Update when it is stuck

Unstick Windows Update on Windows 10 and 11 with a restart, the troubleshooter, a cleared download cache, and a repair that keeps your files.

5 min read Published on October 16, 2026

Windows Update stuck, with the troubleshooter highlighted.

Steps in pictures

Check for updates after a real restart.
Run the Windows Update troubleshooter.
Renaming the download cache is a later step.

Has the update sat at 0% for hours, failed with code 0x80070002 or 0x8024a105, or asked for a restart and come back the same?

Applies to: Windows 10 and Windows 11. The troubleshooter is not in the same menu.

What’s going on

It is almost always a half-finished download, a stopped service, or a lack of free space. You fix it by clearing the Windows Update cache, not by reinstalling the system as the first move. Your documents are not touched by the steps in this guide.

Windows Update downloads packages into a cache folder, and a service (wuauserv) installs them, with help from BITS for the transfer. If the service hangs, or the downloaded file is corrupt, the percentage does not move or it starts over. A disk with only a few gigabytes free cannot even unpack the package. A third-party antivirus sometimes blocks writing to that folder.

The official troubleshooter restarts services and deletes the cache on its own. If that is not enough, you do the same by hand, with the services stopped so they release the files.

Steps

  1. Restart and leave the PC plugged in for a while

    A restart closes a half-finished install. Then open Settings › Windows Update and click Check for updates. Do not turn the PC off as soon as you see it restarting. On a laptop, plug it into power. Wait even if it looks frozen for fifteen minutes: sometimes the percentage does not move while it checks. If you have spent more than a real hour on the same number, continue.

  2. Check free space and the clock

    A large update needs about 10 or 20 GB free on the system drive. If you are below that, free space with how to free disk space and search again. In Time & language › Date & time, turn on Set time automatically. A wrong clock breaks the secure download.

  3. Run the Windows Update troubleshooter

    On Windows 11: Settings › System › Troubleshoot › Other troubleshooters › Windows Update › Run. On Windows 10: Settings › Update & Security › Troubleshoot › Windows Update. Apply the fixes it offers and restart. Check for updates again.

  4. Stop the services and rename the cache

    If the troubleshooter could not, open Terminal or Command Prompt as administrator. Copy these commands one by one:

net stop wuauserv
net stop bits
net stop cryptsvc
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 catroot2.old
net start cryptsvc
net start bits
net start wuauserv

Those two folders are cache. Windows creates them empty when the service starts. They are not your documents. If ren says the file is in use, repeat the net stop commands and wait a few seconds. Then check for updates again. The first search will take longer, because it downloads what was pending once more.

  1. Repair the component store

    In the same administrator terminal:

DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow

DISM needs internet so it can download healthy files. When it finishes, restart and open Windows Update. Create a restore point once the system is stable again, with how to create a restore point, so you are not left without a safety net next time.

  1. Repair in place only if the cache was not enough

    With the PC starting and your files still in place, Microsoft’s official tool can repair Windows while keeping files and programs. It is described as an alternative in how to reinstall Windows 11 without losing files. It is the step after DISM, not the first one. Do not choose an install that formats the drive.

If this doesn’t work

The code points at a driver

Some 0x80070002 failures, and some install failures, mix with a device that never finishes installing. Open Device Manager, look for triangles, and follow how to update drivers only for that part. Do not update everything at once.

It stays on Pending restart forever

Restart from Start › Restart, not from Shut down. On many PCs, Shut down is a fast startup that does not close the install. If it stays pending, renaming SoftwareDistribution cuts that state.

Only an optional update fails

In Windows Update › Advanced options › Optional updates, do not select it. The system can be up to date without that driver. Write down the KB number in case you want to look it up later in the history.

There is not even space for Disk Cleanup

Move videos and the Downloads folder to a USB drive, empty the Recycle Bin, and restart. A disk at the limit also explains a slow PC: once Update can breathe, check performance if that was needed.

Frequently asked questions

Does deleting SoftwareDistribution remove programs?

No. It is the download queue for updates. Installed programs stay as they are. At most, Windows Update will download again a package it already had half finished.

Can updates be paused?

Yes. Windows Update has Pause updates, for up to several weeks. It is for finishing a piece of work, not for going months without security patches. When the jam is fixed, resume.

Does an error code mean you need a technician?

Not for the code itself. Write it down, follow these steps, and if the same code comes back after DISM and a restart, then the repair that keeps your files is worth it. Keep the code: it shortens the search.

Does Windows 10 update the same way?

The mechanism is the same. The troubleshooter menu changes, as noted above. The terminal commands work on both.