How to Change a Virtual Machine Name in VMware Player
Learn how to change a virtual machine's display name in VMware Player without renaming its host folder, virtual disks, or configuration files.
VMware Player lets you change the name shown for a virtual machine in its library. This is useful when you manage several similar guests, such as Ubuntu Development, Ubuntu Testing, and Ubuntu Clean Install.
This procedure changes the VMware Player display name only. It does not rename the guest operating system, the host-side virtual machine folder, or the files stored in that folder.
What the virtual machine name means
A virtual machine is a software-defined computer with virtual hardware and its own guest operating system. VMware Player is the desktop virtualization software used to run and manage those virtual machines.
The Virtual machine name is the user-facing label configured in VMware Player. After you edit it, the new value appears in the VMware Player library, which is the list of virtual machines available in the application.
This name is separate from the guest operating system's computer name or hostname. For example, changing the VMware Player name to Debian Server Lab does not change the hostname reported by Debian. Change the hostname from inside the guest operating system if that is your goal.
Before renaming the virtual machine
- Identify the intended virtual machine in the VMware Player library. Check its existing name and, if necessary, its guest operating system before changing anything.
- Shut down the guest operating system normally. Do not leave the virtual machine running or suspended while editing this setting.
- Make sure VMware Player can access the virtual machine configuration and its host-side files.
- Close other VMware sessions that may be using the same virtual machine. A locked or unavailable configuration may prevent settings from being edited.
If you need a refresher on guest and host terminology, see What Is a Guest Operating System and What Is a Virtual Machine.
Steps to change the display name
- Select the target virtual machine in the VMware Player library.
- Open the Player menu.
- Choose Manage, then choose Virtual Machine Settings.
- In the settings window, open the Options tab.
- Select General.
- Edit the Virtual machine name field. For example, change Windows Test to Windows 11 Lab.
- Click OK to save the change.
- Check the VMware Player library. The selected virtual machine should now show the new display name.
The navigation path is:
Player > Manage > Virtual Machine Settings > Options > GeneralThe setting you need is:
Virtual machine nameMenu wording can vary slightly between VMware Player releases, but the name field is located under the general options for the virtual machine.
What changes when you rename a virtual machine
| Item | Changes after editing Virtual machine name? | Notes |
|---|---|---|
| VMware Player library entry | Yes | The library displays the updated label. |
| Virtual machine display name setting | Yes | The new value is saved in the virtual machine configuration. |
| Guest operating system hostname | No | Change the computer name or hostname inside the guest operating system separately. |
| Host-side virtual machine folder | No | The virtual machine directory keeps its original name. |
| Configuration file name | No | The VMware virtual machine configuration file is not renamed by this setting. |
| Virtual disk file names | No | Virtual disk files and their contents keep their existing names and locations. |
| Snapshot and related file names | No | Snapshot files and other associated files are not renamed. |
Display name versus host-side file organization
A virtual machine directory is the folder on the host system that stores the configuration, virtual disks, snapshots, and other related files. The host system is the physical computer and operating system running VMware Player.
The VMware Player library name and the virtual machine directory name can be different. For example, after changing the display name from Old Linux VM to Debian Server Lab, the host folder may still be named Old Linux VM. The virtual disk and configuration files inside it can also retain their original names.
This separation is useful because you can organize the VMware Player library without moving or renaming large files. However, it can cause confusion when a library entry and its host folder appear to describe different machines.
If you need complete file-level renaming, use a separate, cautious procedure. Shut down the guest, preserve backups, and account for references in the virtual machine configuration before renaming or moving any host-side files. A display-name change alone is not a file-management operation. See Virtual Machine Files and Move a Virtual Machine for related file-organization topics.
Verify the change
- Confirm that the renamed item appears in the VMware Player library.
- Open Player > Manage > Virtual Machine Settings again.
- Open Options > General and confirm that the Virtual machine name field contains the new value.
- Click OK to close the settings window.
- Start the virtual machine and confirm that it remains available and starts normally.
Troubleshooting
The old name is still visible in the host file manager
This is expected when only the VMware Player display name was changed. The virtual machine directory and its files are separate from the display name, so they keep their old names unless you rename them through a separate file-management procedure.
The guest operating system still reports its previous computer name
The VMware Player virtual machine name is not the guest operating system hostname. Open the guest operating system's own system or network settings and change its hostname or computer name there.
The new name does not appear in the library
The change may not have been confirmed, the wrong virtual machine may have been selected, or the library view may need to refresh. Reopen Virtual Machine Settings, verify the value under Options > General, save with OK, and confirm that you selected the intended library entry.
The settings option cannot be edited
The virtual machine may still be running, suspended, locked, or unavailable. Shut down the guest operating system, close other VMware sessions using the machine, and verify that VMware Player can access the virtual machine configuration and its directory.