How to Map VMware Disk to Windows Disk | 3 Ways

In some unexpected cases, you may not be able to power on a virtual machine. If you need to access the data without opening virtual machine, what should you do? This article covers 3 methods to map VMDK to Windows disk.

Crystal

By Crystal / Updated on June 28, 2022

Share this: instagram reddit

Map VMware disk to Windows disk

Mapping VMware disk to Windows disk allows you to connect to the virtual disk without opening a virtual machine. This method can help you access VM data in an emergency if your virtual machine fails.

When mapping VMDK to Windows disk, you should note that:

  • You cannot map a virtual hard disk for a shared or remote virtual machine.
  • After you map the virtual disk to a drive on the host system, the local disk mapped is temporarily inaccessible on the local host and can only be accessed if you power-off the virtual machine.

In the following, you will know about the specific procedures about mapping VMware disk to Windows disk.

How to map VMware disk to Windows disk (3 ways)

This article describes a total of 3 methods to map VMware disk to Windows disk.

Way 1. Map virtual disks in VMware Workstation

VMware Workstation has the built-in feature of to map VMware disk to Windows disk.

1. Open VMware Workstation and click File menu, then select Map Virtual Disks from the drop-down list.

map VMware disk to Windows disk

2. Click Browse to fine the VMware virtual disk and select the drive letter. Click OK.

It’s recommended that you open vmdk file in read-only mode to prevent any possible damage of virtual disks that belong to the snapshot chain after writing data.

select vmdk

3. Then the drive is mapped in Windows Explorer automatically, and access to right-click it and select Disconnect Virtual Disk.

Way 2. Use Windows Explorer to map VMDK to Windows disk

On Windows 7 and above, you are able to map ma vmdk to windows disk with Windows Explorer.

1. Navigate to the VMDK file in Windows Explorer, and right-click it. Then select Map Virtual Disk.

map wmdk using Windows Explorer

2. In the opened wizard, enter a file name and select the drive that you want to map to, and click OK.

3. Right-click the mapped drive and choose Disconnect Virtual Disk.

Way 3. Mount VMDK in Windows using vSphere Disk Development Kit

If you can access to vSphere Disk Development Kit, you can use VMware-mount command line to mount a VMDK in Windows without a GUI interface.

To mount a VMDK file (saved at D:\temp) in read-only mode use the following command:

vmware-mount.exe X: “D:\Temp\TestVM.vmdk”

If the VMDK file contains more than one partition, you can use the parameter /v:x to mount the other volumes:

vmware-mount.exe /v:2 X: “C:\Temp\TestVM.vmdk”

If you need a writeable access, just use the parameter “/m:w“. This is extremely helpful if you need to replace a broken system file.

vmware-mount.exe /m:w X: “C:\Temp\TestVM.vmdk”

To list all the mounted virtual drives use /L:

vmware-mount.exe /L

If it’s not so easy to install the Development Kit on your computer for some reason, you can refer to the former two methods.

Updated: match VMware VMDK files to Windows disk

If you want to extend the disk size of a VMware virtual machine or delete a disk, you need to figure out which VMware virtual disk matches the specific Windows VM disk. But when there are several VMDK (or RDM) disks of the same size or several virtual SCSI controllers are there in a virtual machine, it’s more difficult to find the disk you need.

First, you should get SCSI Device Number in Windows Disk Management and then open the virtual machine properties in the VMWare vSphere Client.

match vmdk to Windows disk

If multiple virtual disks with different SCSI controllers are configured on a virtual machine. You should match VMDK with Windows Disk using PowerShell. Using command line to gets all drives from the VMware virtual machine and the corresponding Windows guest, matches them to each other, and then saves the result to the .csv file.

To avoid unbootable virtual machines or corrupted disk files due to the accidents such as system upgrades or virus attacks etc., I recommend you to make backup VMware regularly.

Always protect VMware and  Windows disks from threats

In order to avoid errors during the process of mapping VMware disks to Windows disk and make sure VM data security, you should use a professional tool to backup your VMware virtual machines.

