.VHDX

VHDX File

Virtual Hard Disk v2 (Hyper-V)
Ask a question
QUICK ANSWER

A VHDX file is a complete virtual hard disk - partition table, filesystem, and often a full OS - stored in one file. It is Microsoft's modern format for Hyper-V VMs, WSL2, and Dev Drive. On Windows you can mount it as a drive letter through Disk Management (no Hyper-V required), or attach it to a Hyper-V VM to boot it.

Developer: Microsoft Category: Disk Image Files Open standard MIME: application/x-vhd
OPENS ON Windows macOS Linux
Related: .BIN · .ISO · .MDF · .DMG

On this page

19k+ extensions indexed
Last reviewed Aug 11, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the VHDX file format?

.vhdx is a virtual disk image format - the successor to the .VHD format - introduced with Windows 8 and Windows Server 2012.

A .vhdx file can be used to store all the data from a single hard disk drive, an operating system, or files and folders selected by the user. It can therefore be used as a physical hard disk device because it contains an exact copy of the files and data file structure of the original disk, packaged as a single file image.

The VHDX format offers some important advantages over its older .vhd counterpart. The biggest is the extended maximum capacity of 64 TB, compared to the roughly 2 TB limit of the older VHD format. The newer format offers improved virtualization performance on volumes with large logical sectors, due to optimization in the dynamic volume structure. Another important feature is the addition of a write-ordering log built into the file itself, which acts as a journal to prevent data loss and corruption on sudden power failure.

Differencing disk snapshots are stored as .AVHDX files and can be chained into a parent-child hierarchy. The file starts with the 8-byte ASCII signature vhdxfile at offset 0. On Windows, a .vhdx file can be mounted directly using Disk Management, Hyper-V, or the Mount-VHD PowerShell cmdlet.

Security & safety

RISK: MEDIUM

A .vhdx is a disk image, not directly executable on the host - but it can contain a full bootable OS, so a downloaded VHDX may harbour malware inside the guest. Run untrusted VMs isolated. Mounting/attaching a VHDX exposes its filesystem to the host, so scan unknown images before opening files inside. VHDX images hold whatever sensitive data the guest had (credentials, personal files) - handle as confidential. They can be very large (and WSL2/Dev Drive VHDX files grow over time - use Optimize-VHD/diskpart compact to reclaim space).

Format details

in a nutshell
FULL NAMEVirtual Hard Disk v2 (Hyper-V)
DEVELOPERMicrosoftsince Windows 8 / Windows Server 2012 (2012); spec [MS-VHDX]
MIME TYPEapplication/x-vhd
TYPEBinary virtual hard-disk container (successor to VHD) - holds a whole guest disk; up to 64 TB, with corruption-resistant logging
STANDARDOpen · royalty-free
MAGIC BYTES · FILE SIGNATURE
OFFSET
0001020304050607
HEX
7668647866696C65
ASCII
vhdxfile
A VHDX begins with the 8-byte ASCII signature "vhdxfile" at offset 0 (followed by a creator string). Unlike VHD (whose signature is a "conectix" footer), VHDX has a clear header signature at byte 0. It is a hard-disk image, not an optical/ISO image.

Programs that open VHDX files

Windows4 apps
7-Zip Open-source Open the .vhdx as an archive to extract files from inside without mounting/booting (read-only).
Hyper-V Built-in To RUN it as a machine: attach the .vhdx as a VM's disk in Hyper-V Manager (Windows Pro/Enterprise/Server feature) and start the VM.
Windows Disk Management (built-in) Built-in To browse files: Disk Management > Action > Attach VHD, select the .vhdx - it mounts as a drive letter (double-clicking in Explorer also mounts it). Detach when done.
PowerShell (Hyper-V module) Built-in Inspect/convert/resize: 'Get-VHD file.vhdx', 'Convert-VHD', 'Resize-VHD', 'Optimize-VHD' (compact). Mount with 'Mount-VHD'.
macOS1 app
qemu-img Open-source Inspect/convert: 'qemu-img info disk.vhdx', or convert to qcow2/raw/vmdk for use on macOS hypervisors.
Linux2 apps
qemu-img / libguestfs (guestmount) Open-source Convert with qemu-img ('qemu-img convert -O qcow2 disk.vhdx disk.qcow2'), or mount the guest filesystem read-only: 'guestmount -a disk.vhdx -i --ro /mnt'.
Oracle VirtualBox Open-source Attach the .vhdx to a VM (recent VirtualBox reads VHDX) and boot it.

