Share via

PC stuck in BIOS loop during Windows reinstallation (MSI B760 Gaming Plus WiFi)

Богдан діда 20 Reputation points
2026-05-31T18:22:31.32+00:00

Hello,

I am experiencing an issue where my PC is stuck in a BIOS loop while trying to reinstall Windows. Every time I boot or restart the computer, it goes straight into MSI Click BIOS 5, and I cannot proceed with the installation.

Here are the details of the problem and what I’ve already tried:

• Hardware: Motherboard is MSI B760 GAMING PLUS WIFI with an Intel Core i5-12600KF.

• The Issue: During the Windows installation process, the PC rebooted and started booting directly into the BIOS. No matter what I do, it keeps looping back to the BIOS screen.

• Boot Menu (F11): I tried pressing F11 to open the boot menu and manually select my USB flash drive, but it doesn't boot into the setup and just throws me back into BIOS.

• Recreating the USB: I even used another laptop to completely recreate the Windows installation media on the USB drive, but the issue persists.

• BIOS Status: In the BIOS (as shown in the attached file image.png), my BIOS mode is currently set to CSM/UEFI.

Could you please advise on how to fix this loop? Do I need to change specific Storage/Boot settings (like switching completely to UEFI, disabling Secure Boot/Fast Boot, or changing VMD/SATA controller settings) so the system can properly recognize the bootable drive and the SSD?

Thank you in advance for your help!

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

Answer accepted by question author

AI answer

2026-05-31T18:23:01.7666667+00:00

Follow these steps in order, focusing on UEFI-only boot and verifying the boot device and disk layout.

  1. Set firmware to pure UEFI (no CSM/Legacy)
    • Enter MSI Click BIOS 5.
    • Locate the firmware boot mode option (often under Boot or Advanced settings).
    • Change from CSM/UEFI (or Legacy/UEFI mix) to UEFI only.
    • Save and exit.
    • Reason: Windows 11 is designed to install in UEFI mode with GPT. Mixed/legacy modes can cause the firmware not to see the USB or SSD as valid boot targets.
  2. Disable Secure Boot temporarily (if needed)
    • Still in BIOS, find Secure Boot (usually under Security, Boot, or Authentication).
    • Set Secure Boot to Disabled.
    • Save and exit.
    • This removes Secure Boot as a variable while troubleshooting USB boot. Secure Boot can be re-enabled after Windows is installed and booting correctly.
  3. Verify the USB boots in UEFI mode
    • Re-enter BIOS and open the Boot Menu (F11 on MSI) or Boot Priority list.
    • Ensure the USB entry shows as a UEFI device (for example, UEFI: <USB name>). If there is a non-UEFI entry for the same USB, do not use it.
    • Select the UEFI USB entry and confirm whether it starts Windows Setup. If it still returns to BIOS, recreate the USB on another machine ensuring:
      • It is created as a UEFI bootable Windows 10/11 media.
      • The USB is connected to a standard USB 2.0/3.0 port directly on the motherboard I/O (avoid front-panel hubs while testing).
  4. Check disk mode and partition style alignment
    • For a successful UEFI boot, the system drive must be GPT, not MBR.
    • If Windows Setup previously started and repartitioned the SSD, but the firmware is still in mixed/legacy mode, the system can fail to find a bootable OS and drop back into BIOS.
    • If the installation is incomplete and there is no OS yet, the BIOS will also fall back to its setup screen.
  5. Ensure the SSD is visible and first in UEFI boot order
    • In BIOS, verify the SSD appears under Storage or NVMe/SATA information.
    • In the Boot section, after Windows Setup completes and reboots, ensure the Windows Boot Manager entry (on the SSD) is at the top of the boot order.
    • If the system repeatedly returns to BIOS after Setup’s first reboot, it usually means:
      • The firmware is still trying to boot in Legacy/CSM mode, or
      • The UEFI boot files on the EFI System Partition are missing or misconfigured.
  6. If Windows was partially installed and now won’t boot
    • Boot from the Windows installation USB in UEFI mode.
    • Choose Repair your computer instead of Install.
    • Go to Troubleshoot → Advanced options → Command Prompt (WinRE).
    • Use diskpart to verify the disk and partition layout:
      • diskpart
      • list disk → confirm the system disk shows a * in the GPT column for UEFI.
      • list vol → identify the SYSTEM (EFI) partition and the OS partition.
  7. Rebuild boot files if the SSD has a valid OS but no boot entry
    • From WinRE Command Prompt, after identifying the OS and SYSTEM partitions:
      • Assign drive letters if needed (for example, OS = D:, SYSTEM = R:).
      • Run:
               bcdboot D:\windows /s R: /f ALL
        
      • This writes both UEFI and BIOS boot files, but with firmware set to UEFI-only, the UEFI path will be used.
    • If the BCD store is corrupt or missing, bootrec /rebuildbcd can also be used to recreate entries.
  8. If the system still always opens BIOS with no OS installed
    • Confirm:
      • Firmware is UEFI-only.
      • Secure Boot is Disabled while testing.
      • The USB is recognized as UEFI: <USB name> and selected.
    • If Windows Setup never starts from the USB despite this, recreate the USB again or test with a different USB stick/port.
  9. Avoid switching between Legacy and UEFI mid-install
    • Once Windows installation is started in UEFI mode, do not switch to Legacy/CSM. Changing firmware mode or disk partition style mid-process can cause boot failures and BIOS loops. If a mode change is required, fully clean the disk and restart the installation in the new mode.

These steps align the firmware mode (UEFI), disk partition style (GPT), and boot files so that the system can boot from the USB to install Windows and then from the SSD without looping back into BIOS.


References:

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

Was this answer helpful?

1 person found this answer helpful.

Answer recommended by moderator

Ivan B 114.8K Reputation points Independent Advisor
2026-05-31T19:22:40.57+00:00

Hi,

In this case, disable Secure Boost and CSM.

Change the boot default to UEFI and check if the storage configuration is AHCI.

After that, change the boot order to USB Flash drive first and UEFI Hard disk second > Save the BIOS.

Press F10 to access the boot menu and select the USB Flash drive and try installing Windows.

Thanks

Was this answer helpful?


0 additional answers

Sort by: Most 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.