Skip to content
-
Subscribe to our newsletter & never miss our best posts. Subscribe Now!
Technical Personnal Blog

Technical Personnal Blog

Technical Personnal Blog

Technical Personnal Blog

  • Tech
  • Blog
  • Open Source
  • VEGAS
  • CARD
  • Favorite Link
  • Shop
  • Cart
  • Checkout
  • My account
  • Tech
  • Blog
  • Open Source
  • VEGAS
  • CARD
  • Favorite Link
  • Shop
  • Cart
  • Checkout
  • My account
Close

Search

  • https://www.facebook.com/
  • https://twitter.com/
  • https://t.me/
  • https://www.instagram.com/
  • https://youtube.com/
Subscribe
Uncategorized

How to convert a physical server to a Hyper-V VM

By techsupport
August 6, 2019 4 Min Read
Comments Off on How to convert a physical server to a Hyper-V VM
https://www.veeam.com/blog/how-to-convert-physical-machine-hyper-v-virtual-machine-disk2vhd.html

P2V conversion guide for Disk2VHD

Among different P2V converters for Hyper-V, there is one I find to be the most suitable for this operation, it’s called Disk2VHD. It is written by Microsoft engineers, weighs about 0.9 MB, doesn’t require installation and is available on the official Windows Sysinternals page. So, let’s get down to business now!

Step 1. Download Disk2vhd utility

Go to the Windows Sysinternals page and download the utility.

Step 1. Download Disk2vhd
Disk2vhd v2.01 utility.

Step 2. Run Disk2vhd on the physical server you are converting

Just unpack the utility and run it on a server. The interface is very simple, as you can see in the graphic. Check Use Vhdx to create a VHDX disk.

NOTE: VHDX is a new disk format that was introduced in Windows Server 2012. Compared to traditional VHD, VHDX has several improvements, including a special internal log to reduce the chances of data corruption, a bigger capacity (up to 64 TB) and other great features. I recommend using VHDX whenever possible.

Select Use VSS if you would like to get a transaction-consistent version of a disk and not a crash-consistent version. Select the destination for the VHDX file. (Don’t pick the same disk or it could cause an “inception,” much better to use a different hard disk for storing that image.) Include any disk/volume you want to virtualize. If you want it to be a bootable disk, then include a system disk plus boot area (tick System Reserved label). Click Create to start the process.

Step 2. Run Disk2vhd on the physical server you want to convert
Run Disk2vhd on the physical server you are converting.

Step 3. Convert disk(s) to VHDX format and copy it to Hyper-V host

While the process is running, you’ll see the estimated time of its completion.

Step 3. Convert disk(s) to vhdx format and copy it to Hyper-V host. Pic 1
Pic 1. Convert disk(s) to VHDX format and copy it to Hyper-V host. 

As a result of the operation, you’ll get a VHDX file/disk, which you can now copy to your Hyper-V server and place in the folder where you have the VM disks.

Step 3. Convert disk(s) to vhdx format and copy it to Hyper-V host. Pic 2
Pic 2. Convert disk(s) to VHDX format and copy it to Hyper-V host. 

Step 4. Create a new VM on a Hyper-V host

To use a created disk, you should create a VM first. Run the New → Virtual Machine wizard in Hyper-V Manager and configure it according to your needs. Configuration options are simple, except maybe for the VM generation selection (appears in Windows Server 2012 R2 only).

Step 4. Create a new VM on a Hyper-V host. Pic 1
Pic 1. Create a new VM on a Hyper-V host. 

NOTE: Choose your VM generation carefully. Starting with Windows 2012 R2, Hyper-V has a new option: Generation 2 virtual machine. This is a second generation firmware for VMs with a revised set of virtual hardware and new opportunities for users, such as a boot from an SCSI device. There will be more to come on this topic in future releases. Among noticeable limitations of Generation 2 VMs, is that there is no support for a guest OS older than Windows 8, not to mention Unix-like. Practically speaking, choose this only for Windows 8/8.1 or Windows Server 2012/2012 R2 and only for 64-bit builds.

This explains why you should choose VM generation accordingly and stick to Generation 1, unless you’re 100% sure you need to use Generation 2.

Step 4. Create a new VM on a Hyper-V host. Pic 2
Pic 2. Create a new VM on a Hyper-V host. 

Step 5. Insert the created disk

On the step Connect Virtual Hard Disk, you should also configure the virtual hard disk, so then pick a disk you already have and complete the rest of the steps in the wizard.

Step 5. Insert created disk there
Connect Virtual Hard Disk.

Step 6. Run a VM and enjoy it

Right-click on a VM, select Run, then right-click again and connect to it.

Step 6. Run a VM and enjoy it. Pic 1
Pic 1. Run a VM. 

It will take some time for the VM to boot up since the hardware configuration will be different. However, in a few minutes you’ll see the welcome screen and be ready to log in to the system. Congratulations!

Step 6. Run a VM and enjoy it. Pic 2
Pic 2. Run a VM. 

That’s it, folks!

Enjoy being virtualized and don’t forget to protect your VMs by doing virtual backup with Veeam!

Author

techsupport

Follow Me
Other Articles
Previous

Websites for Editing Videos Online for Free

Next

A tiny javascript library to help printing from the web

Categories

  • Android
  • Blog
  • Favorite Link
  • linux
  • Open Source
  • opencart
  • social
  • Tech
  • Uncategorized

Archives

  • January 2025
  • March 2024
  • August 2023
  • March 2023
  • February 2023
  • November 2021
  • August 2021
  • April 2021
  • March 2021
  • December 2020
  • October 2020
  • September 2020
  • July 2020
  • June 2020
  • May 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • September 2019
  • August 2019
  • June 2019
  • October 2018
  • August 2018
  • May 2018
  • April 2018
  • March 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • September 2017
  • August 2017
  • June 2017
  • March 2017
  • January 2017
  • December 2016
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • May 2016
  • April 2016
  • January 2016
  • December 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • January 2015
  • December 2014
  • November 2014
  • October 2014
Copyright 2026 — Technical Personnal Blog. All rights reserved. Blogsy WordPress Theme