I've been struggling with enabling Secure Boot with Windows 10. The issue is basically that when I set UEFI in the Windows-specific options of my BIOS, the system gets stuck at the spinning windows dots and MSI logo. It's fine when I go back to CSM in the BIOS.
The PC was assembled and had Windows installed some time ago, all in CSM and "UEFI+Legacy" modes. I would like to avoid reinstalling the OS to not lose anything, unless it's necessary to do so. Also, there's no message like "No bootable system", just the spinning dots, so it doesn't seem to me like a reinstall is required (it also is fine back in CSM).
Here's what I've already done, verified and tried:
- The GPU was not working with UEFI. I've used the Nvidia firmware update tool to update it and now it works (no motherboard beeps, I can get to BIOS, the system attempts to load and displays the logo and spinning dots).
- Both UEFI and UEFI+Legacy work fine in the Boot section of the BIOS settings, I have an M2 drive with the OS set as first priority, there are no more systems on the drives that could be interfering. The issue is with swithing from CSM to UEFI in Windows 10-specific settings in the BIOS.
- I have Fast Boot disabled in Windows Power Settings. I have not found a setting for fast boot in the BIOS.
- I have updated my drivers (including CPU chipset, network, audio, GPU). I have not flashed a new BIOS as anything newer than what I have is listed as Beta in the MSI Product Downloads page.
- I have successfully performed dism, sfc and chkdsk.
- I have tried auto-repair in the Windows Recovery Environment. It just says that the problem could not be fixed. In the generated log it states that all tests have passed.
- I have all my drives and partitions as GPT. I didn't reformat them, I luckly formatted them this way initially. When installing the drives and Windows.
- Secure Boot with UEFI enabled does not help. I also had to do the trick in the BIOS to generate factory keys, but that only enabled me to turn on Secure Boot, not helping the endless loading.
- I have fTPM, TPM 2.0 etc. enabled in BIOS for the processor.
How can I get UEFI and in turn Secure Boot working?
The hardware is:
- MSI Tomahawk B350
- Ryzen 5 1600
- GTX 1080 Amp! Extreme
- The system is installed on an M2 SSD.