Technical Anshu
Tutorials Blog
🔄 Windows Update

Fix Windows Update Errors With a SoftwareDistribution Reset

The update reset button is one of the most used - and most misunderstood - fixes in any toolkit. Here is precisely what it renames, what you lose (less than you fear), and the errors it honestly cannot cure.

✍️ Technical Anshu🪟 Windows 10 / 11⏱️ 8 minute read
🎥 Full video - the 1-click fixes of the GUI WinPE demonstrated, including the update repair

Windows Update has a particular talent for getting stuck: the same update fails with the same code, day after day, and no amount of retrying changes anything. Very often the update itself is fine - the cache it is being installed from is corrupt. The fix, whether a button runs it or you type it, is to give Update a clean desk. Here is what that really involves.

Administrator: Command Prompt - the update reset, step by step
C:\> net stop wuauserv The Windows Update service was stopped successfully. C:\> net stop bits The Background Intelligent Transfer Service service was stopped successfully. C:\> net stop cryptsvc The Cryptographic Services service was stopped successfully. C:\> ren C:\Windows\SoftwareDistribution SoftwareDistribution.old C:\> ren C:\Windows\System32\catroot2 catroot2.old C:\> net start wuauserv Windows Update rebuilds fresh empty folders on its next run.
This is exactly what the 1-click "Fix Windows Update" button does - stop the services, rename the working folders, restart. Nothing is deleted, everything is renamed.
1

What Is Actually Being Reset

Windows Update keeps its working state in two folders. C:\Windows\SoftwareDistribution holds the download cache, the update database and the history records. C:\Windows\System32\catroot2 holds the catalogue files Update uses to verify that packages are genuine. When either becomes corrupted - a download cut off mid-write, a disk error, an interrupted update - Update can get stuck retrying the same broken state forever, showing the same error code on every attempt.

The reset does not argue with the corruption. It stops the three services that hold these folders open, renames the folders out of the way, and restarts the services. Windows Update wakes up, finds its desk empty, and rebuilds everything fresh. The renamed .old folders sit harmlessly in place as your undo button until you are sure the fix worked.

2

What You Lose - and What You Do Not

  1. You lose the visible update history. The "View update history" list in Settings is stored in the folder you renamed, so it starts again from today. This worries people unnecessarily: the installed updates themselves are not removed - only the list that described them. Windows still knows what is installed; it checks the real package store, not the history page.
  2. You lose half-finished downloads. Any update that was part-downloaded starts again from zero. On a slow connection, run the reset when you can afford the re-download.
  3. You do not lose drivers, settings or files. The reset touches only Update's own working folders.
  4. From inside WinPE there is a bonus: the services are not running in the offline Windows at all, so the folders can be renamed directly - no service stops needed.
3

When the Reset Is the Wrong Tool

The reset cures a stuck cache. It does not cure a damaged component store - if updates fail with errors that persist after a reset, the deeper repair is DISM followed by SFC (run from the same WinPE), which rebuilds the store the updates install from. It also does not cure a PC whose Windows version has left support, a full system drive (Update needs several GB free to work), or a date and time so wrong that certificate checks fail. Match the tool to the layer that is broken: cache first because it is cheap, store second because it is thorough, and check the obvious (disk space, clock, internet) before both.

One more honest note: after the reset, the first check for updates is slow - Windows rebuilds its database from scratch and may sit at "Checking for updates" far longer than usual. That is the rebuild happening, not a new failure. Give it time before concluding anything.

4

Finishing the Job Cleanly

  1. Restart into the real Windows and run Windows Update. Let it complete a full check and install cycle.
  2. Confirm the original error code is gone and at least one update installs successfully.
  3. Only then, delete the SoftwareDistribution.old and catroot2.old folders to reclaim the space - or keep them a few days if disk space allows. Deleting them the same minute removes your undo for no benefit.
🔴 Do not rename and pray: if an update error survives a cache reset and a DISM/SFC pass, stop repeating them. Note the exact error code - it now points somewhere specific (a particular package, a driver blocking the update, a failing disk), and repeating the resets only re-downloads gigabytes to tell you the same thing.

🎥 See the Update Fix Run in the Video

The GUI WinPE repair session in full - watch the fixes run on a real machine, in order.

▶️ Watch Full Video
❓ Frequently Asked Questions

Will the reset remove updates that are already installed?

No. Installed updates live in the Windows component store, which the reset never touches. What disappears is the history list in Settings and any half-finished downloads. Your Windows stays at exactly the patch level it was - it just gets a clean cache to continue from.

Can I delete the .old folders immediately?

You can, but wait until you have seen one full successful update cycle in the real Windows first. The renamed folders are your only undo if the reset was not the actual problem. Once updates flow again, delete them and reclaim the space - they can hold gigabytes of old downloads.

The reset fixed nothing. What next?

Move one layer deeper: run DISM with /restorehealth and then SFC, which repair the component store that updates install from. If the error still persists with the same code, the problem is specific - search the exact code, check free disk space and the system clock, and consider that a particular driver or security tool may be blocking that one update.

This guide is based on the Technical Anshu video on the custom GUI WinPE with 1-click fixes • Stuck on a step - ask in the video comments and the community will help 🙏