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
- Hyper-V, VMware, and VirtualBox Hypervisor Limitations
- Windows Server 2022 ISO Preview – Free Download
- Windows Server 2012 R2 and Windows 8.1 Backup Software
- Resolving VSS_WS_FAILED_AT_FREEZE Backup Errors
- KB 2885541 Packet sniffing tool does not sniff all network traffic through port mirroring on Windows 2012 Server VMs
- 4 Things You Need To Know About Hyper-V Integration Services
- How to remove Acronis and StorageCraft VSS driver / provider
- Hyper-V Backup Links, Guides, Tutorials & Comparisons
- How to fix: Selected writer ‘Microsoft Hyper-V VSS Writer’ is in failed state, VSS_WS_FAILED_AT_PREPARE_SNAPSHOT
- What are Hyper-V Checkpoints, Snapshots, and VSS?
- Incremental Backup vs. Differential Backup
- Windows 8 Client Hyper-V Limitations, Intro, and Pitfalls
- Free eBooks for Hyper-V and Windows Server Admins
- Hyper-V Server 2016 Download Locations + 2012 R2, 2008
- Windows Server 2012: Hotfixes for Cluster Servers
- Download Linux Integration Services 3.5 for Hyper-V
- Hyper-V CSV backup: What needs to be considered for VM backups?
- Destination Path Too Long Fixed: Freeware Tool Deletes Long Path
- Get All VHDX for All VMs with this PowerShell Script
- File Server Backup Software for Windows
