Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

Generation 2 VM: Set up a HyperV VM through PXE boot

Posted on 19/01/202017/08/2026 Christian By Christian No Comments on Generation 2 VM: Set up a HyperV VM through PXE boot
  1. Home
  2. Virtualization
  3. Generation 2 VM: Set up a HyperV VM through PXE boot
Diagram illustrating the initialization process of a Generation 2 Virtual Machine in Hyper-V, including steps like UEFI initialization, loading SCSI controller driver, and operating system initialization, alongside a Windows logo and the text 'TechDirectArchive'.

A preboot execution environment (commonly known as PXE) is used to boot a device or virtual machine over a network. You can use PXE to achieve the following scenarios and this is used to remotely install a guest operating system over a network without needing the operating system installation media. In this article, I will show you how to create a Generation 2 VM: Set up a HyperV VM through PXE boot. See the following guide on how to set up a VM via PXE boot on a Generation 1 VM and how to deploy images to computers or virtual machines using WDS.

Note: When configuring with UEFI, a machine will use the bootx64wdsmgfw.efi on the WDS server when starting the boot. A legacy boot will use bootx64wdsnbp.com. You may want to see Why does the legacy PXE not does work on Generation 2 VM, and How to run Windows 11 on HyperV.

Virtual Machines Generations on HyperV

Hyper-V currently has two generations of VM hardware which are as follows;

  • Generation 1: These VMs have a legacy version of Hyper-V, and have a little bit of overhead when it comes to using PXE boot because it uses the legacy BIOS.
  • Generation 2: Hyper-V machine is a UEFI-based VMs.

The generation of the Hyper-V virtual machine matters. This is because PXE uses different boot files depending on if the machine boots either using Legacy BIOS or UEFI.

It is recommended to use Generation 2  VMs, and if you do not feel the need to. This could be because you have not yet enabled UEFI in your environment. See the article on why you should create generation 1 or 2 VM.

Generation 2 VM Installation

Please follow the installation steps described below. In the Installation Option. Select Install an Operating System later and click on Next or Finish.

Screenshot of the Installation Options step in a New Virtual Machine Wizard, showing options to install an operating system now, from a bootable image file, or from a network-based installation server.

Note: When you click on next. It will show you the summary screen of the VM Installation, next click on finish Hardware configuration to support PXE. Please see “Enable HyperV on Windows: How to install Windows 11 on HyperV“.

Ensure you have your network at the top. Please see

Screenshot of a hardware configuration interface showing options for Firmware, Security, Memory, and Processor settings, with a focus on boot order for Network Adapter.

Ensure under Network Adapter. Under Advanced features, the checkbox is selected for Protected Network (This absolutely depends on your environment need).

A screenshot of a virtual machine management interface displaying various hardware settings including DHCP guard, router guard, protected network, and port mirroring options.

See how this is done on Generation 1 Hyper-V. Note: It depends on your environment. You have to set a Static MAC address to enable the VM search for the WDS server on the network. Please see Windows deployment cannot continue, the operating system is missing via MDT deployment.

Now connect to the VM on HyperV

Right-click on the selected VM, and click on connect.

Boot screen displaying 'Start PXE over IPv4' with Hyper-V logo

When this process is completed, deployment success will be displayed as shown below.

Deployment summary window displaying 'Success' message.

FAQ on Generations of VM on HyperV

Can I convert a Generation 1 VM to a Generation 2 VM or vice versa?

Unfortunately, you cannot directly convert a VM from one generation to another within Hyper-V. To switch VM generations, you would need to create a new VM of the desired generation and manually migrate the data and configurations from the old VM to the new one.

Are there any compatibility considerations when choosing a VM generation?

Yes, compatibility is a crucial factor when creating a VM on HyperV. Generation 1 VMs are best suited for older operating systems where backward compatibility is essential. On the other hand, Generation 2 VMs are ideal for modern operating systems and offer performance and security advantages. Be aware that some features or settings available in Generation 1 VMs may not be present in Generation 2 VMs and vice versa.

I hope you found this blog post helpful on how to create a Generation 2 VM: Set up a HyperV VM through PXE boot. Please let me know in the comment session if you have any questions.

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
Virtualization Tags:configure Generation 2 VM Hyper-V, create Generation 2 VM Hyper-V, Generation 2 VM set up a Hyper-V VM through PXE boot, Hyper-V Generation 2 VM PXE boot, Hyper-V VM network boot setup, Hyper-VM VMs, hyperV, Microsoft Windows, preboot execution environment, PXE, PXE boot Hyper-V virtual machine, Set up Generation 2 VM, UEFI, Virtual Machines Generations, VM creation, Windows Server 2016

Post navigation

Previous Post: How to disable Windows Hardware Power Button
Next Post: Why does the legacy PXE not does work on Generation 2 VM

Related Posts

  • HyperV
    Unable to PXE boot a HyperV VM: F12 key does not work anymore Virtualization
  • SCVMM setup Error 10421 e1773750310917
    SCVMM setup Error 10421: Fix VMM Service Account conflict Virtualization
  • VMware Tools
    How to upgrade VMware Tools in vSphere Virtualization
  • Entire VM restore
    Restore VM to Original location using Veeam Entire VM restore Backup
  • 147913 228396 228395 rc
    Fix No bootable media found system halted: Unable to PXE boot Virtualization
  • Azure Local New Policy fix
    How to Resolve New WDAC Policy Issues in Azure Stack Virtualization

More Related Articles

sandbox How to Configure Windows Sandbox Virtualization
hero windowsserver hyperv scaled Why does the legacy PXE not does work on Generation 2 VM Virtualization
XCP ng installation and VM creation A-Z of XCP-ng and Xen Orchestra setup and VM Creation Virtualization
Failedcluster Failover Cluster Manager failed while managing one or more clusters, the error was unable to determine if the computer exists in the domain Virtualization
HyperV 1 An error occurred while attempting to connect to the server: Check if the Virtual Machine Management service is running or you are not authorized to connect to this server Virtualization
screenshot 2020 02 23 at 10.50.09 Perform Pleasant Password Self-serve Reset using the “link” Virtualization

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

vexpert-badge-stars-5

Virtual Background

VEEAMLEGEND

Categories

Top 30 Sysadmin blog

veeaam100

Veeam Vanguard

  • Machine translation software min
    Self-hosted translator: How to install and uninstall SYSTRAN 6 translator on Windows Security | Vulnerability Scans and Assessment
  • How to determine Active Directory Site Name
    How to determine Active Directory Site Name Network | Monitoring
  • WhatsApp
    How to retrieve deleted WhatsApp messages on iPhone JIRA|Confluence|Apps
  • fjkjcvbnm
    How to enable Enhanced Networking Adapter (ENA) on Windows AWS/Azure/OpenShift
  • image 30
    How to Fix “Insufficient System Resources Exist to Complete the Requested Service” error Windows
  • windows 10 2018 insider wallpaper
    How to create an Environment variables in Windows Windows
  • DNS
    Domain Name System: How to create a DNS record Windows Server
  • cloudqueryfeature
    How to Manage Cloud Assets in AWS with CloudQuery AWS/Azure/OpenShift

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,746 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Contact
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon
  • Bsky

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.