Windows Server & RDP8 min read•Last updated: •By SkyRain Cloud Team

How to Install Hyper-V on a Windows Dedicated Server and Create VMs

Hyper-V turns one Windows server into many: separate virtual machines for a web server, a database, a test environment or a Remote Desktop host, each with its own operating system. If you rent a dedicated server, being able to install Hyper-V and split the hardware yourself is often cheaper and more flexible than renting several VPS plans.

The installation is one command, but a remote server adds two traps: networking changes can cut off your connection, and Windows licensing for the virtual machines is easy to get wrong. This guide covers both, then creates a first VM with PowerShell.

Quick answer

On a dedicated server running Windows Server, check that virtualization is enabled in the BIOS, then run Install-WindowsFeature -Name Hyper-V -IncludeManagementTools -Restart. For VM networking with a single public IP, create an internal switch plus NAT (New-VMSwitch and New-NetNat) rather than an external switch, which can drop your remote connection. Create VMs with New-VM. Hyper-V normally cannot run inside a VPS, so use a dedicated server. Windows Server Standard covers two Windows VMs per fully licensed host, Datacenter unlimited.

Requirements: why a dedicated server

RequirementWhy it mattersHow to check
Physical server (bare metal)Hyper-V needs direct access to the CPU's virtualization features; most VPS platforms do not expose nested virtualizationUse a dedicated server
Intel VT-x with SLAT (EPT)Required by Hyper-V on Windows ServerRun systeminfo and read the Hyper-V Requirements section
Virtualization enabled in BIOSDisabled settings stop the role from workingCheck in the BIOS through the remote console
Enough RAM and diskEach VM gets its own memory and virtual disksPlan sizes before you start
Console access (iLO/IPMI)Recovery if networking changes cut you offSee what iLO is

Both processors in our dedicated lineup, the Xeon E5-2699 v4 and Xeon Platinum 8269CY, support the required virtualization features. Microsoft lists the full requirements in its Install the Hyper-V role on Windows Server guide.

Install Hyper-V – SkyRain Cloud bare metal servers in India

Step 1: Install Hyper-V

Open PowerShell as Administrator:

Install-WindowsFeature -Name Hyper-V -IncludeManagementTools -Restart

The server restarts twice while installing. Reconnect over RDP afterwards and confirm:

Get-WindowsFeature -Name Hyper-V
Get-VMHost | Select-Object LogicalProcessorCount, MemoryCapacity

Set default folders for VMs and virtual disks on your fastest storage:

Set-VMHost -VirtualHardDiskPath "D:\Hyper-V\Disks" -VirtualMachinePath "D:\Hyper-V\VMs"

Step 2: Set up VM networking safely

This is where remote installs go wrong. An external virtual switch binds to the physical network card and moves the host's IP settings onto a virtual adapter. On a remote server with one network card, that briefly drops your connection, and if the IP settings do not carry over, you stay disconnected. Have the iLO or IPMI console open before trying it.

Choose the design that matches your IP addresses:

DesignWhen to useRemote risk
Internal switch + NATOne public IP; VMs only need outbound internet, or you forward specific portsLow: the host's network is untouched
External switchEach VM gets its own public IP from your providerMedium: do it from the remote console
Routed setupAdditional IP addresses routed to your main IPLow to medium; needs routing configuration

Internal switch with NAT (recommended starting point)

New-VMSwitch -Name "NATSwitch" -SwitchType Internal
New-NetIPAddress -IPAddress 192.168.50.1 -PrefixLength 24 -InterfaceAlias "vEthernet (NATSwitch)"
New-NetNat -Name "VMNat" -InternalIPInterfaceAddressPrefix 192.168.50.0/24

Give each VM a static address such as 192.168.50.10 with gateway 192.168.50.1 and public DNS servers. To publish a service from a VM, forward a port on the host:

Add-NetNatStaticMapping -NatName "VMNat" -Protocol TCP -ExternalIPAddress 0.0.0.0 -ExternalPort 8080 -InternalIPAddress 192.168.50.10 -InternalPort 80

Step 3: Create your first VM

