As long as you first install your freash copy of windows on the M.2 with no other drives connected, your install will complete no problem - if you have other dives connected at this stage, it can confuse the system and not load windows.
It's only after you have done this, you can then simply...