Windows 11 23H2 to 24H2 or 25H2 Failed with 0xC1900101 - 0x40017 Failed SECOND_BOOT

James Jordan 0 Reputation points
2025-10-28T00:39:32.4633333+00:00

I’ve been trying periodically for several months to upgrade my Windows 11 installation from version 23H2 to 24H2, and most recently to 25H2. Each attempt fails with the same error shown in the subject line.My searches for this error code and message haven’t provided any solutions that work. Below are a few of the entries from my setuperr.log file from the latest attempt:

2025-10-27 14:12:11, Error CDeploymentSession::IsRangeRequestSupported(4718): Result = 0x80040154

2025-10-27 14:12:11, Error IsRangeRequestSupported failed with: [80040154 [Error,Facility=FACILITY_ITF,Code=340 (0x0154)]]. Setting RangeRequestSupported to FALSE

2

2025-10-27 14:13:10, Error [SetupHost.exe] IOCTL_STORAGE_QUERY_PROPERTY failed: 0x32

Could someone help me interpret these log entries or guide me on additional steps to identify what’s preventing the upgrade? Any insight into how to correct this issue would be appreciated.

Windows for business | Windows Client for IT Pros | Devices and deployment | Install Windows updates, features, or roles
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Vivian Phan 5,045 Reputation points Independent Advisor
    2025-10-28T01:56:38.3666667+00:00

    Hi James Jordan,

    0xC1900101 - 0x40017 (SECOND_BOOT) is almost always a driver or storage/I/O related failure that prevents the newly installed OS from booting after the first reboot. Your setuperr.log lines point at two useful clues: a COM registration/query failing (0x80040154) and a storage property query failing (IOCTL_STORAGE_QUERY_PROPERTY 0x32). Focus first on storage drivers, firmware, and anything that changes how the installer talks to disks, then on corrupted/absent Windows update/setup components.

    Run a quick checklist first,

    Disconnect all non‑essential USB/storage devices and all external drives.

    Remove or disable any third‑party disk encryption, disk filter, or anti‑rootkit driver (BitLocker is OK).

    Make sure SATA/NVMe/RAID drivers and firmware are current (SSD/HDD firmware, Intel/AMD storage drivers, RST, NVMe).

    Update BIOS/UEFI to latest vendor release.

    Disable any optional storage controllers in BIOS (switch from RAID to AHCI only if appropriate and you understand the consequences).

    Attempt the upgrade from an in‑place ISO (Windows 11 ISO mounted in Explorer) rather than Windows Update or the Assistant.

    If those simple steps don’t fix it, continue with the deeper troubleshooting

    If you find this information useful to some extent, don't forget to accept the answer so that your experience with the issue would help contribute to the whole community. Thank you :)

    Vivian


  2. Vivian Phan 5,045 Reputation points Independent Advisor
    2025-10-30T08:18:22.5866667+00:00

    Hi, Has your issue been solved? If it has, please accept the answer so that it could be spread further to those in need too. If not, is there anything I can help you with? Please let me know. :)Vivian

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.