Technical details

deep spec
Container structureFour regions: File Identifier (1 MB), Log (variable), Metadata (1 MB), Data (variable); all regions are 1 MB-aligned
Maximum virtual disk size64 TB (67,108,864 MB)
Supported disk typesFixed, Dynamically Expanding, and Differencing (parent-child snapshot)
File signature8-byte ASCII string "vhdxfile" at offset 0, followed by a 512-byte UTF-16LE creator string
Default data block size32 MB; configurable in powers of 2 from 1 MB to 256 MB
Supported logical sector sizes512 bytes (512n / 512e emulation) or 4,096 bytes (4Kn native)
Write-ordering logCircular journal in the Log region protects metadata and data against corruption on unexpected power loss
Block Allocation Table (BAT)Interleaves payload entries and sector-bitmap entries; tracks which blocks are allocated or zero-initialized
Differencing chainChild .avhdx files reference a parent via a Parent Locator entry in the metadata region; chains can be merged offline
GUID trackingEach disk carries a unique data GUID updated on every write, enabling snapshot-chain validation
Physical sector sizeStored in the metadata region; typically 512 bytes or 4,096 bytes to match the underlying host storage
MIME typeapplication/x-vhd (shared with the older VHD container by convention)
PowerShell managementNew-VHD, Convert-VHD, Resize-VHD, Mount-VHD, Dismount-VHD cmdlets via the Hyper-V PowerShell module
Maximum payload block countUp to 2^32 − 1 data blocks per disk, enabling 64 TB addressable space at the default 32 MB block size
ReleasedWindows 8 / Windows Server 2012 (2012); spec [MS-VHDX]
Open standardYes · royalty-free
Specificationlearn.microsoft.com

VHDX conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with VHDX files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about VHDX files.

Frequently asked questions

How do I open a VHDX file in Windows?
To read its files, open Disk Management > Action > Attach VHD (it handles VHDX too) or double-click the .vhdx in Explorer - it mounts as a drive letter. To run it as a machine, attach it to a VM in Hyper-V.
What's the difference between VHDX and VHD?
VHDX is the newer Microsoft virtual hard disk (since Windows 8 / Server 2012): up to 64 TB (vs 2 TB), corruption-resistant logging, and better performance. VHD is the older, more compatible format. Convert between them with Convert-VHD.
How do I convert VHDX to VHD?
PowerShell: 'Convert-VHD -Path in.vhdx -DestinationPath out.vhd', or Hyper-V Manager > Edit Disk > Convert. Do this when a tool or platform (e.g. some Azure cases) requires the older VHD.
Can I open a VHDX without Hyper-V?
Yes. Disk Management can attach/mount VHDX on any modern Windows (no Hyper-V needed), 7-Zip can extract files from it, and on Linux qemu-img/guestmount read it. Hyper-V is only needed to BOOT it as a VM.
Can I convert a VHDX to an ISO?
No - a VHDX is a hard-disk image, an ISO is an optical-disc image; they aren't interchangeable. Attach/mount the VHDX to copy files, or convert to VHD/VMDK/VDI/raw. A bootable ISO must be created from the OS separately.
Why is my .vhdx file so large / how do I shrink it?
Dynamic VHDX files keep space for deleted data and grow over time (common with WSL2's ext4.vhdx). Compact them with PowerShell 'Optimize-VHD' or diskpart's 'compact vdisk' after freeing space inside the guest.

References

1Microsoft Learn - [MS-VHDX] VHDX format specificationlearn.microsoft.com
2Microsoft Learn - Convert-VHD / Hyper-V PowerShelllearn.microsoft.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.MDMarkdown Document
4.BINCD/DVD Disc Image (BIN/CUE)
5.NOMEDIAAndroid No-Media Marker File
6.PARTPartial Download File
7.RPMSGRestricted Permission Message
8.EXEWindows Executable (Portable Executable)
9.AVIFAV1 Image File Format (AVIF)
10.DBSQLite Database File

Related extensions

.BINCD/DVD Disc Image (BIN/CUE)
.ISOISO disc image (ISO 9660 / UDF)
.MDFMedia Descriptor File (Alcohol 120% / DAEMON Tools disc image)
.DMGApple Disk Image
.NRGNero Burning ROM Disc Image
.TIBAcronis True Image Backup

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z