PC & Windows Fixes

Error 0xC1900101: Decode the Code and Fix the Windows 11 Upgrade

0xC1900101 means a Windows upgrade rolled back, usually over a driver. Decode 0x20017, 0x30018, 0x4000D and more, run SetupDiag and fix it in the right order.

On this page 8 sections
  1. Read the code: phase and operation
  2. What each common 0xC1900101 code means
  3. Run SetupDiag to find the driver
  4. Fix it in this order
  5. BIOS updates: worth it, but carefully
  6. Upgrades across an office, and the 26H2 angle
  7. When it’s hardware, and when to get help
  8. Common questions
Inside of an open desktop PC showing motherboard, cables and drive bays

0xC1900101 means a Windows upgrade started, hit a problem and rolled itself back. Microsoft calls it a generic rollback code that usually indicates an incompatible driver. Your PC is fine and your files are where you left them; it’s simply still on the old version.

The useful part is the second code after the dash, such as 0x20017 or 0x4000D. It tells you which phase of the upgrade failed, and that narrows the culprit a lot. A failure in the SAFE_OS phase points at storage, encryption or security drivers; a failure during the first or second boot usually points at display or other device drivers. Then Microsoft’s SetupDiag tool can usually name the actual file.

Try these first

  1. Unplug everything except the keyboard, mouse and display, including docks and USB drives.
  2. Free up at least 20 GB on C: before trying again.
  3. Update chipset, storage, display and network drivers from the PC maker’s support site.
  4. Uninstall third-party antivirus and disk encryption for the upgrade, then reinstall them.
  5. Run SetupDiag and read SetupDiagResults.log for the driver it names.
  6. Retry the upgrade after a clean boot.

Rather not fix it yourself?

A GoProIT technician can connect remotely, with your permission, and fix it while you watch. $59 flat per fix · Mon–Fri 8am–8pm ET.

Read the code: phase and operation

Windows Setup returns a result code and an extend code, written like 0xC1900101 – 0x4000D. Microsoft documents how to read the extend code: the first digit is the phase, the last two digits are the operation that was running.

First digitPhaseWhat’s happening then
1DOWNLEVELSetup is running inside your current Windows (0xC1900101 isn’t thrown in this phase)
2SAFE_OSThe PC has restarted into a minimal setup environment to lay down the new Windows
3FIRST_BOOTFirst start of the new Windows, moving drivers and settings across
4OOBE_BOOT (second boot)Second start, finishing data migration before the sign-in screen

Common operation endings are 04 (installing the recovery environment), 0C (applying the image), 0D (migrating data), 17 (boot), 18 (sysprep) and 1E (pre-OOBE). So 0x4000D reads as “second boot, migrating data,” and 0x20017 reads as “Safe OS, boot.” Setup’s on-screen message often says the same thing in words, for example: The installation failed in the SAFE_OS phase with an error during BOOT operation.

What each common 0xC1900101 code means

From Microsoft’s upgrade resolution procedures. Each line is a starting point, not a final answer; SetupDiag (next section) confirms it.

CodeWhat Microsoft says causes itMicrosoft’s suggested fix
0xC1900101 – 0x20004Out-of-date drivers while installing the recovery environment in the SAFE_OS phaseUninstall antivirus, remove unused SATA devices and unused devices and drivers, update drivers and BIOS
0xC1900101 – 0x2000cError applying the Windows image in the SAFE_OS phase; outdated drivers or disk corruptionDisconnect peripherals except mouse, keyboard and display; update drivers; run a disk check
0xC1900101 – 0x20017A driver caused an illegal operation during SAFE_OS boot; typically drivers or non-Microsoft disk encryption, sometimes hardware failureFind the driver in setuperr.log and setupact.log, then update or uninstall it
0xC1900101 – 0x30018A device driver stopped responding to setupDisconnect peripherals, get updated drivers from the hardware maker
0xC1900101 – 0x3000DFailure migrating data at first boot, possibly a display driverDisconnect peripherals, update or uninstall the display driver
0xC1900101 – 0x4000DA driver configuration issue during second-boot data migrationCheck the rollback logs for a crash, free disk space, update or disable the named driver, check for BIOS updates
0xC1900101 – 0x40017A faulty driver after the second restart, such as an antivirus filter or encryption driverClean boot, then upgrade
0xC1900101 – 0x4001EGeneric failure during the pre-OOBE step of second bootFollow the general driver steps below

Microsoft also notes that the extend code isn’t always shown, for example by some upgrade tools. If you only have 0xC1900101, SetupDiag and the Event Viewer can still recover it.

Run SetupDiag to find the driver

SetupDiag reads the Windows Setup logs and matches them against known failure patterns. Microsoft includes it with Windows Setup, and when an upgrade fails it runs automatically. Its results are saved at %WinDir%\Logs\SetupDiag\SetupDiagResults.xml; open that in Notepad or a browser first, since the answer may already be there.

To run the latest version yourself:

  1. Download SetupDiag from the link on Microsoft’s SetupDiag page on Microsoft Learn.
  2. Open Terminal (Admin) and change to the folder you saved it in (usually your Downloads folder).
  3. Run .\SetupDiag.exe /Output:C:\SetupDiag\Results.log and wait; large logs can take a while. It needs .NET Framework 4.7.2 or later, which current Windows 10 and 11 already have.
  4. Open C:\SetupDiag\Results.log in Notepad. If several failures are listed, Microsoft says the last one is typically the fatal error, not the first.

Look for a rule name and a file name. Rules such as DriverMigrationFailure, UnknownDriverMigrationFailure, UnsignedDriverBootFailure or HardblockDeviceOrDriver mean a specific driver package is the problem, and usually name it. A name ending in .sys or .inf tells you which device or program to deal with.

If you prefer the raw logs: C:\$Windows.~bt\Sources\Panther\setuperr.log and setupact.log cover the attempt, and the C:\$Windows.~bt\Sources\Rollback folder holds rollback logs and, after a crash during setup, a setupmem.dmp file. These folders are hidden.

Fix it in this order

1. Strip the PC back to basics

Shut down and unplug everything except the keyboard, mouse and display: docks, printers, USB drives, card readers, webcams, second monitors. Microsoft’s mitigation for several of these codes starts here, because each device brings its own driver into the upgrade.

2. Free space

Aim for at least 20 GB free on C:. A drive that fills during the SAFE_OS or migration phase causes rollbacks that look like driver failures.

3. Update or remove the drivers that matter

Go to your PC maker’s support site, enter the model or serial number, and install current chipset, storage (Intel Rapid Storage, RAID or NVMe), display and network drivers. Network and display adapters are frequent offenders, so check them in Device Manager too. If SetupDiag named a driver for a device you no longer use, uninstall that device and its driver package.

4. Remove security and encryption software for the upgrade

Microsoft repeatedly names antivirus filter drivers and non-Microsoft disk encryption as causes. Uninstall third-party antivirus (Windows Security takes over meanwhile) and decrypt or uninstall third-party encryption tools following the vendor’s instructions, then reinstall after the upgrade. On a business PC, check with whoever manages security before removing an agent.

5. Clean boot and retry

Run msconfig, and on the Services tab tick Hide all Microsoft services, then Disable all. In Task Manager’s Startup apps page, disable the rest. Restart and run the upgrade again. Undo the clean boot afterward.

6. Repair Windows first

If the current Windows has damaged files, the upgrade inherits them. Run DISM /Online /Cleanup-Image /RestoreHealth and sfc /scannow before the next attempt. Our Windows 10 to Windows 11 upgrade guide covers the preparation and upgrade methods in full.

Rather have a technician sort it out?

With your permission, a technician can connect remotely, run SetupDiag and read the rollback logs, deal with the driver that’s blocking the upgrade and run it again while you watch. A GoProIT technician can connect remotely, with your permission, and fix it while you watch. $59 per fix, Mon–Fri 8am–8pm ET.

Get a $59 fix

BIOS updates: worth it, but carefully

Microsoft lists BIOS updates among the fixes for 0x20004 and 0x4000D, and on older business PCs a firmware update often fixes storage or power-management bugs that trip the upgrade. It’s also the riskiest step on this page.

  • Use only the update from your PC maker’s support page for your exact model.
  • Plug in the laptop and don’t interrupt the update; a power loss during a firmware flash can leave the PC unable to start.
  • Suspend BitLocker first (Control Panel > BitLocker Drive Encryption > Suspend protection), and have the recovery key saved somewhere other than that PC. A firmware change can trigger a recovery prompt; see our BitLocker recovery key guide.
  • Back up the user’s files before flashing.

Microsoft also suggests disabling BIOS memory options such as caching or shadowing for 0x4000D. Those settings vary a lot by model, so only change them with the maker’s documentation in front of you, and note what you changed.

Upgrades across an office, and the 26H2 angle

0xC1900101 comes from full version upgrades: Windows 10 to 11, or Windows 11 23H2 to 26H2 using the Installation Assistant or installation media. PCs already on 24H2 or 25H2 get the 2026 Update as a small enablement package with one restart, which rarely hits this error; see our Windows 11 26H2 guide.

When several PCs fail, group them by model. One model failing while others succeed almost always means a driver or firmware on that model, and the fix only needs working out once. In Intune, a feature update policy lets you hold the problem model on its current version while the rest move on.

Also check whether the PCs actually meet Windows 11 requirements. SetupDiag’s rule list notes that a hardware requirement block can appear even when someone tried to bypass the checks, and an unsupported PC forced through the upgrade is a poor base for a business machine.

When it’s hardware, and when to get help

  • The logs show a crash (setupmem.dmp) with memory or disk errors. Microsoft notes 0x20017 can be caused by hardware failure. Test the RAM and check the drive’s health before trying again.
  • It fails at the same point after drivers are updated and peripherals removed. The fix is usually in the dump or the logs, and reading them is a technician’s job.
  • The PC won’t start normally after the rollback. Rare, but it needs recovery tools rather than another upgrade attempt.
  • The blocking driver belongs to security or encryption software you can’t remove without the vendor or your IT administrator.

For one PC that keeps rolling back, this is a typical $59 remote fix: every session starts only after you approve it, and you can end it at any time.

Common questions

Did 0xC1900101 delete my files?

No. When Windows Setup rolls back, it restores the previous version with your files, apps and settings as they were. That is the point of the rollback. You may see a message such as Undoing changes or Restoring your previous version of Windows during a restart. Once you’re back at the desktop, the PC works as before, just without the new version.

Can I just keep retrying the upgrade?

You can, but it rarely helps without changing something, because the same driver blocks it every time. Each attempt also takes an hour or more. Read the extend code and SetupDiag’s result first, fix the named driver or device, then try again. If the second attempt fails at the same phase, the logs have the answer.

What is the SAFE_OS phase?

It’s the stage where the PC restarts into a minimal setup environment, separate from your normal Windows, to install the new version. Only essential drivers load there, so a storage, encryption or security driver that misbehaves causes a SAFE_OS failure such as 0x20017 or 0x2000c. Microsoft’s extend codes starting with 2 all refer to this phase.

Does 0xC1900101 mean my PC can’t run Windows 11?

Not by itself. A PC that fails the Windows 11 requirements is normally stopped before the upgrade starts, with a compatibility message rather than a rollback. 0xC1900101 usually means the PC qualifies but a driver or device broke the process. Check PC Health Check to be sure, then work on drivers and peripherals.

Is a clean install better than fixing 0xC1900101?

A clean install often avoids the error because it doesn’t carry old drivers across, but it wipes the drive, apps and settings. For a business PC that means reinstalling every app, printer and sign-in. Try the driver steps first. If you do go clean, back up and confirm the backup opens on another PC before you start.

Book online in 2 minutes

Talk to a GoProIT technician

Pick a time that suits you. A technician calls you at the start time; for support sessions they send a secure link, and nothing happens on your computer until you approve it. Monday to Friday 8am to 8pm Eastern.

Secure checkout by Stripe. Free cancellation up to 2 hours before your session.

Still stuck? We can fix it remotely for $59 • IT help Mon–Fri 8am–8pm ET
📞 Call (844) 734-1288 WhatsApp Book a $59 fix
WhatsApp us(202) 960-2022 · messages