/build/static/layout/Breadcrumb_cap_w.png

Keeping PXE Boot in the Boot Order after Windows install

I'm looking for a solution to restore the firmware pxe boot priority after installing Windows 11 Enterprise. The Windows boot manager takes over and prevents the Quest KACE SDA from automating the deployment process. How can I configure the pxe boot settings to persist after the Windows installation?


0 Comments   [ + ] Show comments

Answers (1)

Posted by: Nico_K 9 months ago
Red Belt
0

Go to Settings | Control Panel | General Settings | PXE Options.
Enable "Boot to SDA Main Menu" and verify that the Local Hard Disk Boot Methods are set to Chain Boot.


Comments:
  • I have Boot to SA Main Menu. Challenge is when the image comes down windows boot manager becomes first in the boot order. Using the Mid Level task "[DISK] Apply BIOS/UEFI Partitions" doesnt seem to help make sure that pxe boot is first in the order. Should I modify the below batch script?

    @echo off
    for %%I in (Z W V U S R Q P O N M L K J I H G F E D C) do (
    if exist %%I:\BOOT if not exist %%I:\SOURCES\BOOT.WIM set BOOTSYS_DRIVE=%%I:
    if exist %%I:\WINDOWS if not exist %%I:\SOURCES\BOOT.WIM set WINDOWS_DRIVE=%%I:
    )
    wpeutil UpdateBootInfo
    for /f "tokens=2* delims= " %%A in ('reg query HKLM\System\CurrentControlSet\Control /v PEFirmwareType') DO SET FIRMWARE=%%B

    @echo on
    echo Boot Drive: %BOOTSYS_DRIVE%
    echo Windows Drive: %WINDOWS_DRIVE%
    echo Firmware Type: %FIRMWARE% (0x1 is BIOS, 0x2 is UEFI)
    echo Explanation of Firmware Type: (0x1 is BIOS, 0x2 is UEFI)

    if %FIRMWARE%==0x1 goto BIOS
    if %FIRMWARE%==0x2 goto UEFI
    goto END

    :UEFI
    bcdboot %WINDOWS_DRIVE%\windows /s s: /f UEFI
    bcdedit /store S:\efi\microsoft\boot\bcd /set {bootmgr} device partition=s:
    bcdedit /store S:\efi\microsoft\boot\bcd /set {memdiag} device partition=s:
    bcdedit /store S:\efi\microsoft\boot\bcd /set {default} device partition=%WINDOWS_DRIVE%
    bcdedit /store S:\efi\microsoft\boot\bcd /set {default} osdevice partition=%WINDOWS_DRIVE%
    Bcdedit /store S:\efi\microsoft\boot\bcd /set {FWbootmgr} displayorder {Bootmgr} /addfirst
    bootsect /nt60 s:
    goto END

    :BIOS
    if not defined BOOTSYS_DRIVE (
    bcdboot %WINDOWS_DRIVE%\windows /s %WINDOWS_DRIVE%
    )
    goto END

    :END - tmapes 9 months ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