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
0 answers

Accessing ext4.vhdx via another machine?

Is there anyway to mount or access the ext4.vhdx on another machine? I understand that accessing the linux environment files while WSL is running will likely corrupt them; but I want to be able to access this hard disk image when WSL is inactive?
Tamer Ziady
  • 613
  • 1
  • 5
  • 10
1
vote
2 answers

QueryChangesVirtualDisk is returning ERROR_INVALID_HANDLE(6) even though OpenVirtualDisk is succesfull

I am trying out VirtualDisk APIs, So far I am able to Open a VHDX file, get some of the properties by using GetVirtualDiskInformation. But I am not able to get RCT information and ChangedAreas. The first call to GetVirtualDiskInformation is…
Shree Hari
  • 23
  • 5
1
vote
1 answer

Azure Incremental Snapshot Is Same Size as Full?

I am working on creating backup system for Azure VMs. Instead of using Azure Backup Vault, I am trying to see if I can save some cost by creating an Automation runbook that will take the snapshot of the VMs (New-AzSnapShot), then move those images…
Koss
  • 57
  • 1
  • 6
1
vote
1 answer

RAW write to a vhd without mounting

I know that if you mount an vhd (or another virtual disk format), you can write to it. But how can you write to a vhd without mounting it? Is there a good piece of software to use? By raw i mean what HDD Raw Copy Tool provides. You can just take a…
Trac3r
  • 25
  • 5
1
vote
1 answer

Hyper-v: Cannot convert value \n"Link to VHD file" to type "Microsoft.HyperV.PowerShell.ControllerType"

I am trying to deploy a vhd on hyper-v. Can I pass the link of VHD file stored somewhere while running following command: r= s.run_ps("Add-VMHardDiskDrive -VMName MY_VM3 https://s3.amazonaws.com/mybucket/alpine.vhd ") S3 bucket is public. I am…
Ashwani
  • 1,340
  • 1
  • 16
  • 34
1
vote
3 answers

Virtualized Windows 7 and IE VHDs for website testing on a Mac - what's needed?

I know this will probably be considered a duplicate, but looking through the questions I could find, I didn't quite find answers I develop web sites on a Mac, and I obviously need to test them in all sorts of versions of Internet Explorer.…
Flambino
  • 18,507
  • 2
  • 39
  • 58
1
vote
0 answers

OpenVirtualDisk Function return ERROR_FILE_CORRUPT (1392) with ISO file

I ran the openvirtualdisk function according to the attached code. However, it fails with a 1392 error(ERROR_FILE_CORRUPT). According to msdn, the error is returned in the following cases. This function will fail with error ERROR_FILE_CORRUPT (1392)…
areum
  • 93
  • 3
  • 14
1
vote
1 answer

Validate that a .vhd file is actually a vhd

Users can upload vhd files to my server. I would like to validate the files that they upload and ensure that they are actually a valid vhd file rather than a jpeg rebranded with a .vhd file extension or etc. Is there a way to do this?
1
vote
2 answers

Stop SetVolumeMountPoint from opening file explorer

I am using SetVolumeMountPoint to mount a vhd to a drive letter of my choosing. The problem is that when the vhd is mounted file explorer automatically opens at the new drive directory. This is a problem for me as I need my programs to remain on the…
1
vote
0 answers

Transfer Azure VM Snapshots to different account

Let me start by saying I've Googled and Bing-ed all over and haven't quite found what I'm looking for. I have a snapshot of a VM contained in our company Azure subscription. Part of the perks we also get at our company are individual MSDN Azure…
Andrew
  • 718
  • 1
  • 7
  • 25
1
vote
1 answer

how to create VM with Json arm template using define VHD (or disk,snapshot)?

The question in the title: "how to create VM with Json arm template using define VHD (or disk,snapshot) in azure?" Thanks for your help!
1
vote
2 answers

How to prepare a VHD for Jenkins Azure VM Agents plugin

I have installed Azure VM Agents plugin. I want to use a customized VM image as source. (VM with Visual studio and some other tools installed). There is an option in "Image Configuration" to use "Custom Image URI". How can I prepare a vhd from a…
1
vote
0 answers

where is the specification for VHD 1.3?

I am looking for the higher versions of the VHD file format specification. I found a reference to 1.3 in BLKTAP, but I can't find the document with google. There is an old Microsoft .doc file from 2006 around the internet describing the version 1.0,…
nraynaud
  • 4,924
  • 7
  • 39
  • 54
1
vote
5 answers

azure VHD 1TB uploading

We have very slow connection and very small hard disk, How can I create 1 TB VHD for cloud drive on azure?
Anees Haider
  • 239
  • 2
  • 10
1
vote
0 answers

Force Unmounting a VHD in Windows10 ( without a restart )

There is a requirement to monitor a pool of 20 Servers. Each Servers create VHDs periodically to perform certain XYZ tasks and unmounts them safely. VHD mounting and unmounting scripts are legacy ones and are written in batch diskpart.exe and not…
Dennis Ninj
  • 829
  • 2
  • 8
  • 15