2026 Windows Server 2025 Hyper-V: Which Generation for a New VM?

Microsoft documents two Hyper-V VM generations, and its selection guide recommends considering Generation 2 when compatibility allows (Microsoft’s generation selection guide). For most new VMs on Windows Server 2025, choose Generation 2. Choose Generation 1 only when the guest OS, an existing disk, or a required boot method has a verified compatibility limit. Decide before creation: Hyper-V does not directly change a VM’s generation afterward.

This guide is for administrators creating Windows or Linux guests on a Windows Server 2025 Hyper-V host.
If you are importing a VHD or VHDX, check its boot configuration before creating the VM.
If a workload needs Secure Boot or a particular virtual device, verify that exact guest and feature combination first.

Generation 2 wins for new guests, unless compatibility says otherwise

Generation is not a performance setting. It determines the virtual hardware and firmware presented to the guest. Microsoft describes Generation 1 as using legacy BIOS and Generation 2 as using UEFI. Generation 2 also supports features such as Secure Boot, while some legacy devices and boot methods are specific to Generation 1 (Microsoft’s Hyper-V feature terminology).

That difference makes Generation 2 the sensible default for a fresh install that supports UEFI. But “newer” does not automatically mean “compatible.” A guest OS may support one generation but not a feature you intend to use in that generation. Confirm both the OS and the required function; do not infer support for every release from a general statement about Windows or Linux.

Use this comparison as a first filter. The fit labels are an editorial decision aid based on Microsoft’s documented generation differences, not a benchmark or a promise about application performance.

Decision dimension Generation 1 Generation 2
Firmware and boot model Legacy BIOS; choose when a guest or boot workflow requires it. Microsoft boot-mode overview UEFI; preferred for new guests when the OS supports it.
Security features Does not provide the Generation 2 Secure Boot capability. Supports Secure Boot and Generation 2 security features; verify the guest and configuration.
Existing system disk More suitable when an installed guest depends on legacy BIOS boot. Suitable when the installed guest and its boot setup support UEFI. A VHDX extension alone does not establish this.
Virtual devices Includes legacy device emulation for compatibility needs. Uses a more modern virtual-device model; confirm each required device in Microsoft’s compatibility information.
General choice A compatibility fallback, not the default for every legacy-looking workload. Best fit for most compatible new installations.

Microsoft’s feature compatibility table by generation and guest is more useful than a broad “Windows supported” or “Linux supported” assumption. Check the exact guest and feature rows, especially if deployment depends on a specific integration or virtual device.

Guest OS support is not the same as feature support

Start with the guest operating system version you intend to install. Microsoft maintains separate support information for Windows guests and Linux and FreeBSD guests. Use those lists to confirm that your planned guest is supported on the Hyper-V host.

Then check the function the workload needs. A supported Linux guest, for example, does not automatically mean that every Generation 2 security setting or virtual device is supported for that distribution and release. For Ubuntu guests, Microsoft publishes a more specific Ubuntu feature support table. Use it when Ubuntu is the planned guest rather than generalizing from a different Linux distribution.

A useful decision rubric is:

These labels rate compatibility fit only. They do not rank CPU performance, memory use, or application speed.

Boot mode and imported disks can decide the generation

A new OS installation and an imported system disk are different cases. With a fresh installation, the VM firmware and installer can be selected together. With an existing VHD or VHDX, the installed operating system already has a boot configuration. The file extension does not tell you whether that installation expects UEFI or legacy BIOS.

Before importing a system disk, establish how the source VM or physical system was installed. Check its boot configuration and partition layout, and confirm that the intended guest version supports the target generation. Microsoft’s explanation of UEFI and legacy BIOS boot modes can help distinguish the two models.

Do not treat changing a VM option as a safe conversion procedure. Hyper-V does not directly switch an existing VM between generations, and changing firmware assumptions does not rewrite an operating system’s boot setup. If the source depends on legacy BIOS, keep Generation 1 unless a tested migration plan changes the guest installation and proves that it boots correctly under UEFI.

Network boot needs the same care. Confirm whether the deployment process requires a legacy network adapter or supports the Generation 2 network devices. Check the exact device and guest combination in Microsoft’s compatibility table rather than assuming that a familiar PXE workflow will behave identically in both generations.

Before production import: Work from a copy of the source disk. Keep the original unchanged until the replacement VM has booted, the application has passed its own checks, and the rollback path is understood.

