VMRC to ESXi Guest

At work I’ve been using the VMRC application for remote access to guests for some time with great success. This process gives you an instant remote session to your VM without needing to open ports/add software, etc. Basically it makes use of some …

Advertisements

At work I’ve been using the VMRC application for remote access to guests for some time with great success. This process gives you an instant remote session to your VM without needing to open ports/add software, etc.

Basically it makes use of some cli options run against the VMWare Remote Console. First you need to get the vmware-vmrc.exe on your machine, easiest is to install the Infrastructure Client, vmrc.exe will be located in (Windows):
C:Program FilesVMwareInfrastructureVirtual Infrastructure Client4.0

On Linux if you have VMWare Server installed you can find it in:
/usr/lib/vmware/webAccess/tomcat/apache-tomcat-6.0.16/webapps/ui/plugin

Now we can just simply create a desktop shortcut pointing to the vmrc.exe path with the following options:

-h
This is where you enter the host IP of your ESXi box.

-u
Optionally you can insert the username of the ESXi box you want to connect to, if left blank you will be prompted for credentials.

-p
Optionally you can insert the password of the ESXi box you want to connect to, if left blank you will be prompted for credentials.

The last piece is the path to the disk file, you can get this info. by copying/pasting the Disk File path as shown in the Settings—Hard Disk options of the VM. Note: You must point to the guest’s *.vmx file and not the *.vmdk file as shown by default!

A complete (must insert your own info. for server, user, etc.) path for reference:

C:Program FilesVMwareInfrastructureVirtual Infrastructure Client4.0vmware-vmrc.exe” -h  -u “” -p “” “[ESXPATH] PathEsxi/PathEsxi.vmx”

Author: Travis Kensil

Director of IT. Husband and father. Michigan beachbum.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s