Clear UEFI data on NVMe m.2 so no more BSOD on boot up?

I don't even know if that subject is appropriate. Here's what I want though...

ASUS Z97-A/USB 3.1 motherboard
2 x 256GB SSD installed RAID-0 (has been for 2-3 years, works fine).
Recently installed 256GB Samsung 960 Evo NVMe m.2 on the motherboard.
Tried installing Windows 10 x64 on it as a boot device (while the other drives present) and had problems. Each time I try to boot, I get a BSOD (kind of, its like aquamarine and has a lot of Windows stuff on it, but typically powers off right away) and cant boot it.
That plus I had performance concerns, bought an ASUS PCIe m.2 card, and installed NVMe m.2 on that card.

Each time I boot up from cold, I get that BSOD (aquamarine actually) and I have to hit F9 and have it boot other device. I then am presented with 2 things to boot. one is Windows 10, and the other is Windows 10 Device 4 (or something like that). I select the 2nd and it boots my old RAID fine. I can sleep the PC and resume fine.

I went in to the BIOS and cleared the Secure Keys from Secure Boot (not quite sure what this does). no help.

I went in to the Disk Management and deleted the partition on the m.2 and re-created and re-formatted. It doesnt seem to remove that UEFI boot data.

How can I get back to as if I never tried to make that a boot device? How can I clear that data off of it?

I do want to try this method to make it a boot device again later...
Quote:

The background here is NVME SSDs do not appear within the BIOS until Windows creates the system partition with the EFI Boot Sector. Your M.2 SSD contains UEFI driver information within the firmware. By disabling the CSM module Windows will read and utilize the M.2-specific UEFI driver.

1- The M.2 drive has to be the only drive installed.

2 - Go into the bios, under the boot tab there is an option for CSM, make sure it is disabled.

3 - Click on secure boot option below and make sure it is set to other OS, not windows UEFI.

4 - Click on key management and clear secure boot keys.

5 - Insert a USB memory stick with a UEFI bootable ISO of Windows 10 on it, USB3 is quicker but USB2 works also. A Windows DVD won’t work unless you’ve created your own UEFI Bootable DVD.

6 - Press F10 to save, exit and reboot.

7 - Windows 10 will now start installing to your NVME drive as it has its own NVME driver built in.

8 - When the PC reboots hit F2 to go back into the BIOS, you will see under boot priority that windows boot manager now lists your NVME drive.

9 - Click on secure boot again but now set it to WIndows UEFI mode. (see #3 above)

10 - Click on key management and install default secure boot keys

11 - Press F10 to save and exit and windows will finish the install. Once you have Windows up and running, shutdown the PC and reconnect your other SATA drives.

I would also recommend installing the Samsung NVME driver at this point to replace the Windows one. (optional)
Reply to Agro
1 answer Last reply
More about clear uefi data nvme bsod boot
  1. I googled a bit. I used "diskpart" and ran "clean" on the disk. I then went in to Disk Management and for now chose MBR and it doesnt do it anymore.

    I'll try again with using it as a boot device later on.
    Thx
    Reply to Agro
Ask a new question Answer

Read More

Boot