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.


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

  • 1
    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. – wimh Jun 20 '12 at 10:08
  • However I can choose Manage>Share after opening it. I'll do some tests with it. – wimh Jun 20 '12 at 10:47
  • 1
    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. – wimh Jun 21 '12 at 10:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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