Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.
7-Zip 21.07, released on December 26, 2021, added the ability to extract supported contents from VHDX virtual disk images. That lets you retrieve files from an offline Hyper-V disk through 7-Zip without first mounting it as a Windows volume. It does not mount, boot, or repair the virtual machine’s disk, and 21.07 is a historical release—not a claim about the current version. The release notes describe the addition as support for unpacking Microsoft Hyper-V Virtual Hard Disk v2 format.
What VHDX extraction means
VHDX is a virtual hard-disk format used with Microsoft Hyper-V. A VHDX file stores the contents of a virtual disk; it is not an ordinary folder or a compressed archive. With 21.07, 7-Zip can parse supported contents and present them in its file manager or extract them to a directory.
This is useful when you need documents or other accessible files from an offline VM, backup, or exported virtual machine but do not need to start the guest operating system. The release note establishes the extraction capability, not universal compatibility with every partition, filesystem, encryption scheme, snapshot chain, or damaged image.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Extract a VHDX in 7-Zip File Manager
- Install 7-Zip from the official download page. The VHDX feature discussed here was introduced in 21.07; for a new installation, check the official page for the current build rather than seeking out an old installer.
- Open 7-Zip File Manager and browse to the
.vhdxfile. - Open the image. If 7-Zip can interpret its contents, you can browse the entries it recognizes.
- Select the files or folders you need and choose Extract.
- Choose a destination with enough free space, then start extraction. Check the output files afterward.
The exact right-click options depend on the 7-Zip build, Windows version, and whether shell integration is enabled; using 7-Zip File Manager avoids relying on a particular context-menu label. Extracting files is a read-oriented workflow, but work from a copy if the image is important or operationally sensitive.
#1 Best Overall
- Easily store and access 2TB to content on the go with the Seagate Portable Drive, a USB external hard drive
- Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
- To get set up, connect the portable hard drive to a computer for automatic recognition no software required
- This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
- The available storage capacity may vary.
Use the command line
These are standard 7-Zip command-line patterns. Run them from a Command Prompt where 7z.exe is available, or use its full path if it is not in PATH.
7z l "D:Imagesserver.vhdx"
l lists the contents 7-Zip can recognize. Try this before extracting so you can see whether the image opens and what is visible.
Rank #2
- Easily store and access 5TB of content on the go with the Seagate portable drive, a USB external hard Drive
- Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
- To get set up, connect the portable hard drive to a computer for automatic recognition software required
- This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
- The available storage capacity may vary.
7z x "D:Imagesserver.vhdx" -o"D:Recoveredserver"
x extracts while preserving the directory structure. The -o option specifies the output directory; keep the destination separate from the source image.
7z e "D:Imagesserver.vhdx" -o"D:Recoveredflat"
e extracts files into one flat directory, without recreating folders. That can cause name collisions in a large disk image, so x is usually the safer choice.
Rank #3
- Easily store and access 1TB to content on the go with the Seagate Portable Drive, a USB external hard drive.Specific uses: Personal
- Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop. Reformatting may be required for Mac
- To get set up, connect the portable hard drive to a computer for automatic recognition no software required
- This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
- The available storage capacity may vary.
7z t "D:Imagesserver.vhdx"
t tests the data 7-Zip can process; it is not a repair operation and does not prove that every filesystem item or metadata feature is intact. In scripts, -y answers prompts automatically, but use it cautiously because it can permit overwriting existing output files.
Extraction may need far more space than the VHDX file occupies on disk, particularly if the image is dynamically expanding. Check available storage and extract only what you need where possible. Avoid sending a full image into a nearly full system drive.
Rank #4
- 【Versatile Storage Expansion – For Gaming, Work & Everyday Use】 Running out of space on your PS5 or Xbox Series X/S? This external hard drive lets you store and play PS4 / Xbox One games directly, instantly freeing up your console’s internal storage for next‑gen titles. At the same time, it handles work file backups, media libraries, and cross‑device data transfers with ease. One drive, all your needs. *(Note: PS5 / Xbox Series X|S games cannot be run or stored directly from the external hard drive. However, by offloading your PS4 / Xbox One games, you can free up valuable space for newer titles.)*
- 【Patented Silicone Sleeve – Data Protection You Can Count On】 Worried about drops? We’ve got you covered. The patented built‑in silicone sleeve acts like a shock‑absorbing armor, cushioning your drive against bumps and falls. Whether it’s important work documents, precious family photos, or hard‑earned game saves, your data deserves this level of protection.
- 【Plug & Play, Compatible with Computers & Consoles】 No complicated setup—just plug in and go. Works seamlessly with Windows, Mac, and Linux computers, as well as PS4, PS5, Xbox One, and Xbox Series X/S. Process files at the office, back up data at home, or enjoy gaming in your downtime—one drive handles all your devices, simply and hassle‑free.
- 【USB 3.0 Ultra‑Fast Transfer – No More Waiting】 Tired of watching progress bars crawl? With USB 3.0 speeds up to 5Gbps, large files transfer in seconds. Whether you’re moving work documents, transferring hundreds of gigs of games, or backing up a year’s worth of photos, you get more done in less time.
- 【Sleek, Lightweight, and Ready to Go】 Weighing just 0.16 kg—lighter than a can of soda—this compact drive features a stylish mirror‑and‑frosted finish. Toss it in your bag and go, whether you’re heading to the office, visiting a friend for a gaming session, or giving a presentation on the road.
Extraction is not mounting
| Need | 7-Zip extraction | Windows or Hyper-V mounting |
|---|---|---|
| Copy out files 7-Zip recognizes | Yes | Yes |
| Browse as a drive-letter volume | No | Yes, when mounted successfully |
| Run the guest operating system | No | No; that requires booting the VM separately |
| Work with normal volume behavior or tools that need a mounted filesystem | Not the intended use | Better suited |
| Repair a damaged virtual disk | No | No; use appropriate recovery tools |
For a mounted-volume workflow, Microsoft documents the PowerShell Mount-VHD and Dismount-VHD commands. Availability and permissions depend on the Windows setup. Mounting is the better route when you need a drive letter, filesystem-aware utilities, or controlled changes; do not experiment on a production or evidence image without safeguards. For testing, use a copy or an appropriate differencing-disk workflow.
Free tools Windows power users keep installed
One-click scans. No signup required.
Limits and troubleshooting
7-Zip cannot open the image
Check that the file really is a VHDX, is accessible, and was copied completely. If a checksum is available, compare it. Run 7z l first, and use an official build that includes VHDX extraction support. If the image matters, preserve the original and test a copy. A mount attempt can help distinguish a parser-specific problem from a broader image problem, though neither method repairs corruption.
Best Value
- High capacity in a small enclosure – The small, lightweight design offers up to 6TB* capacity, making WD Elements portable hard drives the ideal companion for consumers on the go.
- Plug-and-play expandability
- Vast capacities up to 6TB[1] to store your photos, videos, music, important documents and more
- SuperSpeed USB 3.2 Gen 1 (5Gbps)
The image opens, but files appear to be missing
Opening the container does not guarantee that every partition or filesystem feature will appear as ordinary files. Multiple partitions, encryption, unsupported structures, differencing-disk relationships, snapshot data, or corruption can affect what is visible. Do not treat a partial listing as proof that the image contains no other data.
The contents are encrypted
7-Zip is not an encryption bypass. An encrypted guest volume normally must be unlocked with the appropriate password or recovery key, using a compatible workflow, before its files can be read.
Permissions, metadata, and forensic work
Extracted files may not preserve the original volume’s access-control lists, ownership, alternate data streams, reparse-point behavior, or other filesystem semantics. That may be inconsequential for ordinary documents but important for system files, applications, and investigations. For incident response or legal work, use a forensic copy, hash the source before handling it, and record the tool version, command, destination, and relevant timestamps. 7-Zip is a convenient extraction tool, not by itself a forensic acquisition or chain-of-custody solution.
Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchWindows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallOther changes in 21.07
VHDX unpacking was the headline change, but 21.07 also introduced the -spm and -im!{file_path} command-line switches for exclusion-related path handling. The Add to Archive dialog accepted parameters with the -m prefix, matching command-line syntax. The release also adjusted sorting in some prefix-name cases and improved the consistency of TAR archives created by 7-Zip with GNU TAR output. These changes are separate from VHDX support; see the release history for details.
Get 7-Zip safely
7-Zip 21.07 is a stable release from December 2021. If you need the feature today, download 7-Zip from the official site and consult the official release history; avoid assuming that 21.07 is the latest version. The main choice is straightforward: use 7-Zip for convenient extraction of supported files, and use Windows or Hyper-V mounting when you need the image to behave more like a disk volume.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

