Ocean Of Softwares

Windows 11 25H2 Fails With 0xC1900101? Read the Extend Code First

Quick answer: 0xC1900101 is not a specific fault. Microsoft calls it a generic rollback code, and says that in most cases the cause is a driver compatibility issue. The useful information is the extend code printed after it, such as 0x20017 or 0x4000D, which identifies the phase the upgrade died in. Find that code in the setup logs, and the driver category it points to, before changing anything.

Windows 11 25H2 downloads, installs to somewhere around 70 per cent, restarts, sits on a progress spinner, then reverts. You are back on your old build with a notification that says the update failed and a code: 0xC1900101.

Searching that code returns a hundred pages telling you to run SFC, clear SoftwareDistribution and disconnect your printer. Most of them are guessing, because 0xC1900101 on its own does not identify anything. It is the second half of the code that tells you what broke.

What does 0xC1900101 actually mean?

It means the upgrade rolled back. Nothing more specific than that.

Microsoft’s own upgrade error code reference states: “A result code of 0xC1900101 is generic and indicates that a rollback occurred. In most cases, the cause is a driver compatibility issue.” The resolution procedures page adds that it “can be thrown at any stage of the upgrade process, with the exception of the downlevel phase.”

The term that matters: a Windows upgrade failure has a result code and an extend code. The result code (0xC1900101) says the upgrade reverted. The extend code is a separate hexadecimal value, and it encodes two things: the first digit is the phase setup was in, and the last two characters are the operation it was performing. Read together, they narrow a vague rollback to a specific stage.

Phase 1 is the downlevel phase, 2 is SafeOS, 3 is first boot, 4 is OOBE boot, 5 is uninstall. So 0x20017 is SafeOS during a boot operation, and 0x4000D is the OOBE boot phase during data migration. That single distinction is what separates a targeted fix from a week of guessing.

How do I find my extend code?

Sometimes Windows prints it next to the result code. Often it does not, and you have to read the setup logs. Here is the order that works.

  1. Check Settings first. Windows Update history sometimes shows the full code including the extend portion. If it shows only 0xC1900101, continue.
  2. Open the rollback log. For a generic rollback, Microsoft’s setup log file reference points specifically at $Windows.~BT\Sources\Rollback, and names that location as the one for “Investigating generic rollbacks – 0xC1900101”. Read setuperr.log there first, since it holds only errors, then setupact.log for context.
  3. Check the downlevel log if the rollback folder is empty. That is $Windows.~BT\Sources\Panther, described as the “starting point for rollback investigations”.
  4. Look in the right place after the upgrade completes or reverts. Post-upgrade logs live in Windows\Panther. If setup never launched at all, the log is directly in Windows.
  5. Run SetupDiag instead of reading by hand. It is a free Microsoft tool that “works by examining Windows Setup log files” and tells you which known failure rule matched. It needs .NET Framework 4.7.2 or newer and an elevated command prompt, and it writes SetupDiagResults.log into the folder you run it from.
  6. Check whether it already ran. Setup extracts SetupDiag to %SystemDrive%\$Windows.~bt\Sources and runs it automatically on failure. Results land at %WinDir%\Logs\SetupDiag\SetupDiagResults.xml.

One detail worth knowing when reading these logs by hand: Microsoft notes that “the last failure in the log file is typically the fatal error, not the first one.” Most people scroll to the first red line and chase the wrong thing.

Three glowing translucent glass layers stacked above one another representing upgrade phases
The first digit of the extend code names the phase: SafeOS, first boot or OOBE boot.

What does my extend code point to?

These are Microsoft’s documented causes for the extend codes that pair most often with 0xC1900101.

Extend code Phase and operation Documented cause
0x2000c SafeOS, applying the image An unspecified error during Wim apply in the WinPE phase, which Microsoft attributes to out-of-date drivers
0x20017 SafeOS, boot “A driver has caused an illegal operation.” A SafeOS boot failure, typically drivers or non-Microsoft disk encryption software
0x3000D First boot, migrating data Can occur due to a problem with a display driver
0x30018 First boot, sysprep A device driver stopped responding to setup.exe during the upgrade
0x4000D OOBE boot, migrating data A rollback caused by a driver configuration issue
0x40017 OOBE boot, boot A faulty driver, commonly an antivirus filter driver or encryption driver

Notice the pattern. Every single one is a driver. Microsoft does not list “corrupt Windows files” or “too many startup apps” as causes of 0xC1900101, which is most of what the top search results tell you to fix.

How do I fix it once I know the phase?

Match the remedy to the phase rather than running every fix you can find.

SafeOS failures (0x2000c, 0x20017). This is WinPE, before your installed Windows is running, so the suspects are storage, chipset and encryption drivers. Microsoft’s step for 0x20017 is to open Setuperr.log and Setupact.log in %windir%\Panther and then update or uninstall the problem drivers. For 0x2000c, it says to disconnect peripherals except mouse, keyboard and display, and to “Contact your hardware vendor to obtain updated device drivers.” Third-party disk encryption is worth suspending outright before you retry.

