There are many couple of things I liked in VMware Server 2, one of them being the ability to create desktop shortcuts to a VM. Simple things like this are just taken for granted, until I tried the new hypervisor ESXi 4. Time to hit the search engine! (I refuse to call Google a friend, the cheesy part being least of my concern)
Someone apparently had the same problem (The internet is a great counselor; it provides relief to grief by telling you that someone out there shares the same fate as you) and gave a solution. For this we need VMware Remote Console from either Workstation or Server; I only attempted this with Server though.
- Create a shortcut to
vmware-vmrc.exeeither by selecting “Generate Virtual Machine Shortcut” in Server’s web UI or creating it manually.
- Get the path to the vmx file. In vSphere Client it’s Inventory > Virtual Machine > Edit Settings… > Options under Virtual Machine Configuration File.
- Append arguments to the shortcut in this format:
<path to vmware-vmrc.exe> -h esxihost -u username -p password -m <path to vmx>
Of course we can leave out the -u and -p options for interactive authentication. For the record, mine look like this:
C:\Users\root\AppData\Roaming\Mozilla\Firefox\Profiles\646a7374.default\extensions\VMwareVMRC@vmware.com\plugins\vmware-vmrc.exe -h 192.168.1.220 -m "[datastore] Ubuntu/Ubuntu.vmx"
Edit: There is a vmware-vmrc.exe, e.x.p build-158248, included with VMware vSphere Client (C:\Program Files\VMware\Infrastructure\Virtual Infrastructure Client\4.0) but I could not get it to work using the arguments given above. If anyone managed to do it (without VMware vSphere Client running) do drop a message.