VHDX is the virtual hard disk format introduced with Hyper-V 2012. It is designed to enhance performance and data protections over the earlier VHD format.
Questions tagged [vhdx]
46 questions
2
votes
1 answer
Hyper-V VHDx Compacting & SIzing Issue - No Minimum Size, Unable to Shrink
Trying to recover ~450GB unallocated space from a VHDx total filesize. Thanks for taking a look at this issue:
Hyper-V Server 2012.
Dynamic VHDx (we'll call it disk2.vhdx) with a file size of 1.5TB out of a maximum 2TB, does not contain Operating…

TSga
- 21
- 1
- 3
1
vote
2 answers
bitlocked VHDX security
I have a physical server deployed to a third party.
On said server, runs a Windows 2016 Hyper-V VM.
The VM's VHDX is encrypted with Bitlocker.
The third party has admin access to the physical server, but no access whatsoever to the the VM. The…

resle
- 189
- 1
- 1
- 9
1
vote
1 answer
Migrate Windows 7 guest VM to Generation 2?
Yes, I know that officially Hyper-V Gen 2 VMs don't support Windows 7, but maybe there is some workaround or fix? Had anybody such experience?
I created new Gen 2 VM, converted my Win7 VHD to VHDx but without a luck. It simply doesn't recognize…

Suncatcher
- 594
- 2
- 7
- 22
1
vote
0 answers
Better to deduplicate inside VHDX on client or outside VHDX on host?
I have a 16TB array that I'm hosting in a virtual environment. It contains video and photos from our marketing department. The data resides on the Hyper-V host itself as a VHDX file on a 8-drive SATA array. Our file server is virtualized and running…

Mike Capps
- 41
- 2
1
vote
2 answers
Use a shared vhdx as shared drive
I have a Windows Cluster made up of two nodes connected via SAS to a storage array. I have two virtual machines configured with their hard disks (vhdx) on the shared storage. They are up and running correctly. Now I need to build a "shared volume"…

maurice
- 61
- 2
- 6
1
vote
0 answers
Can't mount or edit VHDX file, in use
OS is Windows Server 2012
I have a VHDX file that we've been using for backups since Windows won't play nice with our NAS. The first 6 backups worked flawlessly, and they show up in the Windows server backup control panel.
However, subsequent…

anthozep
- 111
- 1
- 2
1
vote
0 answers
Hyper-V Ubuntu vhdx scsi ide
I have a Hyper-v 2nd gen Ubuntu machine (scsi).
I did add the vhdx file to a 1st gen (ide) machine (not as start disk, but to try to use some system rescue cd tools to srink the vhdx zerrofill). I didnt have time to do the actions, so I just put the…

Sam
- 370
- 1
- 4
- 18
1
vote
1 answer
How to reduce a RDS user's vhdx?
In order to reduce RDS user's vhdx (User Profile Disks) size, I wanted to test disk2vhd to rebuild a vhdx from mounted vhdx. But it doesn't work on virtual drive.
Optimize-VHD is not suitable for this job because it's not a Hyper-V env.
So, is there…

Alysko
- 121
- 3
1
vote
1 answer
Why am I unable to edit Hyper-V disks for running VMs when permissions are ok
We have a 4 node Hyper-V cluster running about 15 VMs. On none of them I have tested, can I inspect or edit VHDXs on running VMs.
I get a permissions error of some kind when attempting to do so:
Given that the VMs are running, the hosts obviously…

James Edmonds
- 1,733
- 10
- 37
- 59
1
vote
1 answer
Is it possible to extract / copy the content of a VHDX file
I have recently created a Raspian VM using Hyper-V on Windows 10 so I can start learning the OS as part of a personal project.
What I would like to be able to do is take the content of this VM image and drop it onto an SD card, plug it into a…

Darren Wainwright
- 113
- 4
1
vote
1 answer
Unable to Extend Partition on Hyper-V Generation 2 VM
I'm facing a weird problem with Generation 2 Hyper-V VM, where I'm unable to extend partition in Guest OS.
Once I edit the VHDX & Expand it using Hyper-V Manager on the Host OS, and boot into Guest OS, I navigate to Disk Management to extend…

AlexVPerl
- 217
- 2
- 9
0
votes
0 answers
How do I correctly SysPrep Gen2 Hyper-V image or fix the one I'm working with?
My goal was to create a Win10 image (with programs installed) that I could quickly copy and reuse on Hyper-V for testing things.
I created a Gen2 image, installed Win10+apps, then SysPrep'd and shut down. I deleted the checkpoints so everything…

William YK
- 101
0
votes
0 answers
Can a program detect that the drive it's running on is a locally-mounted but network-stored VHD/VHDX?
This is all in the context of Windows 10, both client and server.
Background: Some programs block installation/running on shared network folders. I don't mean errors due to sharing/file permissions or needing to enable policies in GPO/registry; I…
user516375
0
votes
1 answer
Command line HDD to VHDX
Is it possible to create a Windows shadow volume copy of an HDD to a VHDX using powershell?
I got as far as simply creating an empty VHDX
$disk = New-VHD -Path "d:/test.vhdx" -Dynamic -SizeBytes 25GB

resle
- 189
- 1
- 1
- 9
0
votes
1 answer
CHKDSK erases VHDX That threw Corrupted/Unreadable Error
A windows 7 Virtual machine instance running on a windows 12 server had a 'blue screen of death' with a REGISTRY_ERROR (Code 51).
After several unsuccessful reboots (successfully to safe-mode but could not a safe-mode with networking) a CHKDSK was…

nmattise
- 101
- 1