I had a similar problem with the HP ProDesk 600 G2 mini and Plextor PX-G128M6e.
It helpedoffthe legasy and security modes loadingin BIOS: Advanced->Security Boot Configuration->Legasy Support Disable and Secure Boot Disable.
And also disable power management PCIe: Advanced->Power Managment Options->PCI Express Power Managment.
Without turning off the powermanagement Windowscould notboot from the SSD with errors:
"The application or operating system couldn’t be loaded because a required file is missing or contains errors.
File: \Windows\system32\winload.efi
Error code:0xc0000185".
After these settings Windows installs and runs correctly from the SSD drive.
P.S. Plextor PX-G128M6e is M.2 AHCI PCIe SSD, not NVMe, but canalsobe usefulto someone.