Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When I rename a virtual machine in vmware workstation, the old file names (e.g.: the hard drive file name) remains.

How do I manually rename these without messing up the virtual machine?

I'm not using the newest vmware workstation version.

share|improve this question

migrated from Feb 4 '10 at 23:58

This question came from our site for professional and enthusiast programmers.

4 Answers 4

The vmx file that stores the virtual machine's configuration is a just a text file. You can just rename all of the vm's files and then edit the vmx to point to those files.

share|improve this answer
Note that this is trickier if the VM has snapshots or if the VM is using split disks. Georgi Hristov's answer is more complete. –  jamesdlin Aug 29 at 21:05

If you are running vmware workstation 8, you can use the cloning function (VM-> Manage -> Clone), you can then give a new name to the cloned VM.

share|improve this answer
This does not rename the VMDK (hard-drive / disk) file names. –  Jeroen Wiert Pluimers Apr 10 '14 at 13:12

I use the import option to do this. This way I can keep a base VM on a share someplace called base-XP or whatever, then when I need a new test VM, I do an import and the disks are named according to the setting I specify when going through the import wizard.

share|improve this answer

You can rename files of VM without any VMware software. Or using bare-minimum VMware Player only.

First stop virtual machine and exit VMware Player if you do not done already.

Go to VM data folder (the one with your big VM files) and find few descriptor files alongside many virtual disk (VMDK) files. You only need to edit two files with your favorite text editor, namely:

  1. In VMX file this three properties are related:

    • scsi0:0.fileName
    • nvram
    • extendedConfigFile

    --> Just edit/change all of them with new name.

  2. In VMDK file under # Extent description section you will find sub-vmdk file names that all should be renamed, acording to your new name.

  3. Rename (manually or with renaming software) all VMDK-files on the file system, but you should remain intact (do not edit) last few (most often 5) characters, which are indexes (i.e. -s001.vmdk;-s002.vmdk, etc.)

share|improve this answer

Your Answer


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