Questions tagged [vhdx]

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
140 views

Merging avhdx checkpoints into vhdx under Qemu/KVM

I recently switched over from Hyper-V to Qemu (KVM), and in migrating my VM’s unpleasantly discovered that I had neglected to use the Hyper-V tools to merge one of my Ubuntu VM’s disks containing ...
  • 101
0 votes
0 answers
57 views

Why does vhdx file take more space than actual data in ext4 partition

I know Hyper-V is not able to handle ext4 file system, thus the compact will not compact correctly. But I found some articles on the web suggesting zeroing unused space. df -h actually returns : Sys. ...
0 votes
1 answer
2k views

Failed to map guest I/O buffer for write access with status 0xC0000044 Hyper-V-StorageVSP Event ID 8

Full Error information: Error 8/9/2021 10:35:11 AM Hyper-V-StorageVSP 8 None Failed to map guest I/O buffer for write access with status 0xC0000044. Device name = d:\vms\servername\virtual ...
  • 101
1 vote
1 answer
79 views

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: ...
0 votes
1 answer
832 views

Completely remove virtual disks with diskpart (list volume still shows them)

I'm creating a lot of differencing disks for my project and deleting them after some time. I use "detach vdisk" command, they disappear from disk management but they are not completely ...
3 votes
2 answers
643 views

Unable to start a VM with a Shared Disk

We're running Hyper-V 2019 on a 2 node cluster. We have 2 VMs in the Failover Cluster which are clustered together to run a server. This service requires a shared disk. The shared disk is located in a ...
  • 463
0 votes
1 answer
120 views

How to boot vhdx drives?

I recovered a bare metal backup for one hyper-v vm (2012 R2) in the form of 2 vhdx files. How can I boot the backed up vm? Should I burn into a USB/DVD or can I just use an unallocated drive space?
1 vote
1 answer
1k views

Is it possible to extract / copy the content of a VHDX file [closed]

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 ...
1 vote
1 answer
453 views

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 ...
  • 195
0 votes
0 answers
137 views

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 ...
2 votes
1 answer
5k views

Is it possible to mount VHDX in Linux as RW?

Is it possible to mount VHDX (not vhd) disk file in Linux as a read + write block device ? I have found that qemu-img allows conversion of vhdx disks to other formats, but I am looking for read + ...
  • 183
2 votes
1 answer
2k views

Hyper-V vhdx file is much larger than the contents

I have a virtual machine, that has dynamically expanding vhdx as a C drive. Or 'thin provisioned' to speak in terms of other hyper-visors. I'm running Windows server 2016 on it, as a DC to be exact. ...
  • 529
1 vote
2 answers
131 views

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, ...
  • 189
0 votes
0 answers
29 views

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 ...
user avatar
2 votes
1 answer
156 views

Creating VHD using Microsoft's Systernals Disk2VHD program of production box

I created a VHD file of our small production server (hosting internal web pages for the company). I'd like to set up the VHD up as a dev server so that it'll be a mirror of the production system and I ...
  • 127
0 votes
1 answer
116 views

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 ...
  • 189
2 votes
1 answer
776 views

Unable to assign drive letter to non-booting VHDX

