[Guide] How to install Win7 x64 on NVMe SSD in a virtual machine

[GUIDE]How to installed and run Windows 7 64bit on NVMe Hard Disk in a virtual machine

Demo Diagram



Preconditions

The following operations may lead to failure to boot or other abnormal situations, please back up the registry in advance, create snapshots and establish system restore points and other operations. for recovery at any time.

Virtual machines allow snapshots to be taken while they are powered off or running.

Download and unzip either.

Ⅰ.Convert IDE/SCSI/SATA Hard Disk to NVMe Hard Disk

A.Add NVMe driver

  1. Add Microsoft NVMe patch: KB2990941-v3+KB3087873-v2

    Open Dism++ → “Updates” → “Add” → select “KB2990941-v3.msu” and “KB3087873-v2.msu” → “open”.

  2. Add general NVMe program

    Open Dism++ → “Drivers” → “Add” → select driver patch folder (The 6 downloaded) → “select folder”.

B.Add NVMe controller

Method 1). Passively add NVMe controller (take “Phison NVMe driver” as an example)

step:

  1. Open Dism++ → “Toolkit” → “God Mode” → enter “regedit.exe” → “ok” → in the pop-up regedit → “File” → “Import” → select “CloseNVMeService.reg” → “Open”.
    CloseNVMeService.rar (276 Bytes)

  2. Shut down the virtual machine, add an NVMe type disk (any size).

  3. After the virtual machine is powered on and enters the system → open “Device Manager” → “Storage Controller” → “Phison NVMe 1.2 Storport Miniport” (with a yellow exclamation mark) → right click → “Browse my computer for drivers” → “Choose from the list of device drivers on your computer” → Double-click the “Phison NVMe 1.2 Storport Miniport” option → Prompt to update the driver successfully.

  4. Change the hard disk type from (IDE/SCSI/SATA) format to NVMe type, and the logo will not be stuck after booting.

notes:

  • Select “Standard NVM Express Controller” in step 3 (1.b.1.3), which is Microsoft’s default NVMe driver.
  • The method of step 3 (1.b.1.3) can switch to the NVMe driver you want, such as “Samsung NVMe driver v3.3.0.2003”.
  • You can use CrystalDiskMark.exe to test the performance of NVMe drivers from different manufacturers, and find out the NVMe driver that meets your best performance.

Method 2). Actively add NVMe controller (take “Phison NVMe driver” as an example)

step:

  1. Start the virtual machine, open Dism++ → “Toolkit” → “God Mode” → enter “regedit.exe” → “ok” → in the pop-up regedit → “File” → “Import” - > Select "Phison NVMe controller.reg
    " → “Open”.
    Phison NVMe controller.rar (643 Bytes)

  2. Shut down the virtual machine and change the hard disk type from (IDE/SCSI/SATA) format to NVMe type.

  3. Shut down and restart the virtual machine (if it successfully enters the system, it means it has been successfully installed).

  4. After the virtual machine boots into the system → open “Device Manager” → “Storage Controller” → “Phison NVMe 1.2 Storport Miniport” (with a yellow exclamation mark) → right click → “Browse my computer for drivers” → “Choose from the list of device drivers on your computer” → Double-click the “Phison NVMe 1.2 Storport Miniport” option → Prompt to update the driver successfully.

Ⅱ. Install win7x64-bit image in NVMe Hard Disk

Preconditions

Create a default Windows virtual machine (NVMe type disk,Windows 7 and later x64).

Install your win7x64-bit image in PE or the second system (open Dism++ → “Apply Image”).

A. Add NVMe driver in PE

Method 1) Dism++ add

step:

  1. Open Dism++ → “Updates” → “Add” → select “KB2990941-v3.msu” and “KB3087873-v2.msu” → “open”.

  2. Open Dism++ → “Drivers” → “Add” → select driver patch folder (The 6 downloaded) → “select folder”.

Method 2) Integrate the patch into the image

  1. useUpdatePack7R2source@simplix.info

    UpdatePack7R2.exe /S /FixOn /Silent /NVMe /NoSpace /WimFile=X:\install.wim /Index=1 /Optimize
    

B. Add NVMe and ACPI controllers in PE

  1. Execute the following command in cmd.exe(note the drive letter path of the system)
reg.exe load HKEY_LOCAL_MACHINE\PeToSystem "YourPath:\Windows\System32\config\SYSTEM"
  1. Double-click to execute “Phison Electronics Corporation In PE.reg”.
    Phison Electronics Corporation In PE.rar (780 Bytes)
  2. Shut down and restart the virtual machine,The OS installer will start normally。

notes:

  • When creating a new virtual machine,you can choose BIOS or UEFI boot mode,Pick Windows 7 and later x64 .

  • After the NVMe and ACPI controllers are added to the virtual machine, the Win7system will recognize the NVMe hard disk format. It will automatically complete the installation process and proceed smoothly to the OOBE stage.

Ⅲ. Supplementary instructions

  1. Q: Why is Win7stuck at the logo (clover) and does not move?

    A: In the virtual machine (current latest version VMware16), the main reason is that the NVMe hard disk format cannot be recognized. So after adding NVMe and ACPI controllers it won’t get stuck anymore.

    In physical machines, there are other factors. Such as CSM Support, graphics driver, secure boot, etc. KB5017361 can support Secure Boot (secure boot).

  2. Q: How to uninstall/delete the NVMe driver?

    A: Open Dism++ → “Drivers” → “Storage Controller” → select the driver you want to uninstall → “Delete”.

  3. Q: After adding the registry, it cannot be started normally, what should I do?

    A:

    1. If you created a snapshot, you can jump to the backup snapshot in the snapshot manager.
    2. If there is no snapshot (backup), select “Last Known Good Configuration Startup” when starting.
    3. If step 2 fails, please uninstall the relevant driver.

Ⅳ.References

Hi vm_t (and first post here so howdy all :). Thanks for the guide. Yet to try it out myself; just letting you know that your link to the ‘64bit MS NVMe Hotfixes for Win7x64’ needs fixing.

@vm_t
Do you really need to integrate everything (6 downloads)? Is not enough Hotfixes and Samsung driver? I just want to boot Win7 in VMware from virtual NVMe disk.

You are correct, the patch and the corresponding driver are one of them. For example, Samsung, Microsoft, Phison. If you install all of them, you can switch to the driver you want at will

I try boot my WinXP 64-bit in VMware on NVMe (WinXP 64-bit on a modern PC (ISO boot.wim + install.wim) - WinPE 3.1 no problem see NVMe disk and properly applying install.wim to disk but after restart WinXP with ported NVMe driver not boot and VM stuck on bootscreen aurora :thinking:

@Gelip
This thread and the Guide of the start post have been designed for Windows 7 and not for Windows XP.
To make it as clear as possible I have moved this thread into the Forum Category “Windows 7”