Downloaded VHD file from Azure is not seen by Hyper-V Manager

KDC 0 Reputation points
2023-08-03T20:27:59.5733333+00:00

Hello,

I recently downloaded a VHD system disk from an Azure VM. I need to create a local VM from this system virtual disk, but Hyper-V Manager does not see teh VHD, even if it is renamed to be VHDX.
Aware that Azure must have a fixed disk VHD, but what can I do to one of those to make it usable by Hyper_V? If possible, that is.

Thank you!

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,087 questions
Windows for business | Windows Client for IT Pros | Storage high availability | Virtualization and Hyper-V
0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. Anonymous
    2023-08-03T20:33:04.3866667+00:00

    How are you trying? Try creating a new VM on with an identical configuration as existing, then when you get to step Connect Virtual Hard Disk choose Use an existing virtual hard disk and point to the VHD.

    --please don't forget to upvote and Accept as answer if the reply is helpful--


  2. Anonymous
    2023-08-03T21:55:08.63+00:00

  3. KDC 0 Reputation points
    2023-08-04T13:48:26.36+00:00

    Hello,

    Finally got into the system disk!

    For reference, I had to

    1. Download the disk from Azure https://learn.microsoft.com/en-us/azure/virtual-machines/windows/download-vhd?tabs=azure-portal#Stop%20The%20VM
    2. Convert the disk from VHD to VHDX using PowerShell Convert-VHD -Path [your path.vhd] -DestinationPath [your destination path.vhdx]
    3. Create a VM in Hyper-V and attach this new VHDX
    4. Turn off enhanced session mode on Hyper-V Manager [due to remote desktop services being disabled on this VM] https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/learn-more/use-local-resources-on-hyper-v-virtual-machine-with-vmconnect

    After I make the changes, I'm sure I'll have to convert it back for Azure https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/vhd-not-supported-vm-azure

    And then upload via AzCopy

    Hope this helps someone else that stumbles across this scenario.


  4. vipullag-MSFT 26,492 Reputation points Moderator
    2023-08-09T04:46:18.19+00:00

    Hello KDC

    Summarizing the issue and resolution that you have shared for the benefit of community.

    Issue: Downloaded VHD file from Azure is not seen by Hyper-V Manager

    Resolution:

    1.Download the disk from Azure https://learn.microsoft.com/en-us/azure/virtual-machines/windows/download-vhd?tabs=azure-portal#Stop%20The%20VM

    2.Convert the disk from VHD to VHDX using PowerShell
    Convert-VHD -Path [your path.vhd] -DestinationPath [your destination path.vhdx]

    3.Create a VM in Hyper-V and attach this new VHDX

    4.Turn off enhanced session mode on Hyper-V Manager [due to remote desktop services being disabled on this VM] https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/learn-more/use-local-resources-on-hyper-v-virtual-machine-with-vmconnect

    5.After making the changes, convert it back for Azure https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/vhd-not-supported-vm-azure

    6.Then upload via AzCopy.

    Please 'Accept as answer', so that it can help others in the community looking for help on similar topics.

    0 comments No comments

  5. Alex Bykovskyi 2,241 Reputation points
    2023-08-15T16:38:06.24+00:00

    Hey,

    You can use StarWind V2V Converter to move VM from Azure directly to Hyper-V host.

    https://www.starwindsoftware.com/starwind-v2v-converter
    The following guide should help with the conversion:
    https://www.starwindsoftware.com/v2v-help/VMfromMicrosoftAzuretoMicrosoftHyperVServer.html

    Cheers,   
    Alex Bykovskyi   
    StarWind Software   
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.