I am trying to get a virtual file server (Windows 8.1 Pro, inherited) running on Windows Server 2016 (Standard). In Hyper-V Manager, I can create a Gen 2 VM (when I tried Gen 1, I couldn't get past ...
  • 21
2 votes
0 answers
94 views

Cannot recover from Windows Server Backup after expanded volume

I am running a Windows Server 2012 r2 instance on Hyper-v, I set up Windows Server Backup to run every night to incrementally back up a large folder. The folder sits on the same Virtual Hard Disc as ...
  • 21
0 votes
1 answer
737 views

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 ...
  • 101
3 votes
1 answer
7k views

I can not boot my VHDX which was created from physical drive

I need to migrate my Server 2012 R2 Fileserver (physical) to another Server (virtual). That's why I need to create VHDX Files to run them later in Hyper-V All my drives were no problem, except the C ...
  • 767
10 votes
1 answer
21k views

Hyperv-V creates mystery .avhdx files and fills up disk space

I have windows server 2016. Also i have Hyper-V role on my server. Every day in 5:36 i have error, that disk full and my virtual machine is stopping. In Hyper-V logs: ProviderName: Microsoft-...
  • 511
8 votes
2 answers
1k views

Moving Hyper-V virtual disk to SMB share gives file not found error in the end

I want to move some virtual disks to from an old ISCSI disk (old NAS) to a new SMB share but for every disk it gives a file not found error in the end and gives the location of the disk on the SMB ...
  • 1,463
0 votes
0 answers
1k views

Is it possible for multiple users to mount a virtual hard drive?

We have a Windows Server 2012 R2 Essentials server and several Windows 10 Pro PCs. We have a drive on the server with all our company documents on which is shared over the network and mapped to all ...
  • 113
2 votes
1 answer
8k views

how to remove avhdx file?

I use Windows Server 2012 Hyper-V role. I accidentally pressed the "Snapshot" on a running VM. During the creation of snaphost, I clicked "cancel". The operation of creating a snapshot is ...
0 votes
1 answer
1k views

Poor performance of a VHDX on RAID5

I have a high-end desktop PC. MB: Intel DX79TO CPU: Intel i7-3820 @ 3.6GHz RAM: Quad Channel Kingston Hyper-X DDR3 16GB @ 2400 MHz SSD: Kingston Hiper-X 120GB (Host OS resides here) RAID5: 4 x 1TB - ...
0 votes
3 answers
826 views

Discrepancy between VHDX size and what the OS reports

I have an ubuntu 16.04 VM on a Server 2012 R2 Hyper-V server. The VHDX (dynamically expanding VHD) size is 1.8TB but the VM inside reports that only 3% of the disk is used. I don't understand why ...
0 votes
1 answer
3k views

User profiles as VHDX files - paging operation errors

Hello we have this terminal server on w2k12. Users login and have their profile mounted as virtual disk from VHDX file with filename like this C:\Users\Public\Documents\RDS_UserProfileDisks\UVHD-S-1-5-...
  • 157
1 vote
1 answer
2k views

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 ...
5 votes
2 answers
996 views

Ubuntu on Hyper-V and VHDX

I have a setup where I will run a Ubuntu Server on two VHDX disks. System 50GB and Data 4TB. They are located on a mirrored Storage Spaces Pool and are dynamic expanded. During the Ubuntu ...
  • 350
1 vote
0 answers
74 views

Better to deduplicate inside VHDX on client or outside VHDX on host? [duplicate]

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 ...
5 votes
3 answers
942 views

Hyper-V guest failover cluster file server

Environnent is full Windows Server 2012 R2. I have a Hyper-V cluster on which I host a testing fail-over cluster file server with 2 guests. Guest cluster is running and file server role installed ...
  • 51
0 votes
0 answers
28 views

Server 2012 R2 - Sharing 'cluster shared volume' .VHDX hard drives between two VMs, are they supposed to not live update? [duplicate]

I have a .VHDX volume that's a cluster shared volume in a Server 2012 R2 failover cluster. I'm able to share the hard drive between two VMs. If I create a folder on VM2, it doesn't show in VM1 in the ...
0 votes
2 answers
5k views

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 ...
  • 51
3 votes
1 answer
707 views

Converting virtual drives from .vmdk to .vhdx produces huge files

I'm using powershell and ConvertTo-MvmcVirtualHardDisk cmdlet to convert .vmdk disks into .vhdx disks to be able to run them in our hyper-v environment. For some reason, the .vhdx files produced are ...
  • 131
3 votes
0 answers
1k views

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 ...
  • 5,151
1 vote
0 answers
3k views

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 ...
  • 111
0 votes
1 answer
42 views

Refreshing VM with limited Disk SPace

I have a Hyper-V machine that crashed. I am trying to refresh it but the disk is too small when I load the disk.ISO in. I tried to expand it but I still get the screen. Is there a way to add the added ...
  • 3,821
2 votes
1 answer
2k views

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 ...
  • 21
1 vote
0 answers
903 views

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 ...
  • 350
0 votes
0 answers
134 views

Preventing a read-write first automount after adding a VHDX onto a CentOS7 HyperV VM

I have a VHDX file (representing a non-boot ext4 fs) that I need to run some forensics on. I have a working CentOS7 HyperV VM on a Win2012R2 host. I want to attach the VHDX to the CentOS7 VM, which ...
  • 964