VMware vSphere

 View Only
  • 1.  Enabling Copy and Paste on VM

    Posted Dec 27, 2017 11:34 PM

        Hello, I am having some issues getting copy and paste to work on my CentOS 7 machine.

    I have VMWare Tools installed on it without issues.

    I also have the following edited within my configuration parameters:

    isolation.tools.copy.disable    FALSE

    isolation.tools.paste.disable     FALSE

    I still cannot copy/paste after rebooting the VM.

    Please help, I have important log files I need to copy from my VM and cannot!

    Thanks!



  • 2.  RE: Enabling Copy and Paste on VM

    Posted Dec 28, 2017 05:04 AM

    Try this below:

    Click Option > Guest Isolation, then check Enable copy and paste options.

    Enable copy and paste in vmware



  • 3.  RE: Enabling Copy and Paste on VM

    Posted Dec 28, 2017 08:51 AM

    Run the following to put copy/paste configuration in the /etc/vmware/config file.

    grep -i 'vmx.fullpath = "/bin/vmx"' /etc/vmware/config || echo 'vmx.fullpath = "/bin/vmx"' >> /etc/vmware/config

    grep -i 'isolation.tools.copy.disable="FALSE"' /etc/vmware/config || echo 'isolation.tools.copy.disable="FALSE"' >> /etc/vmware/config

    grep -i 'isolation.tools.paste.disable="FALSE"' /etc/vmware/config || echo 'isolation.tools.paste.disable="FALSE"' >> /etc/vmware/config

    cat /etc/vmware/config



  • 4.  RE: Enabling Copy and Paste on VM

    Posted Dec 28, 2017 09:46 PM

    Here is the output of the /etc/vmware/config file after doing the steps mentioned.

    [root@localhost:~] cat /etc/vmware/config

    libdir = "/usr/lib/vmware"

    authd.proxy.nfc = "vmware-hostd:ha-nfc"

    authd.proxy.nfcssl = "vmware-hostd:ha-nfcssl"

    authd.proxy.vpxa-nfcssl = "vmware-vpxa:vpxa-nfcssl"

    authd.proxy.vpxa-nfc = "vmware-vpxa:vpxa-nfc"

    authd.fullpath = "/sbin/authd"

    vmx.fullpath = "/bin/vmx"

    isolation.tools.copy.disable="FALSE"

    isolation.tools.paste.disable="FALSE"

    [root@localhost:~]

    It still is not allowing me to copy and paste.



  • 5.  RE: Enabling Copy and Paste on VM

    Posted Dec 29, 2017 09:18 AM

    Hi,

    1. Log in to a vCenter Server system using the vSphere Client and power off the virtual machine.
    2. Select the virtual machine and click the Summary tab.
    3. Click Edit Settings.
    4. Navigate to Options > Advanced > General and click Configuration Parameters.
    5. Click Add Row.
    6. Type these values in the Name and Value columns:

      NameValue
      isolation.tools.copy.disableFALSE
      isolation.tools.paste.disableFALSE


      Note: These options override any settings made in the VMware Tools control panel of the guest operating system.

    7. Click OK to close the Configuration Parameters dialog, and click OK again to close the Virtual Machine Properties dialog.
    8. Power on the virtual machine.

    Note: If you perform vMotion of a virtual machine to a host where the isolation.tools.*="FALSE" is already set, the Copy and Paste options are automatically activated for that virtual machine.To enable Copy and Paste option for all the virtual machines in the ESXi/ESX 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 operating system side.