Questions tagged [vhd]
193 questions
5
votes
2 answers
How do I change the size of a VHD?
I have a fixed size virtual hard drive that is running out of space. What's a good way to go about increasing the size?
This VHD is created from Microsoft Virtual PC and/or Microsoft Virtual Server.

Scott Saad
- 436
- 2
- 7
- 10
4
votes
3 answers
Using a VHD as a data storage location?
I asked previously if there are good reasons to partition disks on Windows, and one of the big ones was for splitting data and OS. So that should you reinstall, you do not need to worry about the data (i.e. the partition with the OS gets wiped,…

Robert MacLean
- 2,186
- 6
- 28
- 45
4
votes
2 answers
How does Windows write cache work with mounted VHDs?
Suppose I have a VHD residing on Disk A mounted on a Windows Server 2016.
If I turn write caching on for Disk A and the VHD, do I have double write caching?
If yes, is this recommended?
If it is not, should the write caching be done on Disk A or…

RJ-
- 151
- 5
4
votes
1 answer
Backing up VHD Sets
I've recently created a guest fileserver cluster using VHD Sets. Everything is working fine except i can't do backup on the fileservers. Windows VSS tells me it cannot create snapshots of VMs with shared drives attached to it, even though one of the…

Rikuto
- 183
- 2
- 8
4
votes
0 answers
How to dismount a VHD that has been absorbed into a Storage Space
Normally in Windows, you can create a Virtual Hard Disk (VHD), see it in the Disk Management, right-click, and remove it:
No problem.
Storage Spaces Hides Disks
I want to test the resiliency of Storage Spaces, and the ability to migrate them…

Ian Boyd
- 5,293
- 14
- 60
- 82
4
votes
0 answers
Trim Azure VHD size in Windows 2008
I have an azure virtual machine and due to a broken backup script, it has previously used the entire 127GB of space. My virtual machine is now only using 20GB however I'm still being charged for the full 127GB.
I know I need to trim the disk and in…

John
- 161
- 1
- 1
- 5
4
votes
1 answer
Converting physical Win2008 Machine into Hyper-V virtual machine on same box. Change SID?
We only have one hardware box. We converted our C drive into a VHD. We want to run install Hyper-V on our server to then load the new VHD as a virtual machine.
We will be updating the physical box to 2012, but want to make sure the VHD file…

Damainman
- 1,045
- 5
- 16
- 26
4
votes
5 answers
Mount VHD of Windows Vista backup to Virtual PC?
I'm trying to set up a Virtual PC of vhd backup of an old Windows Vista install in Windows 7, using the optional "Windows Virtual PC" update (now in RC).
Unfortunately, I attempt to set up a virtual PC using the vhd as the source, and I receive the…
user16246
4
votes
1 answer
Diskpart breaking drive letters after powershell script is run
I built a script that mounts (attach) a VHD using Diskpart, cleans out some system files and then unmounts (detach) it. It uses a foreach loop and is suppose to clean multiple VHD using the same drive letter. However, after the 1st VHD it fails. I…

Kyle
- 121
- 4
4
votes
2 answers
Encrypt content of disk without entering password at boot time
I am running Linux virtual machines on a cloud provider. So effectively, the disk is a VHD file. The machine will have some sensitive information on the disk, such as certificates, passwords... I would like to encrypt some part (or all) of the disk…

Flavien
- 367
- 1
- 2
- 8
4
votes
3 answers
VHD File Structure - Repair Corrupted VHD
I have a corrupt VHD that I need to get data off of. It is a Windows 2003 x32 Hyper-V Virtual Machine (NTFS). I have a nearly identical version of that VM without the data on it that works.
Using a hex editor, I tried inserting the old vhd into the…

Adam Brand
- 6,127
- 2
- 30
- 40
3
votes
0 answers
How to mount windows "downloads" folder on a vhdx file
I'd like to know how I can mount a vhdx image as %userprofile%\Downloads folder in windows 10.
When I use the 'disk management' tool it doesn't let me click 'ok' when I've selected the 'downloads' folder.
EDIT:
1st issue solved: I wasn't deleting…

DDS
- 145
- 8
3
votes
2 answers
Hyper-V 2012 R2 Shared Storage non shared temporary drive
So, we have a production system with two Windows Server 2012 R2 Standard Servers with a shared storage SAS dual domain backplane between them.
If you're unfamiliar with that, it basically lets both machines have direct access to the same physical…

Andrew Hendrix
- 306
- 1
- 8
3
votes
1 answer
Create VM on Azure with an existing VHD
I'm trying to create a virtual machine on MS Azure plaftorm, from my existing VHD file. When i'm trying to, I get the following error. Is there any parameter to specify the NIC? Did some research on the web with no suitable results.
PS C:\Users\Rav>…

Rav
- 31
- 2
3
votes
1 answer
Cannot turn off disk write caching on Azure VM with no host cache
I've created Azure VM and attached a data vhd disk with "None" host cache.
Next, if I run disk management on Windows and open drive properties, there is Policies tab which shows a checkbox indicating that write-caching is on and when I try to turn…

Alexey F
- 169
- 1
- 5