-
Download/Copy the Windows Server 2022 ISO to the Hyper-V host.
-
Create a new VM as shown below:
-
Set the VM Name.
-
Select Gen 1.
-
Set the Memory.
-
Select a network.
-
Set the disk.
-
Select the windows server 2022 iso.
-
Complete the setup.
-
Start the VM.
-
Once the VM starts, complete the OS setup process and install any apps as required.
-
Open command prompt as administrator and run the following command to sysprep:
Command:
C:\Windows\System32\Sysprep\sysprep.exe /oobe /generalize /shutdown
(Once the sysprep has completed, the VM will be shutdown)
-
In Morpheus, to create the image, navigate to Library >> Virtual Images >> Add >> VHD.
-
Set the following setting as shown:
-
Click Add File and upload the VHDX file that was generated when we created the VM in step 7.
-
Once the VHDX file has been uploaded to Morpheus, click on save changes.
-
Create a node type with the image created in the previous step.