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
3
votes
1 answer

How to get list of files from recycle bin for the volume/disk that was mounted?

Usually people get list of files inside the Recycle Bin using Shell32.dll. private static IEnumerable GetRecycleBinFilenames() { const int ssfBitbucket = 10; Type t = Type.GetTypeFromProgID("Shell.Application"); dynamic shell =…
Brans Ds
  • 4,039
  • 35
  • 64
3
votes
7 answers

Expanding Virtual Disk

Hey everyone, I'm using Virtual PC and working with a virtual hard disk (*.vhd) that is only sized at 8.2 GB. I would like to double the size to something like 16-20GB. I see options for compacting the VHD but nothing to expand it. It's set to…
t3rse
  • 10,024
  • 11
  • 57
  • 84
3
votes
0 answers

Waiting for the mount manager to create volume names

To mount vhds on windows, we can use OpenVirtualDisk then AttachVirtualDisk to attach a virtual disk, then GetVirtualDiskPhysicalPath can be used to obtain a physical path to the vhd, in the form of \\.\PhysicalDrive1. Next we can use…
simonzack
  • 19,729
  • 13
  • 73
  • 118
3
votes
1 answer

Mounting a virtual drive (vhd) in a windows azure instance of web/worker role

In old versions of windows azure sdk we could use ClouDrive class to mount a virtual disk. Not anymore, there is no such a class in the new sdks (2.x) my cloud project contains: a worker role. a vhd file stored as a page blob. Question: How can i…
3
votes
3 answers

How to attach my uploaded vhd to a virtual machine in Azure?

I have uploaded successfully my 1TB vhd (not containing Windows files) to Azure storage. Now I want to attach it as a second drive to my virtual machine but in the attach list I can find only the "attach an empty disk" option! I used Add-AzureVhd to…
gabrielgeo
  • 507
  • 2
  • 6
  • 17
3
votes
2 answers

Windows Azure virtual machine is slow to access network when scaling

I'm running some startup scripts (cmd/bat) on my small azure VM which include a file-transfer operation from a mounted VHD, and normally it finishes in about 3 minutes (copying files and extracting ~500Mb zip file with command-line 7z). When I…
user2520968
  • 358
  • 1
  • 3
  • 11
3
votes
1 answer

Windows 8 Hyper-v - enable networking and remote connection

I have a vhd file, I need to enable networking and remote connection on it. On the vhd is installed Windows Server 2008 R2 and SharePoint development platform, VS 2010 ... My laptop runs Windows 8 x64 Hyper-v. I can run the vhd into the hyper-v and…
David Dury
  • 5,537
  • 12
  • 56
  • 94
3
votes
1 answer

Hyper-V back up VHD live with PowerShell

I've heard people say that you can back up VHD files on Windows 2008 R2 Hyper-V (non clustered) and back them up while the guest is live and running with powershell scripts. Does anyone have any experience of this they can share? What kind of back…
conners
  • 1,420
  • 4
  • 18
  • 28
2
votes
1 answer

DiscUtils create an NTFS vhd

I am trying to create a virtual hard drive with NTFS in .NET Core. I have found the DiscUtils NuGet package and the example code on their GitHub page works fine to create a VHD with FAT Format. long diskSize = 30 * 1024 * 1024; //30MB using (Stream…
ecth
  • 1,215
  • 1
  • 16
  • 33
2
votes
3 answers

Lattice Diamond shows Synthesis exit by 9

Why does Lattice Diamond shows Error 9 on a new project when compiling? Error output is: Details: CCU2B: 40 FD1P3AX: 30 FD1P3AY: 8 FD1P3IX: 7 FD1S3AX: 52 FD1S3IX: 3 GSR: 1 IB: …
stacks
  • 221
  • 3
  • 13
2
votes
1 answer

How to import a standard VM into a devtest lab

I have created and configured a VM in Azure. I would like to use the image created from that VM in a devtest lab. However, I see that images in devtest labs can only be created from VHD disk. Is it possible to transform a normal Azure image into a…
2
votes
0 answers

Setting drive letter affects other disk

I have attached VHD with diskpart, disk number is 2. $drive_ltrs = (get-partition -disknumber 2).driveletter returns D. If now I assign W to the EFI partition, D gets deleted. Why is this happening? ${vol_letter_efi} = get-partition | where-object…
robert
  • 3,539
  • 3
  • 35
  • 56
2
votes
2 answers

Can we use dynamically expanding disk to create a VM in azure?

I have created a VM in hyperv using dynamically expanding VHD option.Now I have exported that VHD to azure cloud and created a VM in azure.My VM is not booting properly. Is it recommended to use dynamically expanding VHD to create VM in azure?
Karthick
  • 1,010
  • 1
  • 8
  • 24
2
votes
1 answer

Creating snapshot of VM in Azure

Having followed this article(http://www.coreazure.com/snapshot-vms-in-azure-2/) I am trying to create a snapshot of VM using powershell(PS) from Azure portal. This is the PS script which I have created to take a snapshot workflow snapshot1 { …
devd
  • 370
  • 10
  • 28
2
votes
1 answer

Open, attach and assign a VHD

My use case is the following: I have a ready vhd image and need to mount it to a path f.e. D:\vhd\active. At the moment my solution is a combination of Powershell Hyper-V and diskpart commands but this seems very dirty and hacked: Mount-VHD -Path…
seveves
  • 1,282
  • 4
  • 17
  • 37
1 2
3
13 14