sodcalculator

10 Tech How-To

Fix Windows 10 Automatic Upgrade Loop: Step-by-Step

Guide 10-58943 · Updated · Step by step

If Windows 10 keeps trying to upgrade itself and fails, or gets stuck in a reboot loop during the update, this guide will help you break the cycle and get your PC stable again. You’ll stop the automatic upgrade, clear the corrupted update files, and re-enable updates cleanly.

What You’ll Need

  • Administrator access to the Windows 10 PC (you’ll need to enter a password or confirm a UAC prompt).
  • A stable internet connection (to download the update troubleshooting tool, if needed).
  • About 30 minutes of time, as some steps require a restart.

Step-by-Step

  1. Run the Windows Update Troubleshooter first. Go to Settings > Update & Security > Troubleshoot > Additional troubleshooters, select Windows Update, and click Run the troubleshooter. This automatically detects and fixes common issues like corrupted update files or misconfigured Windows Update services. Restart your PC if it makes changes.
  2. Stop the Windows Update service temporarily. If the loop persists, press Win + R, type services.msc, and press Enter. Find Windows Update in the list, right-click it, and select Stop. Do the same for Background Intelligent Transfer Service (BITS).
  3. Delete the cached update files. Open File Explorer, navigate to C:\Windows\SoftwareDistribution, and delete the contents of the Download folder inside it. You may need to select all files (Ctrl+A) and press Delete; if any file is in use, skip it and continue.
  4. Rename the SoftwareDistribution folder (optional but thorough). After stopping the services, go to C:\Windows, right-click SoftwareDistribution, select Rename, and change it to SoftwareDistribution.old. This forces Windows to create a fresh folder when updates resume.
  5. Restart the Windows Update services. Go back to services.msc, right-click Windows Update and BITS, and select Start for each. Close the Services window.
  6. Disable automatic updates temporarily (if you need to work now). Open Settings > Update & Security > Windows Update, click Advanced options, and under Pause updates select a date up to 35 days out. This stops the upgrade from trying again while you fix the underlying issue.
  7. Run the DISM and SFC commands to repair system files. Right-click the Start button and select Windows PowerShell (Admin) or Command Prompt (Admin). Type DISM /Online /Cleanup-Image /RestoreHealth and press Enter. Wait for it to complete (it can take 10-20 minutes). Then type sfc /scannow and press Enter. Restart after both finish.
  8. Check for disk space. Windows 10 upgrades need at least 20 GB of free space. Go to This PC, right-click your system drive (usually C:), and select Properties. If free space is low, use the Disk Cleanup tool to remove temporary files and old Windows installations.
  9. Try the upgrade again manually (optional). If you still want the latest version, download the Windows 10 Media Creation Tool from Microsoft’s official site, run it, and choose Upgrade this PC now. This often bypasses the loop and installs the update cleanly.
  10. Re-enable automatic updates after you’re stable. Go back to Settings > Update & Security > Windows Update > Advanced options and click Resume updates. Windows will now try to update again, but with a clean slate.

Common Mistakes

  • Deleting the entire SoftwareDistribution folder without stopping services. This causes errors because files are locked. Always stop Windows Update and BITS first.
  • Skipping the DISM step. SFC alone often can’t fix corrupted system files; DISM repairs the image that SFC relies on. Doing both is essential.
  • Pausing updates for too long. Pausing for 35 days is fine, but leaving it paused indefinitely leaves your PC vulnerable. Use the time to fix the root cause, not to avoid updates forever.
  • Forgetting to check for third-party antivirus interference. Some security suites block Windows Update. Temporarily disable them (or uninstall) to see if that’s the cause, but re-enable after.

Tips

  • Back up your data before any major update. Use File History or a system image. If the upgrade fails catastrophically, you can restore.
  • Use the Windows Update Assistant (from Microsoft) as an alternative to the Media Creation Tool. It’s simpler and often works when the built-in updater fails.
  • Check your drivers. Outdated or incompatible drivers (especially graphics and network) can cause upgrade failures. Update them via Device Manager or the manufacturer’s site before retrying.
  • Disconnect non-essential USB devices. Some peripherals can interfere with the upgrade process. Keep only keyboard, mouse, and monitor connected.

Troubleshooting

If the steps above don’t work, try these in order:

  • Check the Windows Update log. Open Event Viewer (Win + R, type eventvwr.msc), go to Windows Logs > Setup, and look for errors around the upgrade time. Note the error code and search for it on Microsoft’s support site.
  • Perform a clean boot. Run msconfig, go to Services, check Hide all Microsoft services, click Disable all, then restart. Try the update again. If it works, re-enable services one by one to find the culprit.
  • Use the Media Creation Tool to create a bootable USB and do an in-place repair install. This reinstalls Windows while keeping your files and apps, and often fixes deeper corruption.
  • If the upgrade fails with a specific error like 0x80070020, it’s often due to a conflicting process. Use the Windows Update Troubleshooter again, and also try stopping the Windows Search service temporarily.
  • As a last resort, reset this PC. Go to Settings > Update & Security > Recovery and choose Get started under Reset this PC. Choose Keep my files to avoid data loss, but reinstall apps afterward.

Frequently Asked Questions

Why does Windows 10 keep trying to upgrade and failing?

Common causes include corrupted update files, insufficient disk space, incompatible drivers, or interference from third-party security software. The steps above address all of these.

Is it safe to disable Windows Update permanently?

No. Disabling it leaves your PC vulnerable to security threats. Use the pause feature temporarily, but always re-enable updates once the issue is fixed.

Will deleting the SoftwareDistribution folder harm my system?

No, it’s safe. Windows recreates it automatically. You just need to stop the Windows Update service first to avoid errors.

How long does DISM /RestoreHealth take?

It can take 10-20 minutes, sometimes longer on slower systems. Let it finish completely; don’t close the window.

Can I upgrade to Windows 10 22H2 if I’m on an older version?

Yes, as long as your hardware meets the requirements. The Media Creation Tool will handle it, but follow the steps above to avoid the loop.

What if I still get the same error after all steps?

Try the in-place repair install with the Media Creation Tool. If that fails, consider a clean install (backup first) or contact Microsoft Support with the error code.

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 →