Courtenay Bernier Infrastructure Blog

Bringing you detailed information around Identity, System Center, Windows Server, and Microsoft Azure (cloud)

Converting Hyper-V .vhdx to .vhd file formats for use in Windows Azure

Converting Hyper-V .vhdx to .vhd file formats for use in Windows Azure

  • Comments 16
  • Likes

So you’ve implemented Hyper-V and are using the .vhdx VM file formats for your virtual machines and want to go to the next level and take those virtual machines and move them into Windows Azure.

There are a few methods to accomplish this task, however I find using PowerShell is the quickest method to convert a .vhdx to .vhd.


Open a PowerShell window on the server that houses your .vhdx files and execute the following command:

PS C:\> Convert-VHD –Path c:\test\MY-VM.vhdx –DestinationPath c:\test\MY-NEW-VM.vhd

Note: if you’re utilizing differencing disks you’ll want to merge the disks with their parent before converting and uploading to Windows Azure.

Here’s an example:


That’s it!

Now you’re ready to upload your VM to Windows Azure.



  • Great tip, thanks Courtenay!!!

  • Great tip, thanks Courtenay!!! For more details please visit

  • Thanks alot ...this saves my life on production environment ....

  • Awesome! Simple and Easy...

  • Don't convert to some network location in example: \\myserver\c$\ because you will get error.

  • Hi Sir,

    Thank u so much for the tip

  • This was very useful for me...This is the best and easiest way I found. I am hopeful now that my VM snapshot can be used on AWS. Thank you very much for sharing this.

  • Awesome! Simple and Easy...
    Thank you very much for sharing this..

  • Worked like a charm!!

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment