Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have limited space on my C: drive and lots on my V: drive. I'd like to move the VMware Player's virtual HD files (and any large supporting files) to my V: drive.

Any pointers to how I do that?

(I'm afraid to just move the file. Tried that once w/ Virtual PC and it was a mess because the program was expecting it to be in the old location.)

share|improve this question
up vote 5 down vote accepted

VMWare is a company not a product, presumably you mean a client-based product such as VMWare Server or Workstation? if so can you update your question?

Probably the most fool-proof way of doing this would be to remove the server from your list of VMs but don't choose the 'remove from disk' option. Then move the VM directory/files from C: to V:, then browse to the new directory and double-click the appropriate .vmx file. This should then either add the VM back into your list or start a wizard to do the same. Worst case scenario just choose 'add new VM' and choose the 'use existing virtual disk' option.

share|improve this answer
Yes, I mean VMware Player. But I can't find the virtual hard drives (.VMDK) files. – Clay Nichols Dec 17 '10 at 2:41
I moved the folder that contained the .vmdk and .vmx, etc. files. Then double-clicked on the .vmx file and it asked if I had moved or copied the file (such smart software!). Viola! – Clay Nichols Dec 17 '10 at 2:55

I'm presuming you're talking about VMware Workstation -- just move the files where you want them, remove the virtual disks from the VM configuration (don't delete them), then add virtual disks, select the option to add existing virtual disks, then locate your .vmdk files.

Note that your virtual disk actually consists of the .vmdk, which is a metadata descriptor, and the -flat.vmdk, which actually contains the data. You'll want to move both of these to the same location.

share|improve this answer

Here's what I use. You'll need to change the env vars for your setup:

@Echo Off
SetLocal EnableExtensions EnableDelayedExpansion

Set VdskMgr=C:\Program Files (x86)\VMware\VMware Workstation\vmware-vdiskmanager.exe

Set VMDK=B:\Virtual Machines\VM3\*.vmdk
Set DestDir=C:\VMWare\Workstation\Virtual Machines\VM3

For %%A In ("%VMDK%") Do (
   Echo "%VdskMgr%" -n "%%A" "%DestDir%\%%~nxA"
   "%VdskMgr%" -n "%%A" "%DestDir%\%%~nxA"

Echo Manually edit the VMX file and change all "*:*.filename" entries to reflect the new location.
Echo For example, change:
Echo     scsi0:0.fileName = "XYZ.vmdk"
Echo to
Echo     scsi0:0.fileName = "%DestDir%\XYZ.vmdk"
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.