Rename vm (files) on vmware workstation

Solution 1:

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.

Solution 2:

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.)

Solution 3:

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.

Solution 4:

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.