Error: "The subsystem needed to support the image type is not available"

Version 2

    Verified Product Versions

    Endpoint Manager 9.6Endpoint Manager 2016.x

    Issue

    Running a Provisioning Template fails during a WinPE phase at an Execute File action with the error: "The subsystem needed to support the image type is not available"

     

    Cause

    This error occurs when a 32-bit program is run in the 64-bit WinPE or vice versa. Depending on whether the PXE Boot detects the system to be UEFI or not, the server will offer the 32-bit WinPE or the 64-bit WinPE. Running an executable of the wrong System Architecture is not supported.

     

    Solution

     

    If the executable is 32-bit: Make sure the option SecureBoot is disabled in the BIOS. This basically turns UEFI off. Choose Legacy boot instead.

    If the executable is 64-bit: Make sure the SecureBoot option is on.

    Alternatively you can rename the 32-bit WinPE (boot.wim) to *.org in C:\program files\landesk\managementsuite\landesk\vboot and copy the Winpe64 (Boot_x64.wim) en rename the copied file Boot.wim. This makes sure you will always boot to x64 WinPE (assuming all your hardware supports x64). Please remind to do this after every ManagementSuite update.