First boot failures (0x3000D, 0x30018). 0x3000D points at the display driver; Microsoft’s remedy is literally “Update or uninstall the display driver.” For 0x30018, the device install log setupapi.dev.log in the Rollback folder is the one that matters, and Microsoft names it as helpful specifically when rollback happens during sysprep.

OOBE boot failures (0x4000D, 0x40017). For 0x40017, the documented step is to clean boot into Windows and then attempt the upgrade, choosing “Download and install updates (recommended)” in setup. For 0x4000D, Microsoft points to setupmem.dmp and the event logs, and suggests disabling the driver named in the bug check, trying a different video adapter, checking for BIOS updates, and disabling BIOS memory options such as caching or shadowing.

My own view, and it is a minority one: do not start with a clean boot. A clean boot can let the upgrade through while leaving you with no idea which driver was at fault, so the same machine fails the same way on the next feature update. Read the extend code first, fix the named driver, then upgrade. The clean boot is the fallback when the logs are unreadable, not the opening move.

Unbranded laptop on edge in violet rim light with a ribbon of data panels streaming from it
Read setuperr.log before setupact.log, and remember the fatal error is usually the last one.

What about disk space and antivirus?

Both get repeated constantly for this code, and the documentation is thinner than you would expect.

On disk space, Microsoft’s remediation list for 0x4000D includes “Make sure you have enough disk space” — with no figure attached. The commonly quoted “you need 20 GB” is not in Microsoft’s 0xC1900101 guidance. Free space is cheap to provide and worth having, but it is not a documented cause of this code.

On antivirus, “Uninstall antivirus applications” appears in the documentation under a different code, 0x20004, not under 0xC1900101 generally. That said, 0x40017 is explicitly attributed to faulty drivers including antivirus filter drivers, so if your extend code is 0x40017, removing your security suite is targeted rather than superstitious. If it is 0x3000D, it is a waste of an evening.

What this will not fix

  • The extend code tables are documented against Windows 10 version 1607. This is the honest caveat nobody mentions. Microsoft’s page states the codes “apply to Windows 10 version 1607” and “might change in future releases”, and none of these pages mention 25H2. The phase and operation scheme has been stable across releases in practice, but treat the mapping as strong guidance rather than a guarantee.
  • A matched extend code names a category, not your specific driver. “Display driver” could be your GPU driver, a virtual display adapter, or a remote-desktop display driver you forgot was installed. The logs narrow it; they rarely hand you a filename.
  • Microsoft’s own phase naming is inconsistent. The prose says “second boot phase” while the enumeration calls phase 4 OOBE_BOOT. Do not lose time trying to reconcile the two.
  • SetupDiag does not always match a rule. It reports the known failure patterns it recognises. An unmatched failure still needs the logs read by hand.
  • None of this helps if the rollback left no logs. If $Windows.~BT is gone — and cleanup tools delete it — you have to reproduce the failure before you can diagnose it.

If the trouble started after an upgrade rather than during one, these are worth a look too: a monitor stuck at 60Hz on Windows 11, DisplayPort showing no signal after sleep, and the unknown USB device descriptor request failure.

Frequently asked questions

Is 0xC1900101 always a driver problem?

Microsoft hedges slightly, saying that in most cases the cause is a driver compatibility issue, and that it usually indicates an incompatible driver is present. Every documented cause for the common extend codes is driver-related. It is not a guarantee, but driver-first is the right assumption.

Where exactly are the setup logs kept?

For a generic rollback, look in $Windows.~BT\Sources\Rollback, which Microsoft names as the location for investigating 0xC1900101. Downlevel failures are in $Windows.~BT\Sources\Panther, and post-upgrade logs are in Windows\Panther. Read setuperr.log before setupact.log.

Do I need 20 GB of free space to install 25H2?

Microsoft’s remediation for the 0x4000D extend code says only to make sure you have enough disk space, without naming a figure, and no GB threshold appears in its 0xC1900101 guidance. Free space is worth providing, but a specific number quoted as a requirement for this code is not coming from Microsoft.

Should I uninstall my antivirus before upgrading?

Only if your extend code is 0x40017, which Microsoft attributes to faulty drivers including antivirus filter drivers. The instruction to uninstall antivirus appears under a different code, 0x20004, rather than under 0xC1900101 generally. For other extend codes it is unlikely to be the cause.

What is SetupDiag and do I have to download it?

SetupDiag is a Microsoft tool that examines Windows Setup log files and reports why an upgrade failed. You may already have its output, because setup extracts SetupDiag and runs it automatically on failure, writing results to %WinDir%\Logs\SetupDiag\SetupDiagResults.xml. It requires .NET Framework 4.7.2 or newer and an elevated command prompt.

Does a clean boot actually fix 0xC1900101?

It is a documented step for the 0x40017 extend code, where the aim is to run setup with a minimal set of drivers and startup programs. It often gets the upgrade through, but it does not tell you which driver was responsible, so the same machine can fail again on the next feature update.

The short version

Get the extend code. The phase digit tells you whether the failure happened in WinPE, at first boot or at OOBE, and that in turn tells you whether to look at storage and encryption drivers, the display driver, or a security filter driver. Then fix the one driver the logs point at.

Everything else is a lottery ticket.

Leave a Comment

Vanta NET Background