Tips – Enable copy / paste through the console of a VMware virtual machine

Ce message est également disponible en : French

Tips to enable copy / paste between the guest operating system and the remote console.

This is very interesting if you have to work with a VM without network.

You have two possibilities. The first one, is to enable this option directly to the VM ( The VM needs to be powered off) or you can enable this option on the ESX. If you enable this option on your ESX, all the VM hosted on the ESX will have this option enable.

1 – Enable copy/paste for a specific virtual machine.

Log in to a vCenter Server system using the vSphere Client and power off the virtual machine.

  1. Select the virtual machine and click the Summary tab.
  2. Click Edit Settings.
  3. Navigate to Options > Advanced > General and click Configuration Parameters.
  4. Click Add Row.
  5. Type these values in the Name and Value columns:
    Name Value
    isolation.tools.copy.disable FALSE
    isolation.tools.paste.disable FALSE

Then click on “ok” and start the VM. Et voila !

2 – Enable copy/paste on your ESX

Enable this option for all the virtual machines in the ESX/ESXi host:

  1. Log in to the ESX/ESXi host as a root user.
  2. Take a backup of the /etc/vmware/config file.
  3. Open the /etc/vmware/config file using a text editor.
  4. Add these entries to the file:vmx.fullpath = “/bin/vmx”
    isolation.tools.copy.disable="FALSE"
    isolation.tools.paste.disable="FALSE"
  5. Save and close the file.

 

The Copy and Paste options are only enabled when the virtual machines restart or resume the next time or shutdown and power-on the virtual machine for changes to take effect.  This must be done on the virtual machine side, not the guest OS side.

Source : KB 1026437

Follow me

Julien Varela

Sr. Systems Engineer et blogger @vThink. Je suis passionné par les nouvelles technologies. Et tout particulièrement, celles concernant la virtualisation. j'ai su apporter par mon autonomie, ma curiosité, ma pugnacité et ma technicité mon expertise dans ce domaine.
Follow me

Leave a Reply