[SOLVED] Windows installer can't see NVMe drive

Jun 12, 2019
31
2
35
I have Win 10 installed on my NVMe drive, but its an old one (from 2017), and since then, I swaped from Intel to AMD which means I also cheanged motherboard of course, but I'm still using my old OS and now I feel the need of a fresh install.
I can see my NVMe drive in BIOS, and my current Win boots from it, but I can't see it in the windows installer, even if I disconnect every other sata drive. I tried to find it with Shift+10 during the windows installer in the command prompt, but also nothing.
My motherboard: MSI B450 Tomahawk
My NVMe SSD: Western Digital 256GB Black WDS256G1X0C

Do you guys have any idea what can be the problem?
 
Solution
Delete all existing partitions on the M.2 drive. You want to start out with an empty drive, the way it came from the factory.

No need to to find it with the Windows installer. The M.2 drive should be the only storage drive connected.

Guide to install Windows 10 on NVMe M.2 drive:

The NVMe M.2 drive should be the only storage drive connected.

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

Go into the BIOS, under the boot tab there is an option for CSM. Make sure it is disabled.

Click on the secure boot option below and...
Delete all existing partitions on the M.2 drive. You want to start out with an empty drive, the way it came from the factory.

No need to to find it with the Windows installer. The M.2 drive should be the only storage drive connected.

Guide to install Windows 10 on NVMe M.2 drive:

The NVMe M.2 drive should be the only storage drive connected.

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

Go into the BIOS, under the boot tab there is an option for CSM. Make sure it is disabled.

Click on the secure boot option below and make sure it is set to another OS, not windows UEFI.

Click on key management and clear secure boot keys.

Insert a USB memory stick with a bootable UEFI USB drive with Windows 10 Setup* on it, USB3 is quicker but USB2 works too. A Windows DVD won’t work unless you’ve created your own UEFI Bootable DVD.

Press F10 to save, exit and reboot.

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

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.

Click on secure boot again but now set it to Windows UEFI mode.

Click on key management and install default secure boot keys

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

*How to create a bootable UEFI USB drive with Windows 10 Setup
https://winaero.com/blog/how-to-create-a-bootable-uefi-usb-drive-with-windows-10-setup/

The Windows 10 ISO link is broken in the above. You can obtain the ISO file here:
https://www.microsoft.com/en-us/software-download/windows10
 
Solution