Questions tagged [vhd]

VHD (Virtual Hard Disk) is a file format which represents a virtual hard disk drive (HDD). It may contain what is found on a physical HDD, such as disk partitions and a file system. It is typically used as the hard disk of a virtual machine. VHDs are commonly used by webdevelopers to locally run specific versions of Internet Explorer, but can also be part of entire virtualization solution in Microsoft Virtual Server.

As taken from wikipedia

VHD (Virtual Hard Disk) is a file format which represents a virtual hard disk drive (HDD). It may contain what is found on a physical HDD, such as disk partitions and a file system. It is typically used as the hard disk of a virtual machine. VHDs are commonly used by webdevelopers to locally run specific versions of Internet Explorer, but can also be part of entire virtualization solution in Microsoft Virtual Server.

Since June 2005, Microsoft has made the VHD Image Format Specification available to third parties under the Microsoft Open Specification Promise.

VHDs can be created in, added to and removed from a virtual machine (VM) quickly and easily. VHDs also support various configurations that can allow you to use physical disk space efficiently. The most common virtualization programs that run VHDs are Microsoft Virtual PC and Microsoft Virtual Server.

203 questions
4
votes
1 answer

How do you mount a VHDX file to a folder path rather than drive letter using PowerShell?

OK, truth be told I already know the answer to the question. But, I scoured the net for quite some time on how to do this only to come up short. After piecing together several hints of semi-usable answers I found a couple of solutions that I would…
Craig
  • 627
  • 7
  • 14
4
votes
1 answer

Difference between Image , VHD and Snapshot in Azure

I was able to take a snapshot of OS Disk of VM1 and create a disk out of it. I have swapped with the VM1 OS Disk for learning purpose. I'm aware we can also create a new VM out of this snapshot as well. There is another way to create a blob storage…
PrudhviB
  • 43
  • 3
4
votes
0 answers

detach vhd by disk number

I want to replace my system call of Powershell's Dismount-VHD -DiskNumber, with proper WinAPI. Unfortunately, as far as I can tell, the only way WinAPI provides for detaching a VHD is DetachVirtualDisk, which requires a handle returned by…
Keith Russell
  • 560
  • 4
  • 12
4
votes
1 answer

Invalid VHD path error when trying to create Azure Image

I’m trying to create new image using Azure Portal. When I upload an image as any blob type to container in storage account and try to write a path to it I get the following error: “Invalid VHD blob path. Please make sure the path to the VHD is…
LionKing
  • 131
  • 3
  • 12
4
votes
1 answer

Java library for Windows VHD API

I need to mount and navigate a Windows VHD from Java. Anyone know of a Java library that wraps the Windows Virtual Hard Drive API or is there perhaps source code that uses JNA that I can look at. My google searches did not give me much. Even some…
Hannes de Jager
  • 2,903
  • 6
  • 37
  • 57
4
votes
2 answers

Convert Hyper V to EC2

Hello all I have a bunch of Hyper V images VHD files and need to get them on Amazon Ec2 does anyone know any way to convert these files to AMI or if amazon has a native way of doing this? thanks!
user297378
  • 61
  • 2
  • 6
4
votes
0 answers

Error loading operating system v2v VMDK to vhd

I have 2003 vm that works fine in VMware player, using StarWind v2v converter and I get the above error. I first noticed that the 03 vm needed to be upgraded to a sp2 in order to work with Hyper-V as a minimum, that was compleated with no change,…
bob bob
  • 111
  • 1
  • 6
4
votes
2 answers

Programmatically attaching a VHD to a remote Hyper-V VM

Using Hyper-V Manager, I can connect to a remote VM host, go to the settings of a VM, and add an existing .VHD file as a new hard disk. If the VM host is running Server 2008 R2, and the disk is being attached to a SCSI controller, I can even do this…
Zack Elan
  • 1,716
  • 2
  • 16
  • 23
4
votes
1 answer

How to get files (or file system) from VHDX file with CPP/C#

I want to extract a file from vhdx file. There is a way to do this. -Mount the disk and read file from mounted location. But I want to write a CPP/C# code for this. I am able to get vhdx file details with MS provided API (visrtdisk.dll) which…
Mahesh Mankar
  • 231
  • 3
  • 16
4
votes
1 answer

The Azure OS disk size specified for the virtual machine is too large?

I have VHD file (actually downloaded from Microsoft: http://www.microsoft.com/betaexperience/pd/BIVHD/enus/). I want ot run it as VM (IaaS) on Azure. The file is 60 GB when I upload it to Azure with this command: csupload Add-Disk -Destination…
DevUser
  • 751
  • 2
  • 8
  • 26
4
votes
2 answers

Can I convert from EC2 AMI to VHD?

Can I download an EC2 instance in vhd format? Or download it in AMI format and convert it to VHD?
Gus
  • 596
  • 4
  • 7
3
votes
0 answers

Initialize device and create volume on device for VHD

I want to create a VHD, then mount it and initialize the volume, format it and mount it as a drive letter using C++/windows API's. I can already create a VHD and attach to it using CreateVirtualDisk() and AttachVirtualDisk(), but I don't know how to…
user6745088
3
votes
3 answers

azure vhd mount exception ERROR_HTTPS_NOT_SUPPORTED

I have uploaded a VHD using Cloud storage studio. It gave a https based blob URL. On windows azure, when I try to mount that VHD using drive.Mount method, I get following exception: ERROR_HTTPS_NOT_SUPPORTED Thank you.
Anees Haider
  • 239
  • 2
  • 10
3
votes
1 answer

Microsoft Azure with Kubernetes and Helm "The maximum number of data disks allowed to be attached to a VM of this size is 4."

I'm trying to run different helm charts and I keep running into this error. It's much more cost effective for me to run 3-4 cheaper nodes than 1 or 2 very expensive nodes that can have more disks attached to them. Is there a way to configure…
malk0lm
  • 41
  • 2
3
votes
3 answers

How to get the VHD of an Azure managed disk?

I have created a VM with a managed disk. Managed disks are no longer stored into the blob storage by default. Problem is that I now need the vhd file of the osdisk, but I am unable to find a proper way to retrieve it. The only method I found is to…
SaphuA
  • 3,092
  • 3
  • 39
  • 58
1
2
3
13 14