Blog

Methods to Set up Home windows Server 2022 on Hyper-V VM

by | Jul 4, 2024 | Gadgets

[ad_1]

Learn this information to discover ways to set up Home windows Server 2022 on a Hyper-V VM, rename the VM’s Home windows laptop title, and assign it an IP handle.

Step 1: Create the Hyper-V VM

Learn my information, Methods to Create Hyper-V vSwiches, VMs, and vNICs in Home windows 11 to discover ways to create VM, vSwiche, and vNICs for a Hyper-V VM.

Step 2: Set up Home windows Server 2022

In the event you shouldn’t have a Home windows Server 2022 ISO picture, obtain it earlier than continuing.

Earlier than putting in the OS, join the vNIC on the VM to the exterior digital change by working this command:

Get-VMNetworkAdapter -VMName IPMviSCSI | Join-VMNetworkAdapter -SwitchName HPV-vSwitch

Then, observe these steps to put in Home windows Server 2022 on the VM:

  1. Be aware the trail you saved the Home windows Server 2022 ISO picture
  2. Then, on the Hyper-V Host, open Hyper-V Supervisor, right-click the VM, IPMviSCSI, and choose Settings.
  3. Then, on the left pane, click on SCSI Controller, then DVD Drive > Add.
Install Windows Server 2022 on a Hyper-V VMInstall Windows Server 2022 on a Hyper-V VM

The brand new DVD Drive might be chosen.

  1. On the main points pane, choose Picture File and use the Browse button to open the Home windows Server 2022 ISO picture file – click on Apply whenever you end however don’t shut the VM’s Settings.
  1. Choose Firmware, then, choose DVD Drive and use the “Transfer up” button to make it the primary boot system – click on OK to use the modifications and shut the VM’s Settings.
Finally, select Firmware, then, select DVD Drive, use the Move up button to make it the first boot device, click OK to apply the changes and close the VM's SettingsFinally, select Firmware, then, select DVD Drive, use the Move up button to make it the first boot device, click OK to apply the changes and close the VM's Settings

Lastly, again within the Hyper-V Supervisor, right-click the VM and choose Join; then, begin the VM and set up the OS.

Earlier than you begin the VM, be able to click on any key to start out Home windows set up. I like to hook up with the VM earlier than I begin it so I’ve sufficient time to answer the immediate. Set up Home windows Server 2022 Customary (Desktop Expertise).

Finally, back in the Hyper-V Manager, right-click the VM and select Connect; then, start the VM and install the OSFinally, back in the Hyper-V Manager, right-click the VM and select Connect; then, start the VM and install the OS

Once you end putting in the OS, proceed to step 2 beneath.

Step 3: Rename VM and Assign an IP Deal with

Begin the VM and register, then, run the next instructions to assign the VM an IP handle, rename it, after which restart the VM:

#Assign a static IP handle to the VM's NIC

Get-NetAdapter | New-NetIPAddress -IPAddress 192.168.0.154 -PrefixLength 24 -DefaultGateway 192.168.0.1

#Assign the DNS server to the NIC

Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses 192.168.0.80

#Change the pc title of the VM and restart it

Rename-Pc -NewName IPMviSCSI -Restart

When the VM restarts, it might be a good suggestion to examine for updates by way of the Home windows Replace Settings.

Conclusion

Putting in Home windows Server 2022 on a Hyper-V VM is surprisingly simpler than putting in Home windows 11 on a Hyper-V VM. For instance, the Home windows 11 TPM necessities are usually not wanted for Home windows Server 2022.

Anyway, I hope you discovered this information enlightening! Let me know by responding to the “Was this web page useful?” beneath. You may additionally discover extra articles in our “Associated Articles” part beneath very useful – why not examine them out?

[ad_2]

Laubeau Jac Lawrance

Laubeau Jac Lawrance

Your content goes here. Edit or remove this text inline or in the module Content settings. You can also style every aspect of this content in the module Design settings and even apply custom CSS to this text in the module Advanced settings.