Fix Windows 11 Upgrade and Installation Errors Quickly
In this article
Yes, you can fix Windows 11 upgrade and installation errors by following these steps.
Windows 11 upgrades sometimes stall, report error codes, or refuse to install altogether. Most of these problems stem from corrupted update files, conflicting software, insufficient disk space, or outdated drivers. The guide below walks you through the safest, most reliable fixes—from the simplest checks to more advanced troubleshooting—so you can get a clean, successful upgrade.
What You'll Need
- Administrator access on the PC you are upgrading
- Stable internet connection (wired is preferred)
- At least 20 GB of free space on the system drive
- Microsoft Windows 11 Media Creation Tool (download from Microsoft.com)
- A USB flash drive of 8 GB or larger (optional, for creating bootable media)
- Basic command‑prompt knowledge (you will run a few commands as admin)
Step-by-Step
- Run the built‑in Windows Update Troubleshooter. Open Settings > System > Troubleshoot > Other troubleshooters. Click Run beside Windows Update. Let the tool detect and automatically fix common problems. Restart the PC when prompted.
-
Clear the SoftwareDistribution and Catroot2 folders. Open Command Prompt as administrator and type the following commands, pressing Enter after each line:
net stop wuauserv net stop cryptsvc ren C:\Windows\SoftwareDistribution SoftwareDistribution.old ren C:\Windows\System32\catroot2 catroot2.old net start wuauserv net start cryptsvc
This forces Windows to recreate the update cache, eliminating corrupted files that often cause error 0x80070020, 0x80070057, or similar. -
Free up disk space. Use Settings > System > Storage > Temporary files and delete unnecessary files. Also run
Disk Cleanup(search for it) and check the box for "Previous Windows installations" if present. Aim for at least 20 GB free before retrying the upgrade. - Temporarily disable third‑party antivirus or security suites. Right‑click the antivirus icon in the system tray and choose "Pause protection" or "Disable temporarily" for 15 minutes. Some security programs block the creation of required files in the Windows folder, leading to error 0x800F0922.
- Update drivers, especially graphics and storage controllers. Open Device Manager (right‑click the Start button, choose Device Manager), expand Display adapters and Disk drives, right‑click each device and select Update driver > Search automatically for drivers. Restart after any updates.
-
Run System File Checker (SFC) and Deployment Image Servicing and Management (DISM). In an elevated Command Prompt, execute:
sfc /scannow
After it finishes, run:DISM /Online /Cleanup‑Image /RestoreHealth
These tools repair corrupted system files that can interrupt the upgrade process. -
Perform a clean boot. Press Win + R, type
msconfig, and press Enter. In the Services tab, check "Hide all Microsoft services" then click "Disable all". Switch to the Startup tab and click "Open Task Manager". Disable all startup items. Close Task Manager, click OK in System Configuration, and restart. A clean boot eliminates background software that may interfere with the upgrade. - Use the Media Creation Tool to perform an in‑place upgrade. Download the tool, run it, and select "Upgrade this PC now". The tool will download a fresh copy of Windows 11, bypassing the potentially corrupted files stored in the Windows Update cache. Follow the on‑screen prompts, choosing to keep personal files and apps.
- Create a bootable USB and install from it. If the in‑place upgrade still fails, use the Media Creation Tool to create a bootable USB (choose "Create installation media for another PC"). Boot from the USB (press the appropriate function key at startup), select "Upgrade: Install Windows and keep files, settings, and apps". This method works around many hidden update errors.
-
Reset Windows Update components as a last resort. Open an elevated PowerShell window and run:
Get-WindowsUpdateLog
(just to generate a log, then close). Then run the script below to reinstall the Windows Update service:Stop-Service -Name wuauserv -Force Remove-Item -Path "C:\Windows\SoftwareDistribution" -Recurse -Force Start-Service -Name wuauserv
After the service restarts, try the upgrade again.
Common Mistakes
- Skipping the restart after each major step. Many fixes only take effect after a reboot.
- Deleting the
Windows.oldfolder before confirming the upgrade succeeded. Keep it until you are sure the new OS boots correctly. - Running the Media Creation Tool on a machine with less than the required free space; the tool will fail silently.
- Disabling Windows services (like
TrustedInstaller) that are needed for the upgrade. - Using a USB drive that is formatted with the wrong file system (NTFS is fine, but some older BIOSes require FAT32 for UEFI boot).
Tips
- Always create a system restore point before making major changes. Search "Create a restore point" in the Start menu and follow the wizard.
- If you see a specific error code (e.g., 0x800F081F), copy it and search Microsoft’s support site; the code often points to a missing component.
- Keep your BIOS/UEFI firmware up to date. Firmware updates can resolve compatibility issues that manifest as Windows Update failures.
- Use the "Reset this PC" option (Settings > System > Recovery) only after backing up all important data, as it can remove apps and settings.
- When using the USB method, select the same language, edition, and architecture (64‑bit) as your current installation to avoid activation problems.
Troubleshooting
If the upgrade still does not complete, follow this escalation path:
- Check the Windows Update history (Settings > Windows Update > Update history) for the exact error code and timestamp.
- Open
Event Viewer(type it in the Start menu), navigate to Windows Logs > System, and look for entries from the time of the failure. Note any source names like "WUAHandler" or "Setup". - Search the error code on Microsoft’s official support site; many codes have dedicated fix‑it tools.
- If the log mentions "CBS" or "Component Store", run
DISM /Online /Cleanup‑Image /ScanHealthfirst, then/RestoreHealth. - For persistent driver‑related blocks, use Device Manager to uninstall the problematic driver, then reinstall the latest version from the manufacturer’s website.
- If the system reports "Insufficient storage", run
cleanmgr /sageset:1and thencleanmgr /sagerun:1to aggressively clean temporary files. - When all else fails, back up your data (use File History, OneDrive, or an external drive) and perform a clean installation of Windows 11 using the bootable USB. Choose the "Custom: Install Windows only (advanced)" option only after you have saved everything you need.
Frequently Asked Questions
Why does Windows 11 keep saying "We couldn't download updates"?
This message usually means the update cache is corrupted or the network connection is blocked by a firewall. Running the Windows Update Troubleshooter and clearing the SoftwareDistribution folder often resolves it.
What does error code 0x800F0922 indicate?
The error points to a failure in creating a new partition for the system reserved area, often caused by insufficient disk space or a third‑party disk utility interfering with the partition manager.
Can I downgrade back to Windows 10 after a failed upgrade?
Yes, if you attempt the upgrade within 10 days and keep the Windows.old folder. Go to Settings > System > Recovery > "Go back" to revert.
Is it safe to disable my antivirus during the upgrade?
Temporarily disabling it for 15 minutes is safe and recommended if the upgrade repeatedly fails, because many security suites block the creation of temporary files needed by Windows Update.
Do I need to reinstall my apps after an in‑place upgrade?
No. An in‑place upgrade preserves installed apps, user settings, and files. Only a clean install removes them.
What should I do if the Media Creation Tool says "Insufficient storage to complete this operation"?
Free up at least 20 GB on the system drive, delete old Windows.old folders, and run Disk Cleanup. If the message persists, try the USB boot method which uses external storage instead of the internal drive.