New-VM -Name "web01" -Generation 2 -MemoryStartupBytes 8GB `
  -NewVHDPath "D:\Hyper-V\Disks\web01.vhdx" -NewVHDSizeBytes 100GB -SwitchName "NATSwitch"
Set-VMProcessor -VMName "web01" -Count 4
Add-VMDvdDrive -VMName "web01" -Path "D:\ISO\ubuntu-server.iso"
Set-VMFirmware -VMName "web01" -FirstBootDevice (Get-VMDvdDrive -VMName "web01")
Start-VM -Name "web01"

Open the VM's console from Hyper-V Manager and install the operating system. For Linux guests on Generation 2 VMs, either use the Microsoft UEFI Certificate Authority Secure Boot template or turn Secure Boot off:

Set-VMFirmware -VMName "web01" -SecureBootTemplate MicrosoftUEFICertificateAuthority

Sizing VMs on a dual-socket server

  • Keep each VM inside one NUMA node when possible: on a 2× Xeon server, a VM with up to about 20 vCPUs and less than half the host's RAM fits in one socket. Our NUMA guide explains why this matters.
  • Leave memory for the host: reserve a few gigabytes for Windows itself.
  • Use fixed memory for databases; Dynamic Memory suits lighter VMs.
  • Put virtual disks on NVMe and avoid filling the volume above about 80%.

Windows licensing for Hyper-V guests

Linux guests need no Windows licence. For Windows guests, the host's Windows Server edition matters:

  • Windows Server Standard, with all physical cores licensed, covers the host plus two Windows Server VMs. More Windows VMs need additional Standard licences for all cores.
  • Windows Server Datacenter, with all cores licensed, covers unlimited Windows Server VMs on that host.
  • Remote Desktop users inside VMs still need RDS licensing; see RDS CAL licensing explained.

On a rented server, Windows licensing is usually supplied by the provider for a monthly fee. Ask the SkyRain Cloud team which Windows Server edition and licensing options suit your number of VMs before you build. If you are choosing a version, see Windows Server 2022 vs 2025, which also notes Hyper-V improvements in 2025.

Running Hyper-V day to day

  • Checkpoints are useful before risky changes, but delete them afterwards; long-lived checkpoints slow disks and fill space.
  • Back up VMs with a Hyper-V-aware tool or Windows Server Backup, and store copies off the host.
  • Patch the host on a schedule and set VMs to shut down or save cleanly when the host restarts (Set-VM -AutomaticStopAction ShutDown).
  • Monitor the host for memory pressure and disk latency, the two most common causes of slow VMs.

Why businesses choose SkyRain Cloud dedicated servers

Virtualization needs cores, memory and console access. SkyRain Cloud dedicated servers provide:

  • Indian data centers, Indian latency. Intel Xeon dedicated servers are hosted in Mumbai and Delhi, close to customers across India.
  • The whole machine is yours. 100% unshared hardware: no other tenants competing for CPU, memory or disk.
  • DDoS protection included on the network, so a flood aimed at your IP does not have to become your problem alone.
  • Full control. Root or Administrator access plus iLO/IPMI out-of-band management to reboot, reinstall or mount your own ISO.
  • Real support channels. 24/7 support tickets, WhatsApp and a Discord community, plus a public status page.
  • Simple billing. Monthly billing in rupees with UPI, net banking and cards.

Frequently Asked Questions

Can I install Hyper-V on a VPS?
Usually not. Most VPS platforms do not expose nested virtualization, so Hyper-V needs a dedicated (bare-metal) server.
What is the PowerShell command to install Hyper-V?
Install-WindowsFeature -Name Hyper-V -IncludeManagementTools -Restart, run in PowerShell as Administrator on Windows Server.
Why did I lose my connection when creating a virtual switch?
An external switch moves the host's network settings to a virtual adapter. On a remote server, create it from the iLO or IPMI console, or use an internal switch with NAT instead.
How many Windows VMs can I run with Windows Server Standard?
With all physical cores licensed, Standard covers two Windows Server VMs. Datacenter covers unlimited Windows Server VMs on that host.
Do Linux VMs on Hyper-V need a Windows licence?
No. Linux guests need no Windows licence; only the host and any Windows guests are licensed.
How many VMs can a dual Xeon server run?
It depends on their size. With 128 GB of RAM, you might run ten to twenty small VMs or a handful of large ones, keeping memory aside for the host.

Conclusion

Installing Hyper-V on a dedicated server takes one PowerShell command; doing it safely on a remote machine means planning networking first. Start with an internal switch and NAT, keep the iLO console handy for any external-switch changes, size VMs to fit within a NUMA node, and sort out Windows licensing before you create Windows guests. The result is a flexible private virtualization host for far less than the equivalent number of VPS plans.

To build your own Hyper-V host, see our Intel Xeon dedicated servers.

SkyRain Cloud Dedicated Server Plans

Unshared Intel Xeon bare-metal servers in Mumbai and Delhi data centers with 1 Gbps connectivity. Every plan includes iLO / IPMI out-of-band management, DDoS protection, Full root / Administrator access, Additional IPv4 addresses available and Billed monthly.

PlanCores / ThreadsRAMStorageNetworkPriceGood forBuy
Business
2× Intel Xeon E5-2699 v4 (Mumbai / Delhi)
44 / 88 (2.2 GHz base, 3.6 GHz turbo)128 GB DDR4 ECC1 TB NVMe SSD1 Gbps₹17,999/monthBusiness websites, stores, databases, ERP and many client sitesOrder
Enterprise
2× Intel Xeon Platinum 8269CY (Mumbai / Delhi)
52 / 104 (2.5 GHz base, 3.8 GHz turbo)128 GB DDR4 ECC1 TB NVMe SSD1 Gbps₹19,999/monthVirtualization hosts, large databases, SaaS and container platformsOrder
CustomMore RAM or storage, a second server for failover, or several servers for a cluster: quoted by the team.Clusters, failover pairs, unusual specsAsk

Prices are monthly in INR as listed on the SkyRain Cloud store (verified 2026-11-23). Live stock and final price are shown at checkout.

Instant UPI • ₹649/mo
Fast KVM Cloud Provisioning