How to convert between VHD and VHDX formats in System Center 2012 Virtual Machine Manager

Article ID: 2799257 - View products that this article applies to.
Expand all | Collapse all

Symptoms

Certain situations may necessitate converting VHD files to VHDX, or VHDX files to VHD. For example, a Virtual Machine Manager VMM template referencing a VHDX cannot be deployed to a Windows Server 2008 Hyper-V server, therefore this template will need to be recreated using a VHD file. 

Cause

Windows Server 2008 Hyper-V servers are not aware of the VHDX file format and System Center 2012 Virtual Machine Manager SP1 relies on the Hyper-V host to read the header of the file.

Resolution

Use one of the following methods to convert between formats:

1. Use the Hyper-V UI in Windows Server 2012, select to edit the VHDX or VHD file and choose to Convert to either VHD or VHDX.
2. Use the new Convert-VHD PowerShell cmdlet referenced here:

Convert-VHD: http://technet.microsoft.com/en-us/library/hh848454.aspx

NOTE VHD conversion must be done when the VM is shut down.

More information

When you encounter this issue you may see one or more of the following:

- When you create a virtual machine template from a cloned hard disk for the Windows Server 2012 operating system and attempt to place it on a Windows Server 2008 R2 library server it fails with the error below:

Error (802)
The VirtualHardDisk file <name> is already in use by another VirtualHardDisk.


- During virtual machine creation from a Windows Server 2012 template, the host rating explanation shows the following status:

scvmm cannot locate an available physical instance of the equivalence group for the virtual disk with ID <name>

-----

For additional information on how to convert VHD files to the newer VHDX format please see the following:

Converting a VHD to a VHDX: http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/10/02/converting-a-vhd-to-a-vhdx.aspx

Using PowerShell to Convert a VHD to a VHDX: http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/10/03/using-powershell-to-convert-a-vhd-to-a-vhdx.aspx
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 2799257 - Last Review: September 4, 2013 - Revision: 4.1
Applies to
  • Microsoft System Center 2012 Virtual Machine Manager
Keywords: 
KB2799257

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com