How to Mount a VHDX to Windows using a PowerShell Script
To mount a VHDX to Windows as a drive using PowerShell, run the command:
Mount-VHD -Path c:\my-folder\MyVirtualDisk.vhdx
or
Mount-VHD -Path c:\my-folder\MyVirtualDisk.vhdx -ReadOnly
Then remove the drive again by using:
Dismount-VHD -Path c:\my-folder\MyVirtualDisk.vhdx
This method can be used to copy files into a VM, for example, or to copy files from one VM to another, or from VM to host, etc. But if the VM is currently running, the virtual disk cannot be mounted. In that case you neeed to use this command.
Backup Software Overview
BackupChain Server Backup SoftwareDownload BackupChain
Cloud Backup
Backup VMware Workstation
Backup FTP
Backup VirtualBox
Backup File Server
Hyper-V Backup
Backup Hyper-VPopular
- Hyper-V Links, Guides, Tutorials & Comparisons
- Veeam Alternative
- How to Back up Cluster Shared Volumes
- DriveMaker: Map FTP, SFTP, S3 Site to a Drive Letter (Freeware)
Resources
- Free Hyper-V Server
- Remote Desktop Services Blog
- SCDPM Blog
- SCOM Blog
- V4 Articles
- Knowledge Base
- FAQ
- Sitemap
- Backup Education
- Backup Sichern
- Hyper-V Scripts in PowerShell
- FastNeuron
- BackupChain (Greek)
- BackupChain (Deutsch)
- BackupChain (Spanish)
- BackupChain (French)
- BackupChain (Dutch)
- BackupChain (Italian)
Backup Software List
BackupChain
Veeam
Unitrends
Symantec Backup Exec
BackupAssist
Acronis
Zetta
Altaro
Windows Server Backup
Microsoft DPM
Ahsay
CommVault
IBM
Other Backup How-To Guides
- Get All VHDX for All VMs with this PowerShell Script
- How to Open ISO in Hyper-V Server: Mount ISO to Drive
- Fix for Error 0x80780049, Backup ID 517
- 11 Things to Know About Hyper-V Snapshots / Checkpoints
- Volume Shadow Copy Service error EndPrepareSnapshots Cannot Find Anymore Diff Area
- Windows Server 2022 ISO Preview – Free Download
- Hyper-V Backup Quick Start Guide
- Windows 11 Final Release Free ISO Download Links
- How to fix error CLSID {463948d2-035d-4d1d-9bfc-473fece07dab} Access Denied
- 0x8004230f VSS_E_UNEXPECTED_PROVIDER_ERROR VSS snapshot creation failed
- 8 Pros and Cons of Hyper-V Backup using USB External Drives
- 8 Tape Backup Disadvantages and Issues You Need To Know
- Hyper-V VHD or VHDX? Advantages, Limitations, and Disadvantages
- Guidelines for Installing Microsoft Exchange 2013 in Hyper-V
- Windows Server 2012 R2 and Windows 8.1 Backup Software
- Hyper-V Backup Pulls Windows Server 2012 into Saved State
- Best Free Network Attached Storage for Files, Hyper-V, and Backups
- VMware Workstation Speed-Up, How to Fix Slow Performance
- Before You Use Carbonite, Mozy, CrashPlan, Rackspace, Softlayer
- VMware Scheduled Snapshot Creation in a Task, Fully Automated
