Forum Discussion

ZippZayz's avatar
ZippZayz
Iron Contributor
Jul 31, 2025

Windows 11 error: The installation failed in the SAFE_OS phase with an error during BOOT operation

Not a tech savvy and seek help from this Microsoft tech community.

My pc keeps getting this error during the installation process when I was trying to upgrade my PC to Windows 11.

The installation failed in the SAFE_OS phase with an error during BOOT operation.

I have already checked that my system meets the minimum requirements (TPM 2.0, Secure Boot, etc.), and tried running the installation via the Installation Assistant and bootable USB, but the error persists.

Has anyone run into this issue before? What steps can I take to fix it? 

6 Replies

  • AAbner's avatar
    AAbner
    Iron Contributor

    The error "The installation failed in the SAFE_OS phase with an error during BOOT operation" during a Windows 11 upgrade indicates that the installation encountered a critical issue during a crucial phase of the setup process.  Since the error occurs during the SAFE_OS phase, which prepares the system for finalization, it might lead to boot problems or system crashes if not properly resolved.

    If the installation fails and the system needs to be rolled back or restored, there is a potential risk of data loss, especially if backups are not current. Repeated failed attempts to upgrade without proper fixes might cause corruption of system files or the existing Windows installation. Resolving this error often involves multiple troubleshooting steps, leading to increased system downtime and maintenance efforts.

  • Mikaeliop's avatar
    Mikaeliop
    Iron Contributor

    If the installation failed in the SAFE_OS phase with an error during BOOT operation, it indicates a serious problem that can pose several dangers or risks if you attempt to proceed without resolving it:

    What does this error mean?

    • The SAFE_OS phase is part of the Windows installation process where the system is preparing the core components to boot.
    • An error during the BOOT operation suggests a failure in the boot process, often related to bootloader issues, corrupted system files, incompatible hardware, or firmware problems.

     

    Potential dangers or risks of proceeding with this failure:
    1. Unbootable System (Bricked Device):
    The most immediate risk is that your PC may become unbootable, meaning you can't start Windows anymore.
    In worst cases, this might require complex recovery procedures or even hardware intervention.

    2. Data Loss or Corruption:
    Trying to force or skip repair steps can lead to further corruption of system files or data loss.
    If the installation process is incomplete or corrupted, your existing data could become inaccessible or damaged.

    3. Hardware Damage (Rare):
    While unlikely when the installation failed in the SAFE_OS phase with an error during BOOT operation, repeated failed installation attempts can sometimes stress hardware components, especially if power interruptions or hardware conflicts are involved.

  • Americaaman's avatar
    Americaaman
    Iron Contributor

    If your Windows 11 installation fails during the SAFE_OS phase, corrupted update files could be the culprit. Windows Update relies on cached files to install updates, and if these files are damaged or incomplete, the upgrade process may fail. To resolve this, we’ll clear the Windows Update cache, forcing Windows to download fresh update files. This method is particularly useful if you’re encountering errors during an upgrade via Windows Update.

    Follow the steps below to reset the Windows Update components and remove corrupted files. 

    net stop wuauserv
    net stop bits
    net stop cryptsvc
    ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
    ren C:\Windows\System32\catroot2 catroot2.old
    net start wuauserv
    net start bits
    net start cryptsvc

    This is a very effect approach to fix "The installation failed in the SAFE_OS phase with an error during BOOT operation." error during Windows 11 upgrade!

  • Lucienw's avatar
    Lucienw
    Iron Contributor

    The error message "The installation failed in the SAFE_OS phase with an error during BOOT operation" during Windows 11 upgrade indicates a problem that typically relates to boot configuration, driver issues, or system files. Since you've already met the minimum requirements and tried different installation methods, here are some targeted troubleshooting steps to resolve this:

    • Reset BIOS/UEFI settings for Secure Boot and TPM.
    • Update BIOS firmware.
    • Run disk checks and system file repairs.
    • Perform a clean boot.
    • Use bootrec commands if needed.
    • Consider a clean install if upgrade persists failing.

     

    Do you hope this can help you solve the problem "The installation failed in the SAFE_OS phase with an error during BOOT operation"?

  • Timie's avatar
    Timie
    Iron Contributor

    The error "The installation failed in the SAFE_OS phase with an error during BOOT operation" during a Windows 11 upgrade or installation typically occurs due to issues with disk partitions, Secure Boot, TPM, or corrupted installation files. Here’s how to troubleshoot and fix it:

    1. Check System Requirements

    Ensure your PC meets Windows 11’s minimum requirements:

    • TPM 2.0 (Trusted Platform Module) enabled in BIOS.
    • Secure Boot enabled.
    • UEFI mode (not Legacy/CSM).
    • Sufficient disk space (64GB+).

    2. Clean the Disk and Reinstall

    Damaged or broken disk partitions can cause this error. Try:

    1. Backup your data.
    2. Create a Windows 11 USB installer using Media Creation Tool.
    3. Boot from USB, select Custom Install.
    4. Delete all partitions on the target drive and install fresh.

    3. Use DISM & SFC for System Repair

    Corrupted system files can cause installation failures:

    Open Command Prompt (Admin).

    Run:

    sfc /scannow
    dism /online /cleanup-image /restorehealth

    Restart and retry installation.

     

Resources