You can download and install AOMEI Centralized Backupper on the host computer as the central console, and install the Agent package on all client computers & VMs. Then you can centrally create File Backup, Partition Backup, System Backup, SQL Server Backup, or Real-Time Sync task for multiple physical and virtual machines. Meanwhile, this centralized backup tool also allow you to transfer files between controlled virtual machines and physical machines.

With this software, you will enjoy the following features and save time and expenses:

Complete backup and sync features: It enables you to create various backup and sync tasks of all controlled computers, with customizable backup schedule, retention policy, compression, encryption, splitting, etc.
Centralized management: It brings all Windows devices together in one easy-to-use console, so you can back up and manage them centrally.
Full compatibility: It supports all physical or virtual machines running Windows OS, including Windows Server 2019/2016/2012 (R2)/2008 (R2)/2003 (R2), Microsoft Windows Home Server (WHS) 2011, Windows Small Business Server (SBS) 2011 and Windows 10/8.1/8/7/Vista/XP.

Here's a 30-day free trial for you:

Download Free TrialWindows computers & VMs
Secure Download

Backup VMware VMs with the easy-to-use software

Preparations:

Install AOMEI Centralized Backupper manually from AOMEI Centralized Backupper package or use "Install client program" feature to install client program remotely.

  • After installing the software properly, launch AOMEI Centralized Backupper on the central server, and click "Computers" >> "Uncontrolled Computers" to select all the client computers you want to backup within LAN.
  • Then click "Request Control" >> "By sending a message" to send a request to all the selected computers. After they click "Agree" to confirm, you can proceed to create a backup task.

control computers for backup

Backup process:

1. Click "Tasks" >> "New Task" and then select a backup type according to your needs. Here select "Disk Backup" as an example.

VMware disk backup

2. Select "Add Computers" in Step 1 to add these client computers you want to back up.

3. There are two rules available in Step 2 that you can specify disks/partitions that you want them to be included.

Select data based on the client: manually select disks of one client computer you want to back up so that all the selected disks available on other clients will be included.

Select data based on the client

Select data based on backup rules: there are several given backup rules.

  • all disks: backup all local disks, including internal and external disks.
  • disks containing system partitions: backup the disks containing system partitions with "boot" and "system" flags, generally including C:drive and hidden boot system partitions.
  • disks containing partitions with specified drive letters: backup disks containing at least one partition with drive letters you specified. You can specify multiple drive letters.
  • disks containing partitions with matching labels: backup disks containing at least one partition with labels you specified. The specified text is case-insensitive.

Select data based on backup rules

4. In Step 3, right-click Share or NAS device or select Add Storage button to add storage repository.

5. After the basic settings, you can manage Settings or set up the Schedule and Scheme task.

  • Setting: Manage compression level, image spitting, backup mode (intelligent sector or exact backup), notifications, etc.
  • Schedule: Set up automatic backup Once/Daily/Weekly/Monthly, and choose to perform Full Backup/Incremental Backup/Differential Backup.

Schedule VMware backup

  • Scheme: Create a rule to auto delete backup older than x days and therefore save your storage space.

6. Click Start Backup to execute the task. When it's completed, you can find it in “Tasks” tab. Then you can click “Advanced” >> “Restore” to restore from the disk backup any time you need.

Following the on-screen instructions, you can easily recover the disk of virtual machine or physical machine. With the "Restore to another computer" option, you can even restore the backup to different machine.

restore to another computer

If you need to protect and manage multiple backups for computers, you can use AOMEI Centralized Backupper to perform centralized backup.

Summary

In this article, we have discussed how to map VMware disk to Windows disk and how to match VMDK to Windows disk. After mapping VMDK to windows disk, you can share file resource between the virtual machine and the host system.

Besides, remember to back up virtual machines before and after performing the operation in order to prevent data loss.

Crystal
Crystal · Editor
Crystal is an editor from AOMEI Technology. She mainly writes articles about virtual machine. She is a positive young lady likes to share articles with peolpe. Off work she loves travelling and cooking which is wonderful for life.