Skip to content

How to Install the Hyper-V Role on Windows Server Print

  • 0

How to Install the Hyper-V Role on Windows Server

Applies to: Windows Server 2019, 2022 and 2025.

Hyper-V provides hardware-assisted virtualization. Confirm firmware support, storage design and management connectivity before enabling the role.

Hyper-V changes affect network and workload availability. Keep console access and tested VM backups. Visit networkmanager.info for managed Windows VPS services.

Prerequisites

  • Verify CPU virtualization and DEP in firmware.
  • Schedule a restart.
  • Confirm host networking and backup.
  • Do not install unrelated applications on the host.

Procedure

Step 1: Check prerequisites

Inspect system information and role state.

systeminfo.exe
Get-WindowsFeature Hyper-V

Step 2: Install Hyper-V

Add management tools.

Install-WindowsFeature Hyper-V -IncludeManagementTools -Restart

Step 3: Review services

After restart, confirm management service.

Get-Service vmms

Step 4: Set default paths

Choose dedicated VM and VHDX storage.

Set-VMHost -VirtualMachinePath 'D:\VMs' -VirtualHardDiskPath 'E:\VHDX'

Step 5: Add monitoring and backup

Protect host configuration and guest workloads.

Verification

Confirm role, service and host configuration.

Get-WindowsFeature Hyper-V
Get-Service vmms
Get-VMHost

Rollback

Migrate or shut down and export all VMs before Uninstall-WindowsFeature Hyper-V. A restart is required.

Operational notes

Nested virtualization depends on the physical or upstream virtualization platform.

Official references

Explore Netcloud24 Canada.


Was this answer helpful?

« Back