DevOps · K8s · Volleyball · Travel  •  DevOps · K8s · Volleyball · Travel  •  DevOps · K8s · Volleyball · Travel
Explore NY Stream

Fix "We Couldn't Complete the Updates, Undoing Changes" in Windows

— ny_wk

Fix

Few messages are as frustrating as booting up to "We couldn't complete the updates, undoing changes. Don't turn off your computer" — sometimes looping for ages. It means a Windows update failed partway and Windows is rolling it back. Here are the fixes that actually resolve it, roughly easiest-first.

Why it happens

Common causes: corrupted update files, a damaged Windows component store, not enough free disk space, a stopped update-related service, or broken system files. Most fixes target one of those.

Fix 1 — Clear the SoftwareDistribution folder

This is where Windows stashes downloaded updates; a corrupt download here causes the loop. Stop the update services, then delete the contents:

  • Stop services: net stop wuauserv and net stop bits (in an admin command prompt).
  • Delete everything inside C:\Windows\SoftwareDistribution\Download.
  • Restart the services and try Windows Update again.

Fix 2 — Run SFC and DISM

Repair corrupt system files and the component store from an admin prompt:

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

Run DISM first (it fixes the store SFC pulls from), then SFC.

Fix 3 — Run Startup Repair

If you can't boot normally, enter the recovery environment (force-power-off during boot 3 times triggers it) → Troubleshoot → Advanced options → Startup Repair. Its log lands at %WINDIR%\System32\LogFiles\Srt\SrtTrail.txt if you need to dig deeper.

Fix 4 — Free up disk space

Updates need room to install. If your system drive is nearly full, clear space (Disk Cleanup, remove temp files) and retry. On small partitions, extending the system partition can be the real fix.

Fix 5 — Other levers

  • System Restore to a point before the failed update.
  • Enable the App Readiness service if it's disabled.
  • As a last resort, Reset this PC (keep your files) to rebuild Windows.

Key takeaways

  • The loop means a failed update is being rolled back — usually corrupt update files or system files.
  • Start by clearing SoftwareDistribution\Download and restarting the update services.
  • Run DISM then SFC to repair Windows; use Startup Repair if you can't boot.
  • Ensure free disk space; fall back to System Restore or Reset This PC.

Frequently asked questions

How long should I wait before acting?

"Undoing changes" can legitimately take 30-60 minutes once. If it loops across multiple reboots, it's stuck — proceed with the fixes.

Will I lose files?

The fixes above don't delete personal files. Even "Reset this PC" has a keep-my-files option.

Why clear SoftwareDistribution?

It holds downloaded update files; a corrupt one causes the failure. Clearing it forces clean re-downloads.

What's the difference between SFC and DISM?

DISM repairs the Windows component store (the source); SFC repairs system files using that store. Run DISM first.

Work down the list — clear the update cache, repair with DISM/SFC, then Startup Repair — and the "undoing changes" loop almost always breaks.