How to fix the “Error during SAFE_OS installation phase during OOBE operation” error when updating to Windows 11?
Situation:
- Upgrading from Windows 10 22H2 to Windows 11 25H2 while keeping all files, settings, and applications
- Laptop meets Windows 11 requirements with updated drivers and BIOS
- 45 GB of free space on the disk
Installation process:
- Created a bootable USB with the Windows 11 image
- Started setup.exe from running Windows 10
- Downloaded updates (~10 GB)
- The installer reported insufficient space and suggested using an external drive
- Connected an NTFS USB drive and continued the installation
- Installation completed, system rebooted
Problem:
- After reboot, the following error appears: “Insert external drive and press OK”
- Pressing OK or Cancel returns to Windows 10
- Error message: “Windows 11 installation failed. The computer has been returned to its state before the Windows 11 installation began.”
- Error code: 0xC1900101-0x20017
- Description: “Error during SAFE_OS installation phase during OOBE operation”
Steps taken:
- Installation via Windows Assistant (similar result)
- Cleaned update files and component store via DISM
- System check via SFC (no errors found)
- Disk check via CHKDSK (minor errors, fixed by the system)
CHKDSK results:
- NTFS file system
- Fixed errors in BITMAP attribute of main file table (MFT)
- Available on disk: 33,486,300 KB
Question: What additional steps can be taken to successfully upgrade to Windows 11 without a full system reinstallation?
Error 0xC1900101-0x20017 during Windows 11 installation occurs due to driver compatibility issues or conflicts when using external drives for installation, and to resolve it, you need to check hardware compatibility, update drivers, use offline installation, or perform a clean system installation.
Table of Contents
- What does error 0xC1900101-0x20017 mean
- Main causes of the error
- Step-by-step solutions to fix the error
- Considerations when using external drives
- Alternative Windows 11 installation methods
- Checking system requirements
What does error 0xC1900101-0x20017 mean
Error 0xC1900101-0x20017 is a common error message when installing or updating Windows 11, indicating a failure at the SAFE_OS (Secure and Fast OS) stage during the boot operation. This installation phase is critical as it includes installing the basic operating system components needed for subsequent booting.
As noted by experts from Tips 2 Fix, the 0xC1900101 code is often observed at various stages of the update process and is also called a general rollback code, which indicates the presence of an incompatible driver.
It’s important to understand that the error occurs specifically when trying to complete the installation after rebooting the system, when Windows attempts to boot the new operating system but cannot do so due to hardware or driver conflicts.
Main causes of the error
Based on analysis of various sources, there are several main causes that trigger error 0xC1900101-0x20017:
Incompatible drivers
The most common cause is the presence of incompatible hardware drivers that conflict with the new version of Windows 11. This especially concerns video card drivers, network adapters, and other peripheral devices.
External drive issues
As mentioned in your case, using external drives for installation can cause problems. The flash drive should be properly formatted and have sufficient read/write speed.
BIOS/UEFI settings
Incorrect BIOS settings such as:
- Enabled virtualization
- Non-standard boot parameters
- Issues with Secure Boot
Insufficient free space
Although you have 45 GB of free space, the installation may temporarily require more space for deployment files.
Software conflicts
Background programs or antivirus software may interfere with the installation process.
Step-by-step solutions to fix the error
1. Update drivers before installation
Before attempting to update, ensure all drivers are updated to the latest versions compatible with Windows 11:
- Visit your laptop manufacturer’s website
- Download the latest driver versions for Windows 11
- Pay special attention to drivers for:
- Video card
- Network adapter
- Storage controller
- Chipset
As recommended by Windows Circle, updating drivers is one of the four quick solutions to fix the SAFE_OS error.
2. Using clean boot mode
Clean boot mode allows you to start Windows with a minimal set of drivers and programs:
- Press
Win + R, typemsconfigand press Enter - Go to the “Services” tab
- Check the “Hide all Microsoft services” box
- Click “Disable all”
- Go to the “Startup” tab and click “Open Task Manager”
- Disable all startup items
- Restart the system and try to install Windows 11
According to experts from Tips 2 Fix, in clean boot mode, the computer starts with a pre-selected minimal set of drivers and startup programs, which allows the update to be performed.
3. Check and fix disk errors
You have already performed CHKDSK check, but to completely solve the problem:
chkdsk C: /f /r
It’s also recommended to check system file integrity:
sfc /scannow DISM /Online /Cleanup-Image /RestoreHealth
4. Reset update components
Sometimes the problem may be related to the Windows update cache:
- Open Command Prompt as administrator
- Execute the following commands one by one:cmd
net stop wuauserv net stop cryptSvc net stop bits net stop msiserver ren C:\Windows\SoftwareDistribution SoftwareDistribution.old ren C:\Windows\System32\catroot2 catroot2.old net start wuauserv net start cryptSvc net start bits net start msiserver
5. Change BIOS/UEFI settings
As mentioned in Auslogics, an effective workaround is to change the number of active cores in BIOS:
- Restart the computer and enter BIOS/UEFI
- Find the CPU settings
- Change the number of active cores to 1
- Save settings and exit BIOS
- Try to install Windows 11
Also check:
- Enable Secure Boot
- Disable Fast Boot
- Make sure SATA mode is set to AHCI
Considerations when using external drives
The external drive issue described in your case is common. Here are several recommendations:
Flash drive formatting
For successful Windows 11 installation from an external drive:
- Format the flash drive to NTFS file system (as you have) or exFAT
- Ensure the flash drive has a read speed of at least 15 MB/s
- Use a quality class 10 flash drive or higher
Alternative methods for working with external disk
-
Temporarily copy files to the main drive
- Copy installation files to the main drive
- Run installation from there
- After successful installation, delete temporary files
-
Use a different flash drive
- Try using a different flash drive
- Make sure it’s not damaged
-
Disable Bluetooth and wireless devices
As noted in Diskpart, some users report that disabling Bluetooth and wireless devices in BIOS helps fix the Windows update problem.
Alternative Windows 11 installation methods
1. Offline installation
Instead of using Windows Update or Assistant, create an offline installer:
- Download the Windows 11 Media Creation Tool
- Run it and select “Create installation media for another PC”
- Create a bootable flash drive
- Restart the computer and boot from this flash drive
- Perform a clean Windows 11 installation
2. Update through Windows Insider Program
If you can’t wait for the official Windows 11 25H2 release:
- Join the Windows Insider Program
- Install the Windows 11 preview version
- After successful installation, update to the stable version
3. Use Virtual Machine for testing
Before the main installation, you can test compatibility in a virtual machine:
- Install VirtualBox or VMware
- Create a virtual machine with Windows 10
- Try to install Windows 11 in a virtual environment
- If successful, repeat on the main computer
Checking system requirements
Ensure your computer fully meets Windows 11 requirements:
- Processor: 1 GHz or faster with 2 or more cores on a compatible 64-bit processor or System on a Chip (SoC)
- RAM: 4 GB or greater
- Storage: 64 GB or larger
- System firmware: UEFI, Secure Boot capable
- TPM: Version 2.0
- Graphics: Compatible with DirectX 12 or later with WDDM 2.0 driver
Pay special attention to TPM 2.0 and Secure Boot, as their absence often causes Windows 11 installation problems.
Sources
- WinTips.org - FIX: Windows 11 24H2 0XC1900101 - 0x20017 installation error
- ElevenForum - Windows 11 0xc1900101-0x20017 The installation failed in SAFE_OS phase
- Tips 2 Fix - 0xC1900101 – 0x20017 Installation failed in SAFE_OS phase
- UBackup - Fixed: 0xc1900101 0x20017 Windows 11 Installation Error
- Diskpart - [Solved]Windows Installation Error 0xC1900101 – 0x20017
- Windows Circle - Fix 0xc19001 0x20017 safe_os windows 11 Error
- Auslogics - Fixing Installation Failed in Safe_OS Phase with an Error
- Microsoft Q&A - Azure Windows VM update failed in the SAFE_OS phase
- Microsoft Q&A - We couldn’t install Windows 11
- Reddit - r/techsupport on 0xC1900101 – 0x20017 error
Conclusion
- Error 0xC1900101-0x20017 is most often caused by incompatible drivers, so before updating, you need to update all critical drivers to versions compatible with Windows 11.
- Clean boot mode allows you to exclude software and driver conflicts, which often solves the problem of safe Windows 11 installation.
- Using offline installation instead of updating through Windows Update can bypass problems with the update cache and installation components.
- BIOS/UEFI settings play a key role - check that Secure Boot is enabled, TPM 2.0 is enabled, and try temporarily reducing the number of active cores to 1.
- If all methods fail, consider a clean Windows 11 installation followed by restoring data from a backup, as this ensures there are no conflicts with old drivers and system files.