Secure Boot and virtual devices need guest-specific checks

Generation 2 supports Secure Boot, but enabling it is not a complete security plan. It does not replace guest patching, access controls, backups, or network restrictions. Treat it as one control whose compatibility must be verified.

For a Windows guest, check the documented support and select a compatible Secure Boot configuration. For Linux, check the distribution-specific guidance. Microsoft’s Generation 2 security features documentation describes the available options, including Secure Boot and virtual TPM. Its Ubuntu support information identifies supported Ubuntu features and relevant Secure Boot settings.

Then audit the devices the workload actually needs. A VM may depend on a particular storage controller, network adapter, DVD boot path, or legacy device. Generation 1 and Generation 2 do not present identical virtual hardware. Check the generation-and-guest feature matrix for each requirement. If the table does not confirm it, test in a non-production VM before committing the design.

Do not select Generation 1 merely because an old procedure mentions it. First identify the actual dependency: is it the guest installation’s boot mode, a specific emulated device, or a deployment tool that expects a legacy adapter? A clearly stated dependency gives you a testable reason to use Generation 1. An inherited setting without a documented need does not.

A pre-creation workflow that prevents a generation dead end

Use Hyper-V Manager for the initial review. The New Virtual Machine Wizard asks you to choose a generation during VM creation; treat that choice as a design decision, not a setting to revisit after deployment. Keep a short record of the checks so another administrator can understand why the VM uses that generation.

  1. Identify the exact guest release. Record the intended Windows or Linux edition and release. In Microsoft Learn, open the relevant guest support list and confirm that the host and guest combination is supported.

  2. Decide whether this is a clean install or an import. For a new install, confirm that the installation media and OS support UEFI if Generation 2 is planned. For an imported system disk, ask the source administrator how the OS was installed and verify its boot mode. Do not assume that a VHDX is UEFI-ready.

  3. List boot and deployment dependencies. Note whether the VM needs legacy BIOS, network boot, a legacy network adapter, or another specific device. Check those requirements against Microsoft’s generation compatibility table. If a deployment system is involved, test its boot path in a temporary VM.

  4. Record security requirements. Decide whether Secure Boot or virtual TPM is required by policy or the guest. Confirm that the exact guest supports the intended option, then select the appropriate Secure Boot template where required. Do not enable a setting based only on the VM generation label.

  5. Choose the generation in Hyper-V Manager. Start the New Virtual Machine Wizard and select Generation 2 for a compatible clean installation. Select Generation 1 only when the checks show a real compatibility constraint. Save the guest version, boot mode, required features, and reason for the choice with the deployment notes.

  6. Test the VM before production use. Boot the installer or a copy of the imported disk. Confirm that the OS starts, required devices appear, and the application’s own startup checks pass. For an import, keep the source disk untouched until the replacement is verified.

  7. Plan a replacement if the generation must change. Since direct generation conversion is unavailable, assess a new VM, application and data migration, a separate backup, and a rollback route. Test the replacement before redirecting users or production traffic. Do not describe this as a one-click conversion.

If Hyper-V will be hosted on a rented physical server, evaluate host sizing separately from guest generation. The generation choice does not determine how many CPU cores or how much memory a workload needs. For host planning, see our guide to dedicated server core sizing. If you are comparing a recurring server commitment, review the available billing cycle options; billing terms do not change the guest compatibility decision.

A decision table for the final selection

Use the second table as the final go/no-go check. A “yes” in the Generation 2 column means the documented requirements support that choice, not that every guest or application will work without testing.

Check before creation Generation 2 decision When Generation 1 may fit
Guest OS version appears in Microsoft’s support information Continue if the exact version and required features are supported. Consider it only if the documented support or a verified guest constraint requires legacy behavior.
Fresh install or existing system disk Choose it for a clean install that supports UEFI; verify imported installations first. Consider it when an existing installation depends on legacy BIOS and will not be rebuilt or migrated.
Required boot method Confirm UEFI and the intended network-boot path work for the guest and deployment process. Use it when a required legacy boot method or device is confirmed incompatible with Generation 2.
Secure Boot or virtual TPM Verify the exact guest, security setting, and template in Microsoft’s documentation. Do not use it as a workaround without checking what security requirements the guest can meet.
Required virtual devices Check the generation-and-guest matrix for every device the workload needs. Consider it only for a specific legacy device requirement that cannot be met otherwise.
Unresolved compatibility question Pause creation and test a copy or temporary VM. Do not select it simply to avoid investigating an unknown.

