Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

Generation 2

Direct answer

Generation 2 removes much of the legacy emulated hardware model and uses UEFI with features such as Secure Boot, SCSI boot and modern virtual devices.

When to use this

Use Generation 2 as the default choice for modern supported guests unless the operating system, boot method or existing virtual disk requires Generation 1.

First 30 seconds

1. UEFI, Secure Boot (template per guest OS), SCSI boot, vTPM.

2. Linux guests: Secure Boot template "Microsoft UEFI Certificate Authority".

3. Boot failure → firmware boot order / Secure Boot template.

4. Get-VMFirmware <vm>.

5. Default for modern guests.

Operational verification

Gen 2 VM → UEFI → Secure Boot → SCSI boot

Evidence · next step

Validate guest services, integration components and application behavior after boot.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

It does not show workload health or all security controls are effective.

Next check: Validate guest services, integration components and application behavior after boot.

Platform / version applicability
Windows Server virtualization and clustering
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows Server virtualization and clustering
Scope / prerequisiteUse Generation 2 as the default choice for modern supported guests unless the operating system, boot method or existing…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

Guest support → Generation 2 choice → UEFI/Secure Boot policy → synthetic devices/SCSI boot → guest boot → workload

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Generation 2 is recommended for supported modern guests.
  • Secure Boot is available and enabled by default for many Generation 2 scenarios, but guest-specific templates/settings matter.
  • VM generation cannot be changed after creation through ordinary configuration.
  • Generation 2 compatibility must be checked for the exact guest OS and boot method.
Key checks
  • Get-VM — VMs and state
  • Get-VMHost — host settings
  • Get-VMSwitch — virtual switches
  • Get-VMNetworkAdapter -VMName <vm> — vNICs, switch, VLAN
  • Get-VMHardDiskDrive -VMName <vm> — attached disks
  • Get-WinEvent -LogName Microsoft-Windows-Hyper-V-VMMS-Admin -MaxEvents 30 — VMMS events
ReferenceWhat it is1 section · depth on demand

Generation 2 features

  • UEFI with Secure Boot (Microsoft UEFI CA template for Linux).
  • vTPM (needed for Windows 11, BitLocker in the VM).
  • Boot from SCSI disks and synthetic NICs (PXE).
  • Online resize and hot-add of SCSI disks and memory.
  • VHDX required (no VHD boot).
New-VM -Name w11 -Generation 2 -MemoryStartupBytes 4GB
Set-VMFirmware -VMName w11 -SecureBootTemplate MicrosoftWindows
Enable-VMTPM -VMName w11
ReferenceImportant terms & boundaries2 sections · depth on demand

What the evidence shows

Secure Boot enabled or Generation 2 selected shows firmware policy/configuration, not that the guest OS or workload is trustworthy or healthy.

Current Microsoft guidance recommends Generation 2 where supported; feature compatibility still depends on guest OS and host capabilities.

In depth

Generation 2 VMs: UEFI, Secure Boot, vTPM, SCSI boot, hot-add disks and NICs, larger boot disks, faster boot.

New-VM -Name w11 -Generation 2 -MemoryStartupBytes 8GB
Set-VMFirmware w11 -EnableSecureBoot On -SecureBootTemplate MicrosoftWindows
Set-VMKeyProtector -VMName w11 -NewLocalKeyProtector; Enable-VMTPM -VMName w11
Set-VMFirmware lnx01 -SecureBootTemplate MicrosoftUEFICertificateAuthority      # Linux guests

Windows 11 guests require Gen 2 with vTPM and Secure Boot.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows Server virtualization and clustering current

Authoritative/upstream documentation reviewed for bounded claims in Hyper-V → Generation 2. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/ · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
generation 2 hyper-vgen 2 vmhyper-v uefihyper-v secure boot
Embedded reference data

Quick lookup tables

Hyper-V → Generation 2 reference map

Fast lookup boundaries for Hyper-V → Generation 2.

BoundaryMeaningEvidence limit
FirmwareUEFI virtual firmwareDoes not by itself prove Secure Boot policy correct
Secure BootBoot-chain signature policy can be enforcedDoes not prove guest/application uncompromised
Boot storageSupports SCSI VHDX bootDisk must still contain compatible boot layout
Generation choiceModern default where supportedCannot be switched in-place later
Confirmation

Confirm action

Continue?