sodcalculator

10 Tech How-To

Fix Undoing Changes on Your Computer: How Long & Steps

Guide 10-8152 · Updated · Step by step

If Windows is stuck on “Undoing changes made to your computer,” the process usually takes 5 to 30 minutes, but it can last over an hour on older hardware or after a major update. To fix it, wait patiently—interrupting the process can corrupt your system—then, if it fails or loops, boot into Advanced Startup and use System Restore, Startup Repair, or the command prompt to recover. Below is a detailed guide on why this happens, how long to wait, and what to do at each stage.

What Does “Undoing Changes” Mean?

When Windows installs a feature update, driver, or security patch, it first creates a backup of the previous system state. If the installation encounters a critical error—like a driver conflict, corrupted update file, or insufficient disk space—Windows rolls back to that backup. The “Undoing changes” screen appears during this rollback, essentially reverting your system files and settings to their pre-update condition. It is a built-in safety mechanism, not a sign of permanent failure.

How Long Should You Wait?

The duration depends on several factors:

  • Type of update: A small monthly security patch may take 5–10 minutes to undo. A major feature update (like upgrading from Windows 10 to 11) can take 30–60 minutes or longer.
  • Hardware speed: Older CPUs, slow hard drives (HDDs), and limited RAM will extend the process. An SSD and modern processor will finish faster.
  • System size: The more files and programs you have, the longer the rollback takes.

As a rule, give it at least 1–2 hours before taking action. If the screen is still showing after that time, or if you see a spinning circle for over 3 hours, the process is likely stuck.

What to Do While Waiting

Do not force a shutdown or restart during the undoing process. Interrupting it can leave your Windows installation in a corrupted state, requiring more complex repairs. Instead:

  1. Leave the computer plugged into power (if it’s a laptop).
  2. Do not press any keys or buttons.
  3. Let it run overnight if needed, especially after a large update.

If the screen is frozen (no disk activity, no spinning animation) for several hours, you may need to intervene.

If It’s Stuck: Force Restart and Boot to Recovery

If you’ve waited a reasonable time and the system is unresponsive, perform a hard reset:

  1. Press and hold the power button for 10–15 seconds until the computer shuts off.
  2. Turn it back on. If Windows fails to boot normally, it should automatically enter the Automatic Repair screen after a couple of attempts.
  3. On the recovery screen, choose Advanced options.

From here, you have several repair options.

Recovery Options to Fix the Problem

In the Advanced Startup menu, try these in order:

  • Startup Repair: This tool scans for common boot issues and attempts to fix them automatically. It’s a good first step.
  • System Restore: If you have a restore point from before the update, you can roll back to it. This is different from the automatic undo—it uses a snapshot you or Windows created earlier.
  • Uninstall Updates: Choose this to remove the most recent quality or feature update manually. This can be more reliable than the automatic rollback.
  • Command Prompt: For advanced users, you can run commands like sfc /scannow (System File Checker) or DISM /Online /Cleanup-Image /RestoreHealth to repair corrupted system files.

What If It Loops Back to “Undoing Changes”?

Sometimes the system will boot, attempt to finish the update, fail again, and return to “Undoing changes”—a loop. If this happens:

  1. Boot to Advanced Options as described above.
  2. Select Command Prompt.
  3. Type regedit and press Enter.
  4. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ and look for a key named PendingXmlIdentifier or PendingFileRenameOperations. Deleting these can sometimes stop the loop, but be cautious—this is an advanced step.

If you’re not comfortable with registry edits, the safer route is to use Startup Repair or System Restore from the recovery menu.

Preventing Future Update Failures

To reduce the chance of hitting this screen again:

  • Ensure you have at least 20–30 GB of free disk space before a feature update.
  • Keep your drivers updated, especially graphics and chipset drivers.
  • Run Windows Update manually at a time when you can leave the computer on for a few hours.
  • Disconnect unnecessary peripherals (external drives, printers) during updates.
  • Regularly create restore points or a full system backup.

Frequently Asked Questions

Will I lose my files if I wait for “Undoing changes”?

No. The rollback only reverts system files and settings to the previous state. Your personal files, documents, photos, and installed programs remain intact. However, any changes made during the failed update (like new system files) will be removed.

Can I skip the undo and just restart normally?

You can force a restart by holding the power button, but it’s risky. If the system is actively writing files, interrupting it can cause corruption. Only do this if the screen has been frozen for several hours with no disk activity.

Why does it happen every time I try to update?

Recurring failures usually point to a deeper issue: corrupted update cache, incompatible driver, or insufficient disk space. Try clearing the SoftwareDistribution folder (via Command Prompt) or using the Windows Update Troubleshooter from the recovery menu. If the problem persists, consider a repair install using the Media Creation Tool.

Is there a way to stop Windows from automatically updating?

You can pause updates temporarily in Settings > Windows Update, but stopping them entirely is not recommended for security. For Windows 10/11 Home, you can set active hours to prevent restarts, but the system will still install critical updates. Pro editions allow more control via Group Policy.

What if System Restore doesn’t have any restore points?

If no restore points exist, you can still use Startup Repair or the Command Prompt tools. If those fail, you may need to perform a reset (keeping your files) from the recovery menu, or use a Windows installation USB to do a repair install.

In summary, patience is your first tool—wait at least an hour before acting. If the system is truly stuck, use the recovery options to repair or roll back manually. With a little troubleshooting, you can usually get back to a working Windows environment without losing your data.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →