A Windows 11 installation that fails with 0xC1900101 - 0x20017 points to a startup driver or hardware conflict. Disconnect extra devices, update model-specific drivers, and check third-party disk encryption before retrying.
The SAFE_OS and BOOT wording matters: Windows couldn't complete a startup operation, so it returned to the previous installation. A failed download or a monthly update with another code needs a different repair.
In this guide
1. Remove the devices setup doesn't need
Unplug external storage, printers, webcams, docks, and other accessories. Keep the keyboard, mouse, display, and a laptop's charger connected. Try the upgrade with just those essentials connected.
I'd start here because it's quick and reversible. An accessory can bring its own driver into setup even when you aren't using it. If the upgrade succeeds, reconnect equipment afterward and update its software separately.

Back up important files before the next upgrade attempt. Keep the copy somewhere you can access without this PC. Setup normally preserves files, but a computer already failing during startup deserves that preparation.
Read the complete error after each attempt. A new second code means setup may have stopped at a different stage. Don't assume that every failed retry is still the same 0x20017 problem.
Microsoft lists driver and hardware configuration issues, plus third-party software conflicts, in its specific repair procedure for this exact code.
2. Update drivers and check Device Manager warnings
Open Windows Update and install available updates, including any required restarts. In Windows 11, use Settings > Windows Update. From Windows 10, use Settings > Update & Security > Windows Update.
Check again after restarting. One completed update can make another available. Finish those updates before trying the Windows upgrade again.
For other drivers, use the downloads on your PC model's support page. Check storage, chipset, network, and graphics downloads against that model and the Windows version you're installing.
Press Windows+R, enter devmgmt.msc, and press Enter. Expand the device categories and look for a yellow warning symbol. Open the affected device's Properties and read Device status.
Update a marked device using its maker's driver instructions. If the vendor directs removal instead, follow that specific procedure. Removing a storage controller at random can leave Windows unable to start.
A Device Manager list without warnings doesn't rule out a driver problem. Some upgrade conflicts appear only during setup. If the same error returns without a visible warning, move on to software that works closely with the disk.
3. Deal with disk encryption and security software
Third-party disk encryption can cause setup to fail at this startup stage. Check for a separate disk-encryption product, including one supplied by your employer. Have IT approve changes on a managed PC.
Use that product's upgrade instructions to decide whether it needs an update, decryption, or removal. Its startup driver stays installed when you close the program and can still load with Windows.
Keep the recovery information and a verified backup before changing encryption. Don't delete an encrypted volume, format the drive, or treat a partition change as a shortcut to getting past this code.
Check third-party antivirus software too. The repair procedure includes removing non-Microsoft antivirus applications. Use the vendor's uninstall process and restart before retrying, rather than simply pausing its scanning switch.
Afterward, confirm Windows Security shows active protection. If the upgrade works, install a compatible security version. If it still rolls back, note which product was removed so support knows what you've already checked.
4. Try setup with fewer background programs
A clean boot starts Windows without the third-party services and apps you're checking. It helps when software still running in the background interferes with installation, even after obvious security and disk tools have been addressed.
- Search Start for msconfig and open System Configuration.
- Select Services, then select Hide all Microsoft services.
- Record the enabled third-party services, then choose Disable all and apply the change.
- Open Startup > Open Task Manager. Record which startup apps are enabled and disable those entries.
- Close Task Manager, confirm System Configuration, and restart the computer.
Leave the Boot tab alone. This test changes background software, not processor counts, memory limits, or startup modes. Then try the Windows upgrade again.
If it completes, re-enable the recorded services and startup entries, checking their compatibility as you go. If it fails, restore them too. A clean boot is only for this check; don't leave those programs disabled as a performance fix.
The general installation failure guide covers other setup messages and the automatic SetupDiag result if the error changes during these attempts.
5. Save the failure details before changing firmware
Open Event Viewer from Start and inspect Windows Logs > System around the failed upgrade time. Save relevant driver or hardware errors. The timestamp helps separate the upgrade failure from an older unrelated event.
Keep SetupAct.log and SetupErr.log, especially files under C:\$Windows.~BT\Sources\Panther when present. Give support the complete files it requests rather than only the first line containing the word error.
Firmware updates can matter, but use only the firmware instructions matching your PC or motherboard model. I'd send that team the logs before changing storage-controller modes or disabling security settings to match a forum post.
Check that the computer meets Windows 11 requirements too. If setup names a compatibility block, follow that message. The version-specific installation checks explain why an older release isn't always the right target.
When this exact rollback continues, open Get Help and request Windows upgrade support. Provide both error codes, the SAFE_OS/BOOT wording, PC model, current Windows version, and the driver and software changes already tried.
For a work PC, give those same details to IT. Ask them to identify the failing startup driver or encryption component before authorizing an erase. A clean installation removes a lot more than the conflict you're trying to fix.
The Short Version
Disconnect extras, update drivers, and check encryption and security software. Try a clean boot next. If SAFE_OS still fails, save setup logs and have support identify the driver before changing firmware or erasing Windows.
Checked November 13, 2026.