The practical rule is simple: new VM, supported UEFI guest, and no legacy dependency means Generation 2. A confirmed limitation in the guest, imported disk, boot method, or required device is a reason to consider Generation 1. Save the evidence before creating the VM, because you cannot directly change its generation later.

FAQ

Which generation should I choose for a new Windows Server 2025 Hyper-V VM?

Choose Generation 2 for a new VM when the guest operating system and its boot configuration support UEFI. It provides the modern virtual firmware and supports features such as Secure Boot. Choose Generation 1 only when a documented compatibility need requires its legacy BIOS or emulated devices. Check Microsoft’s guest and feature compatibility tables for the exact OS version and feature before creating the VM.

Can I change a Hyper-V VM from Generation 1 to Generation 2 after creation?

No. Hyper-V does not provide a direct setting to change a VM’s generation after creation. If a different generation is required, plan a new VM and assess how to move its operating system, applications, and data. Make a separate backup, test the replacement, and keep a rollback path before switching production traffic or users.

How can I tell whether an existing VHDX is compatible with Generation 2?

Inspect how the installed guest was configured to boot, rather than relying on the VHDX file extension. Determine whether the disk contains a UEFI-compatible system installation and whether its boot configuration matches Generation 2 firmware. Test a copy in a non-production VM first. If the guest was installed for legacy BIOS, do not assume changing VM settings will convert it safely.

What Secure Boot template should I use for a Linux guest?

Check Microsoft’s compatibility information for the exact Linux distribution and release, then select the Secure Boot template that the guest supports. Some Linux distributions require the Microsoft UEFI Certificate Authority template rather than the default Windows template. If the guest does not support the selected configuration, troubleshoot that compatibility before deployment; turning Secure Boot off should be a deliberate, documented exception.

If the workload needs a dedicated host for sustained Hyper-V use, compare that requirement with the trade-offs of a shared VM: neighboring workloads can affect available resources, CPU allocation may be shared, and bandwidth or traffic terms vary by provider. Those limits may be acceptable for a light or temporary workload. When isolation and predictable control over a long-running host matter more, renting an HttpAmd dedicated AMD physical server is the better fit to evaluate. Check the available Windows Server options and licensing terms before ordering; the host choice does not remove the need to validate guest generation, licensing, backups, and migration plans.

Frequently asked questions

For a new Hyper-V VM on Windows Server 2025, should I choose Generation 1 or Generation 2?

Choose Generation 2 for a new VM when the guest operating system and its boot configuration support UEFI. It provides the modern virtual firmware and supports features such as Secure Boot. Choose Generation 1 only when a documented compatibility need requires its legacy BIOS or emulated devices. Check Microsoft's guest and feature compatibility tables for the exact OS version and feature before creating the VM.

Can I change a Hyper-V VM from Generation 1 to Generation 2 after creating it?

No. Hyper-V does not provide a direct setting to change a VM's generation after creation. If a different generation is required, plan a new VM and assess how to move its operating system, applications, and data. Make a separate backup, test the replacement, and keep a rollback path before switching production traffic or users.

How do I check whether an existing VHDX will boot in a Generation 2 VM?

Inspect how the installed guest was configured to boot, rather than relying on the VHDX file extension. Determine whether the disk contains a UEFI-compatible system installation and whether its boot configuration matches Generation 2 firmware. Test a copy in a non-production VM first. If the guest was installed for legacy BIOS, do not assume changing VM settings will convert it safely.

What Secure Boot settings should I check for a Linux guest on Hyper-V Generation 2?

Check the Microsoft compatibility information for the exact Linux distribution and release, then select the Secure Boot template that the guest supports. Some Linux distributions require the Microsoft UEFI Certificate Authority template rather than the default Windows template. If the guest does not support the selected configuration, troubleshoot that compatibility before deployment; turning Secure Boot off should be a deliberate, documented exception.

Further reading

Build Your Virtualization Host with HttpAmd

Choose a dedicated 32-core, 64-thread server with 128GB or 256GB of ECC memory for your planned workloads.

Review the server specifications

Compare the memory, direct-attached NVMe, bandwidth, and IPv4 specifications, then confirm the amount due for the current billing period on the configuration page.