Deploying VHDX on Microsoft Hyper-V

Overview

Step 1: Prepare the VHDX File

Step 2: Open Hyper-V Manager

Step 3: Creating a New Virtual Machine

Step 4: Configuring Virtual Machine Settings

Step 5: Starting the Virtual Machine

Step 6: Install Hyper-V Integration Services (if needed)

Additional tips

Overview

Deploying a VHDX on Microsoft Hyper-V involves creating a virtual machine (VM) and attaching the VHDX file to it. Below are step-by-step instructions to help you through the process.

Step 1: Prepare the VHDX File

Ensure the VHDX file is ready: Make sure you have a valid VHDX file you want to deploy. It should be located in a place accessible from your Hyper-V host.

Step 2: Open Hyper-V Manager

Launch Hyper-V Manager: Open Hyper-V Manager on your Windows server. You can find it by searching in the Start menu.

Step 3: Creating a New Virtual Machine

1. Start the New Virtual Machine Wizard:

In the Hyper-V Manager, right-click on your hostname in the left-hand pane, then select New > Virtual Machine. This will open the New Virtual Machine Wizard.

hv1.png

2. Specify Name and Location:

  • Name: Enter a name for your Virtual Machine.
  • Location: Choose the folder where you want to store the VM configuration files. Click Next.

Frame 321.png

3. Specify Generation:

Select Generation 1 or Generation 2 based on your requirements. Generation 2 VMs support UEFI firmware and are recommended for newer operating systems. Click Next.

hv4.png

4. Assign Memory:

  • Specify the amount of startup memory for the VM. For example, enter 4096 MB for 4 GB of RAM.
  • Optionally, enable Dynamic Memory if required. Click Next.

hv5.png

5. Configure Networking:

Choose a virtual switch for the VM to connect to. If you don’t have one configured, you can set it up later. Click Next.

hv6.png

6. Connect Virtual Hard Disk:

  • Select Use an existing virtual hard disk.
  • Browse and select your VHDX file. Click Next.

Frame 322.png

7. Summary:

Review your settings and click Finish to create the virtual machine.

Frame 323.png

Step 4: Configuring Virtual Machine Settings

1. Adjust VM Settings: Right-click the newly created VM in Hyper-V Manager and select Settings.

hv8.png

11. Go to the Processor settings and scale the number of virtual processors to a minimum of 2.

12. Click OK, and start your virtual machine.

Frame 324.png

Step 5: Starting the Virtual Machine

1. Start the VM: Right-click the VM and select Start.

2. Connect to the VM: Right-click the VM again and select Connect to open the Virtual Machine Connection window.

3. Complete the Setup: Follow the on-screen instructions to complete the setup of the operating system inside the VM.

Step 6: Install Hyper-V Integration Services (if needed)

1. Install Integration Services: If the guest operating system doesn't have Hyper-V Integration Services installed, you may need to install it. This enhances the performance and compatibility of the VM.

  • In the Virtual Machine Connection window, go to Action > Insert Integration Services Setup Disk
  • Follow the prompts inside the VM to install the services.

Additional tips

  • Networking Configuration: Make sure to configure your virtual network settings to allow the VM to communicate with other machines on your network.
  • Backup: Regularly back up your VHDX files and VM configuration to prevent data loss.

By following these instructions, you should be able to successfully deploy a VHDX file on Microsoft Hyper-V. If you encounter any specific issues, please refer to Hyper-V documentation or reach out to our support at support@loginvsi.com