What is Microsoft Hyper-V?

What is Microsoft Hyper-V?

Hyper-V is Microsoft’s native Type 1 hypervisor that enables virtualization on Windows platforms. It's widely used in both enterprise and SMB environments, particularly where Microsoft infrastructure (e.g., Windows Server, Active Directory, System Center) is already in place.


Article content

🧩 Key Features of Hyper-V

🖥️ 1. Virtual Machine Creation & Management

Hyper-V allows you to create and manage virtual machines that run Windows, Linux, and FreeBSD as guest operating systems.

Can run on:

  • Windows Server (2012 R2 – 2025)
  • Windows 10/11 Pro and Enterprise editions




🌐 2. Virtual Switch Manager

Enables VMs to connect to external, internal, or private networks by creating virtual switches. You can also set VLAN IDs, enable MAC spoofing, and more for advanced networking.

Use case:

  • Connect VMs to the internet (external switch)
  • Isolate VMs internally (private/internal switch)




🔄 3. Live Migration

Allows moving a running VM from one Hyper-V host to another with no downtime, preserving the state, memory, and network connections.

Can be used in:

  • Windows Server with shared storage
  • Failover Clustering environments




🧠 4. Dynamic Memory

Automatically allocates and reclaims RAM for VMs based on demand, improving memory efficiency on the host.

Benefit:

  • More VMs on limited physical memory
  • Adapts to workload changes in real-time




📸 5. Checkpoints (Snapshots)

Take a snapshot of a VM’s state (RAM, disk, and configuration) so you can revert to it later — useful for testing or before updates.

Types:

  • Standard Checkpoint
  • Production Checkpoint (uses backup tech for app-consistent snapshots)




🧬 6. Nested Virtualization

Allows you to run Hyper-V inside a VM — great for testing labs, training, or running containers in VMs (like Docker with Hyper-V backend).

Requirements:

  • Intel VT-x / AMD-V
  • Supported on Gen 2 VMs with Windows 10/Server 2016 or higher




🛡️ 7. Shielded VMs

Protect VMs from unauthorized access by encrypting data and enforcing secure boot. Uses TPM and Host Guardian Service (HGS).

Available on:

  • Windows Server Datacenter edition only
  • Designed for multi-tenant environments




📡 8. Virtual SAN Manager

Allows you to create and manage Virtual Fibre Channel SANs so VMs can directly access physical Fibre Channel SAN storage using pass-through HBAs.

Use case:

  • VMs that require direct SAN access for high-performance workloads
  • Available only in Windows Server editions




📁 9. Storage Live Migration

Move the virtual hard disk (VHD/VHDX) of a running VM to another storage location without downtime.

Supports:

  • Local → Shared
  • Shared → Local
  • Different volumes or SMB shares




🔐 10. Secure Boot & TPM Support

Uses UEFI Secure Boot to prevent unauthorized OS loading and virtual TPM to enable features like BitLocker inside VMs.

Security benefit:

  • Protect VMs from rootkits
  • Required for certain guest OS features like Windows Hello, BitLocker

⚙️ Configuration Guide for Each Feature




🖥️ 1. Virtual Machine Creation & Management

Steps to Configure:

  1. Open Hyper-V Manager.
  2. Click "New > Virtual Machine" from the right pane.
  3. Follow the wizard:

✅ Supports: Windows, Linux, FreeBSD ✅ Gen 2 VMs support Secure Boot and faster booting


Article content


Article content


Article content


Article content


Article content


Article content


Article content


🌐 2. Virtual Switch Manager

Steps to Configure:

  1. In Hyper-V Manager, click "Virtual Switch Manager" (right pane).
  2. Choose New virtual network switch:
  3. Set a name and VLAN ID (optional).
  4. Click Apply and OK.

🌐 Hyper-V Virtual Switch Types


External

  • Connects VMs to the physical network via the host's physical NIC. VMs get access to the internet and LAN.
  • Used when VMs need internet or LAN access, or to communicate with other devices outside the host.

Internal

  • Connects VMs only to each other and to the host. No external network access.
  • Used for host ↔ VM communication, isolated from external traffic.

Private

  • Connects VMs only to each other, not even to the host.
  • Used for isolated VM-to-VM networks, like test labs or secure zones.

✅ Add the switch to VMs via VM Settings > Network Adapter.



Article content


Article content

🔄 3. Live Migration

Steps to Configure:

  1. Open Hyper-V Settings on both source and destination hosts.
  2. Under Live Migrations, check:
  3. Ensure VM storage is on shared storage or use Storage Live Migration.
  4. Right-click VM → MoveLive Migration → follow wizard.

✅ Requires same processor family and network connectivity.


Article content


Article content


Article content


Article content


Article content


Article content


Article content


Article content



Article content


Article content


Article content

📝 Notes:

  • Both source and destination Hyper-V hosts must be joined to the same domain.
  • If you're only using Workgroup-based hosts, Live Migration will not work.
  • Consider setting up a test domain if you're in a lab or learning environment (e.g., using Windows Server with AD DS role).


Article content


🧠 4. Dynamic Memory

Steps to Configure:

  1. Right-click the VM → SettingsMemory.
  2. Enable Dynamic Memory.
  3. Set:
  4. Apply changes and start VM.

✅ Use on supported guest OS (Windows Server, some Linux distros).




📸 5. Checkpoints (Snapshots)

Steps to Configure:

  1. Right-click the running VM → Checkpoint.
  2. To manage:

✅ Configure default checkpoint type in VM Settings → Checkpoints.


Article content
Article content
Article content


🧬 6. Nested Virtualization

Steps to Enable:

  1. Power off the VM.

Open PowerShell (on Hyper-V host): powershell CopyEdit Set-VMProcessor -VMName "YourVM" -ExposeVirtualizationExtensions $true

  1. Start the VM and install Hyper-V inside it (if needed).

✅ Use only on Generation 2 VMs ✅ Must have SLAT-enabled CPU




🛡️ 7. Shielded VMs (Windows Server only)

Steps to Configure:

  1. Deploy Host Guardian Service (HGS).
  2. Create a shielded VM template using Shielding Data File.
  3. Enable Shielding in VM Settings.
  4. Configure TPM and Secure Boot for the VM.

✅ Only available in Datacenter Edition of Windows Server. ✅ Ideal for secure multi-tenant environments.



📡 8. Virtual SAN Manager

Steps to Configure:

  1. In Hyper-V Manager, click Virtual SAN Manager.
  2. Click Create → choose Fibre Channel SAN.
  3. Enter a name, select Fibre Channel HBA.
  4. Apply and save.

Then:

  • Add Fibre Channel Adapter in VM → Settings → Add Hardware → Fibre Channel Adapter → Select created vSAN.

✅ Requires physical Fibre Channel HBA on the host.


Article content


📁 9. Storage Live Migration

Steps to Perform:

  1. Right-click the running VM → Move.
  2. Choose:
  3. Pick new storage location (local or SMB path).
  4. Complete wizard.

✅ No downtime. Supports VHD and VHDX formats.




🔐 10. Secure Boot & TPM (vTPM)

Steps to Enable:

  1. VM must be Generation 2.
  2. Right-click VM → SettingsSecurity.
  3. Enable:
  4. Start VM.

✅ Required for features like BitLocker, Windows Hello inside the VM.

Hyper-V's live migration capabilities truly streamline data center operations and minimize downtime. Have you explored how Azure Stack can complement on-prem virtualization for hybrid cloud strategies?

Like
Reply

To view or add a comment, sign in

More articles by Dulaj Chamikara

Others also viewed

Explore content categories