When Dell devices have their SATA/NVMe operation switched from RAID to AHCI/NVMe mode in the BIOS and are then imaged, Windows Boot Manager does not appear in the boot menu. This causes the computer to enter network boot, which has a higher boot priority than the SSD on recent models. To resolve this, the following commands are run before the device exits WinPE:
When Dell devices have their SATA/NVMe operation switched from RAID to AHCI/NVMe mode in the BIOS and are then imaged, Windows Boot Manager does not appear in the boot menu. This causes the computer to enter network boot, which has a higher boot priority than the SSD on recent models. To resolve this, the following commands are run before the device exits WinPE:
bcdedit /set {fwbootmgr} displayorder {bootmgr} /addfirst
bcdedit /set {bootmgr} displayorder {default} /addfirst
https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/bcd-system-store-settings-for-uefi?view=windows-11#other-settings