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