How to fix Windows 11 upgrade error 0xC1900101

If a Windows 11 upgrade fails with 0xC1900101, back up important files, disconnect unnecessary peripherals and check your drivers before retrying. The error often points to a driver problem. The code after it and the point where installation failed can narrow your search.

Record the full error and when it happened

Copy the entire error displayed by Windows Setup. In 0xC1900101 - 0x20017, for example, the second code helps identify the installation phase. The first code can occur for multiple reasons and does not identify a particular driver on its own.

Look in Settings → Windows Update → Update history in Windows 11. In Windows 10, use Settings → Update & Security → Windows Update → View update history. If no code is shown, record the failure message, date and whether it stopped before or after the first restart.

Microsoft’s upgrade error guidance

Check peripherals and drivers

  1. Back up important files and check free space on the Windows drive. If Setup reports insufficient space, resolve that first. Safely disconnect any external backup drive once you have verified the backup.
  2. Unplug printers, USB storage and docking stations that you do not need during the upgrade. Keep power, essential input devices and a display connected. If you undock a laptop, connect its charger separately.
  3. Apply pending Windows updates and restart. Open Device Manager from Start and look for devices marked with warnings. For those devices or recently added hardware, check the manufacturer’s official driver for your exact PC model and current Windows version. Update relevant drivers one at a time and confirm the device still works.

Retry and check the result

Retry through the same official upgrade route. If it completes, check the Windows version under Settings → System → About, then reconnect each peripheral in turn. If it fails again, record the new full code and investigate the latest result if the phase or code has changed.

Check SetupDiag if the error keeps returning

SetupDiag is Microsoft’s tool for analysing Windows setup logs. On the affected PC, press Windows + R, open %windir%\Logs\SetupDiag and look for SetupDiagResults.xml. If it exists, check for the failed phase and any named device or driver. Share that information and the complete error with your device manufacturer or IT team. If the file is absent, consult Microsoft’s setup log guidance.

Microsoft’s SetupDiag documentation