Share via

Secure Boot broke installation process Windows 11

Mustang1990 20 Reputation points
2026-06-04T07:54:23.8833333+00:00

I downloaded MediaCreationTool and made bootable pendrive with Windows 11 and in the setup i deleted every single partition and created a new one but after the first page of installation process when laptop rebooted i got this message "please install an operating system on your hard disk" and after i disabled secure boot with legacy support every thing started working again and installation finished after every update was installed i turned secure boot back on so my question is why windows 11 didn't complete installation with secure boot? And also why during the installation i couldn't choose to install windows 11 home? It just automatically installed version Pro and i also wanted to ask if installation finished without the secure boot with legacy support does it mean that windows 11 will work fine and i will be receiving updates? My laptop is hp elitebook 840 g5

16 GB of ram

intel core i5 8th gen

Intel uhd 620

Windows for home | Windows 11 | Install and upgrade
0 comments No comments

2 answers

Sort by: Most helpful
  1. DaveM121 891K Reputation points Independent Advisor
    2026-06-04T08:29:17.85+00:00

    This is normal, some PC manufacturers setup their systems so it will not boot form a USB when Secure Boot is enabled.

    If you have now installed Windows 11, then re-enabled Secure Boot and Windows starts correctly, then there is nothing further you need to do and you will continue to receive the Windows 11 updates.

    Though usually on a HP system, you insert the USB, start the PC, repeatedly press the Esc key, then on the resulting menu, press F9 to get the temporary boot menu to boot from the USB without needing to disable Secure Boot.

    Was this answer helpful?


  2. AI answer

    2026-06-04T07:54:40.02+00:00

    Windows 11 setup and boot behavior in this scenario are explained by Secure Boot, UEFI/Legacy mode, and how the media chooses the edition.

    1. Why installation failed with Secure Boot enabled

    Secure Boot only allows trusted, correctly signed bootloaders and startup components to run. During installation, Windows uses the bootloader and WinRE/rollback environment from the setup media and then from the disk being installed.

    If firmware is in Legacy/CSM mode or the disk/bootloader layout does not match Secure Boot requirements (UEFI + GPT + properly signed boot files), the firmware can refuse to boot from the new installation and show messages like “please install an operating system on your hard disk.”

    Disabling Secure Boot and enabling Legacy/CSM allows the firmware to boot in a less restrictive way, so the installation can complete even if:

    • The disk was partitioned or formatted in a way that is more compatible with Legacy BIOS (for example, MBR instead of GPT), or
    • The firmware was not correctly set to pure UEFI mode during the initial install attempt.

    Official guidance for Windows 11 is to install in UEFI mode with Secure Boot capability and GPT partitioning. Secure Boot and Trusted Boot then protect the boot chain by verifying signatures on firmware, bootloader, and kernel components.

    Relevant behavior:

    • Secure Boot ensures a trusted path from UEFI through the Windows kernel’s Trusted Boot sequence and blocks tampered or untrusted boot code.
    • If the firmware or bootloader configuration does not match what Secure Boot expects, the device may fail to boot the just-installed OS until Secure Boot is disabled or the configuration is corrected.
    1. Why Windows 11 Pro installed instead of Home

    The edition that installs from generic Windows 11 media is determined by:

    • The product key entered during setup, or
    • An embedded digital license / OEM key in firmware.

    If the device has a Pro digital entitlement or OEM key in firmware, setup automatically selects Pro and does not offer a manual edition choice. This matches reports where reinstalling from clean media and letting setup detect the digital key results in automatic activation of the correct edition.

    1. Will Windows 11 work and receive updates after installing with Secure Boot off / Legacy on?

    Yes, Windows 11 can run and receive updates even if Secure Boot was disabled during installation, as long as the hardware otherwise meets Windows 11 requirements. Secure Boot is a security feature, not a functional requirement for updates.

    However:

    • For best security, Secure Boot and UEFI mode should be enabled once installation is complete and the system is configured correctly.
    • If the system was installed in Legacy/CSM mode with an MBR disk, enabling Secure Boot later may not work until the disk and boot configuration are converted to UEFI/GPT and the boot files are recreated according to UEFI/Secure Boot expectations.

    If Secure Boot is re-enabled and the device boots normally into Windows 11, then the boot chain is acceptable to the firmware and Secure Boot, and the system will continue to receive updates as usual.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

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.