Super User is a question and answer site for computer enthusiasts and power users. 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 like to add existing vmware (player) virtual machines to the vmware workstation 8 inventory on linux. When I create a new virtual machine, it is stored in /var/lib/vmware/Shared VMs/. But copying new directories to that folder, does not make them appear in the workstation window.

I found out, the inventory is stored in /etc/vmware/hostd/vmInventory.xml;

  <ConfigEntry id="0000">
    <vmxCfgPath>/var/lib/vmware/Shared VMs/test 1234/test 1234.vmx</vmxCfgPath>

But I don't know if I break anything when adding entries myself, and giving it an unique ID. Besides, adding a large number of VMs this way is a bit cumbersome.

On ESX, it was possible to use vmware-cmd -s register, but I don't have a vmware-cmd installed. In another question it was suggested to use vmware converter. But vmware converter 5 (on windows) only allows a destination file location when I select workstation as destination type. When I select vmware infrastructure as destination type, it says the destination is unsupported; it required vmware vcenter server.

share|improve this question
up vote 3 down vote accepted

Just open the VMX file with VMware Workstation. It will add it to the inventory.

share|improve this answer
That will add it to ~/.vmware/inventory.vmls, but not to /etc/vmware/hostd/vmInventory.xml. It is also not visible in the list of VMs to automatically start when the host starts. – Wimmel Jun 20 '12 at 10:08
However I can choose Manage>Share after opening it. I'll do some tests with it. – Wimmel Jun 20 '12 at 10:47
It is working, however it is not possible to share a VM which is suspended. So it only works for VMs which are completely shut down. – Wimmel Jun 21 '12 at 10:50

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.