Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Virtualization » Generation 2 VM: Set up a HyperV VM through PXE boot
  • image 19
    Download your MySQL database from Azure to a local PC with MySQL Workbench AWS/Azure/OpenShift
  • Screenshot 2021 09 02 at 20.08.14
    Service Principal Name: How to add or reset and delete SPNs Windows
  • Install Packages to Amazon Virtual Machine Using Terraform
    How to Install Packages to Amazon VM using Terraform AWS/Azure/OpenShift
  • shut down 650x300 1
    How to prevent users from shutting down in a Virtual Machine Windows
  • oracle q4 earnings are in e28094 but what does it really mean 700x425 1
    How to uninstall Oracle Database 11G or 12c Oracle/MSSQL/MySQL
  • Untitled Design 25
    Install and Configure Hyper-V on Windows Server Server 2019, and 2022 via the Server Manager, PowerShell or DISM Virtualization
  • Slide2 1
    SU Authentication Fix: Sudo Permission Denied in Ubuntu Linux
  • Screenshot 2020 05 14 at 19.43.13
    Repo: How to setup Chef Repository Configuration Management Tool

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

Posted on 19/01/202019/10/2023 Christian By Christian No Comments on Generation 2 VM: Set up a HyperV VM through PXE boot

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.

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

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

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.

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

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.

5/5 - (1 vote)

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

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
Virtualization Tags:hyperV, Microsoft Windows, UEFI, 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

  • VMware vSphere
    Differences between vSphere and ESXi and vCenter Virtualization
  • Enable Hyper V on Windows 11 Create a VM with PowerShell
    Run Hyper-V on Windows 11: Convert Physical PC to Hyper-V VM Virtualization
  • SCSI Controoler HyperV issue failed to start VM
    Failed to Power on with Error ‘A virtual machine disk support provider for the specified file was not found Virtualization
  • VMware Tech Showcase
    Great details on VMware Tech Showcase Virtualization
  • vmwarevinchin
    3 Ways to Convert VMware VMs to Hyper-V Backup
  • 87a26c60 0001 0004 0000 000001423515 w948 r1.77 fpx54.99 fpy56.04
    Administer LXC Containers: Easy Guide Virtualization

More Related Articles

VMware vSphere Differences between vSphere and ESXi and vCenter Virtualization
Enable Hyper V on Windows 11 Create a VM with PowerShell Run Hyper-V on Windows 11: Convert Physical PC to Hyper-V VM Virtualization
SCSI Controoler HyperV issue failed to start VM Failed to Power on with Error ‘A virtual machine disk support provider for the specified file was not found Virtualization
VMware Tech Showcase Great details on VMware Tech Showcase Virtualization
vmwarevinchin 3 Ways to Convert VMware VMs to Hyper-V Backup
87a26c60 0001 0004 0000 000001423515 w948 r1.77 fpx54.99 fpy56.04 Administer LXC Containers: Easy Guide Virtualization

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • image 19
    Download your MySQL database from Azure to a local PC with MySQL Workbench AWS/Azure/OpenShift
  • Screenshot 2021 09 02 at 20.08.14
    Service Principal Name: How to add or reset and delete SPNs Windows
  • Install Packages to Amazon Virtual Machine Using Terraform
    How to Install Packages to Amazon VM using Terraform AWS/Azure/OpenShift
  • shut down 650x300 1
    How to prevent users from shutting down in a Virtual Machine Windows
  • oracle q4 earnings are in e28094 but what does it really mean 700x425 1
    How to uninstall Oracle Database 11G or 12c Oracle/MSSQL/MySQL
  • Untitled Design 25
    Install and Configure Hyper-V on Windows Server Server 2019, and 2022 via the Server Manager, PowerShell or DISM Virtualization
  • Slide2 1
    SU Authentication Fix: Sudo Permission Denied in Ubuntu Linux
  • Screenshot 2020 05 14 at 19.43.13
    Repo: How to setup Chef Repository Configuration Management Tool

Subscribe to Blog via Email

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

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

Tags

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

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.