So, looking here:
GA-Z170X-Gaming 7 (rev. 1.0) Specification | Motherboard - GIGABYTE Global
Be sure to put the NVMe drive in the correct slot in order to keep all of your PCIe slots working. Make sure you put it in the M2D_32G slot.
Then after the NVMe is installed you will want to open a command prompt with admin privileges or a powershell with admin privileges in Windows and run:
Code:
reagentc /disable <-copies the contents of your recovery partition to a hidden folder on C: drive
diskpart <- enters diskpart
list disk <- lists all the physical disks (drives) installed in the computer
select disk # <-replace # with the actual number for the NVMe SSD
clean <- this will erase the disk selected above, make sure it is the NVMe SSD!
convert gpt <- initialize the SSD as GPT
select part 1 <- this will select the MSR partition created by the convert gpt command
delete part override <- delete the MSR partition created by the convert gpt command
create part EFI size=100 <- create a 100 MB EFI System Partition
format fs=fat32 quick <- format the EFI System Partition as FAT32
assign letter=y <- give the new EFI System Partition drive letter Y:
create part MSR size=16 <- create a 16 MB MSR partition (standard on GPT drives)
exit <- Exit disk part
exit <- Exit Command Prompt or Powershell
Then using whatever disk cloning program you like, I prefer Macrium Reflect Free, but MiniTool Partition Wizard Free would also be an excellent choice, clone/copy your existing C: drive partition ONLY to the remaining unallocated space on the NVMe SSD. Your cloning/copying software should let you assign a drive letter to the cloned partition, give it Z:. On your NVMe SSD you should now have an EFI System Partition with drive letter Y: followed by an MSR partition with no drive letter (which is hidden in Windows Disk Management), followed by a partition containing Windows with drive letter Z:.
Now open a command prompt with admin or powershell with admin again and run:
Code:
bcdboot Z:\Windows /s Y: /f UEFI <- this will write the boot files to the EFI System Partition needed to boot in UEFI mode
Reboot your computer, get into your UEFI (BIOS) settings, make sure UEFI booting is enabled and set Windows Boot Manager from your NVMe SSD as the first boot priority. The computer should now boot from the NVMe SSD into the Windows partition on the NVMe SSD. Once you are booted into the new Windows on the NVMe SSD, then open a command prompt with admin or powershell with admin and run:
Code:
reagentc /enable <- this will re-enable the Windows Recovery Environment but it will not be in a recovery partition, it will stay on the new C: drive
reagentc /info <- this will show you where the Windows Recovery Environment is