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
1
vote
4 answers

Download Azure VHD to local use powershell

How can I download azure vhd with powershell to local machine? I read the document, but I can't find the blob url like "https://XXX.blob.core.windows.net/vhds/XXX.vhd" Anybody know that? Thanks
1
vote
1 answer

Only blobs formatted as VHDs can be imported

I am following these https://learn.microsoft.com/en-us/azure/virtual-machines/linux/upload-vhd instructions to create a VM in Azure. At this stage though az disk create --resource-group myResourceGroup --name myManagedDisk \ --source…
Barnsley
  • 117
  • 2
  • 17
1
vote
1 answer

Create a Disk in Azure New Portal is not working , old portal I could do it easily

I'm not even sure why azure even has a GUI Website. It is starting to feel a bit ridiculous when the old manage.windowsazure.com I could powershell up a VHD, and then very easily use a Storage and container and Add the image and then choose from…
user6824054
1
vote
1 answer

Mount-VHD through powershell raises ResourceBusy error

I'm trying to create, mount and format VHDX using Powershell in VM. The first step works without any problems: New-VHD -Path $path -Dynamic -SizeBytes 20GB But now, when I try to mount it: Mount-VHD -Path $path Powershell raises this…
Milano
  • 18,048
  • 37
  • 153
  • 353
1
vote
1 answer

Write custom boot loader to .vhd file

I have a custom boot loader that I would like to write to a .VHD file for testing. Any idea at what offset in the file I should write the boot loader to? Any pointers to the C structures for the .VHD file format?
sduplooy
  • 14,340
  • 9
  • 41
  • 60
1
vote
0 answers

Can't get sector size of VHDX changed?

I have been hopelessly trying to change the sector size of a freshly created Windows 10 VHDX file, to 4096 bytes per sector. After searching the net and trying things, this comes closest (using Windows 10): Install Hyper-V Select Start button and…
Peter
  • 1,334
  • 12
  • 28
1
vote
2 answers

What happened to the VHDX specification from Microsoft?

The VHD specification was made public in 2006. The new VHDX spec was made available in 2012. Unfortunately, all the Microsoft links to it are now dead. Did Microsoft change their mind about making this public? Or, is it just an honest mistake?
Jeff Muir
  • 95
  • 1
  • 10
1
vote
1 answer

Writing to a VHD disk directly using blktap/libvhd

I'm trying to write a char array to a vhd disk using libvhd (c++). But it failes with 'error number -22' ( -EINVAL /* Invalid argument */). There is no problem in opening and reading vhd disks using libvhd but I don't know what is the problem in…
1
vote
0 answers

Windows Phone Emulator is unable to set the VHD on the virtual machine

I'm using Windows 10 and Hyper-V virtual machine!!! How can I fix this error? Thank you
Tan Dat
  • 2,888
  • 1
  • 17
  • 39
1
vote
1 answer

Where can I find Convert-VHD PowerShell command

I'm new to PowerShell and am having trouble finding the Convert-VHD command. I expected google to tell me that I needed to install a SDK - but can't find any instructions. The help page suggests that it's already installed on Win 8.1 (my operating…
Matt Fitzmaurice
  • 1,319
  • 4
  • 19
  • 40
1
vote
0 answers

What is the ResiliencyGuid in CREATE_ / OPEN_VIRTUAL_DISK_PARAMETERS

I couldn't find any information on the ResiliencyGuid fields in the OPEN_VIRTUAL_DISK_PARAMETERS/CREATE_VIRTUAL_DISK_PARAMETERS structures of the Windows VHD API (when using version 2 of those structures). What is this Guid used for? How is it…
Felix Dombek
  • 13,664
  • 17
  • 79
  • 131
1
vote
0 answers

How can I delete a Windows Junction using FileSystemObject?

I'm mounting a VHD to a folder (junction) using diskpart. After unmounting the VHD, I need to delete the folder using FileSystemObject. var vhdPath = "D:\SomeVhd.vhd"; var fsObj = new ActiveXObject("Scripting.FileSystemObject"); var TypeLib =…
Bernardo Rivas
  • 109
  • 1
  • 8
1
vote
2 answers

Evaluating IIS7 with Virtual PC?

I wanna do some local developer tests of IIS 7 but I don't have Windows Vista, 7 or 2008 server - I currently run XP SP3. I have Virtual PC installed so I can use Microsoft's IE compatibility images - are there any time-limited images that I can use…
Neil
  • 2,688
  • 1
  • 23
  • 32
1
vote
1 answer

Azure: Unable to attach my data disk to VM

I have a Linux VM running in US West. I had a 250GB disk attached to it corresponding to a vhd. There was an Azure storage account outage today and I am unable to attach the same disk again. When I attach a disk it does not give me the option to add…
1
vote
2 answers

NTFS-compressing Virtual PC disks (on host and/or guest)

I'm hoping someone here can answer these definitively: Does putting a VHD file in an NTFS-compressed folder on the host improve performance of the virtual machine, diminish performance, or neither? What about using NTFS compression within the…
nlawalker
  • 6,364
  • 6
  • 29
  • 46