Windows OS Hub
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux
  • Home
  • About

Windows OS Hub

  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux

 Windows OS Hub / Virtualization / VMware / How to Enable Copy and Paste for a VMware Virtual Machine

March 12, 2024

How to Enable Copy and Paste for a VMware Virtual Machine

For security reasons, the clipboard is disabled by default in the VMware vSphere Client. This means that you cannot use copy/paste operations between the OS and your computer when you are connected to the VMware virtual machine console. This article explains how to enable clipboard copy and paste for a VMware VM.

Contents:
  • Copy, Paste, Drag-and-Drop Features Not Working in VMware Workstation
  • Enabling Clipboard Copy and Paste in VMware ESXi

Copy, Paste, Drag-and-Drop Features Not Working in VMware Workstation

By default, VMware Workstation allows you to use the clipboard for copy/paste operations through the Virtual Machine Management Console.

Check the following if the clipboard does not work for any reason:

  • Make sure that VMware Tools are installed in the virtual machine and update them if necessary;
  • Check that the clipboard and drag-and-drop settings are enabled in the VM settings.
  1. Open VMware Workstation -> VM -> Settings -> Options tab;
  2. Select Guest Isolation;
  3. There are two checkboxes here:
    Enable drag and drop
    Enable copy and paste

    Enable them both and save VM settings. Enable copy/paste and drag-and-drop for VMware Workstation VM

  4. Start your VM.

You can now use the clipboard to copy/paste files and text between your host and guest OS in a VMware Workstation virtual machine.

Alternatively, you can enable these options manually in the virtual machine’s VMX file.

isolation.tools.copy.disable = "FALSE"
isolation.tools.dnd.disable = "FALSE"
isolation.tools.paste.disable = "FALSE"
isolation.tools.hgfs.disable= "FALSE"

Enabling Clipboard Copy and Paste in VMware ESXi

Now let’s look at enabling the clipboard in the VMware vSphere Web Client or VMware ESXi Host Client (HTML5-based).

  1. For the clipboard to work in an ESXi virtual machine, VMTools must be installed in the guest OS;
    Linux VMs require open-vm-toolbox or open-vm-tools to be installed. Check they are installed (for Ubuntu):
    $ sudo service vmware-tools status
  2. Power off your virtual machine;
  3. Open the VM settings. Go to the VM Options -> Advanced -> Edit Configuration; VMware VM configuration
  4. Click Add Configuration Params and add three options:
    isolation.tools.copy.disable = FALSE
    isolation.tools.paste.disable = FALSE
    isolation.tools.setGUIOptions.enable  = TRUE
    

    ESXi vm: isolation.tools.paste.disable

  5. Save the changes and power on the VM;
  6. Ensure that the clipboard now works for this VM so that you can copy and paste content via VMRC.

The VMX configuration file of the virtual machine on the datastore can also be used to enable these parameters.

  1. Connect to the ESXi host using SSH;
  2. Edit the virtual machine VMX file using vi:
    # vi /vmfs/volumes/volume_id/mun-srv01/mun-srv01.vmx
  3. Add the lines:
    isolation.tools.copy.disable="FALSE"
    isolation.tools.paste.disable="FALSE"
    isolation.tools.SetGUIOptions.enable="TRUE"
    

    VMware VM: enable clipboard in VMX config file

  4. Save the changes and run the VM.

You can enable the clipboard for all VMs on an ESXi host at once.

  1. First, backup the /etc/vmware/config file:# cp /etc/vmware/config /etc/vmware/config_bak
  2. Edit the file:
    # vi /etc/vmware/config
  3. Add the lines:
    vmx.fullpath = "/bin/vmx"isolation.tools.copy.disable="FALSE"
    isolation.tools.paste.disable="FALSE"
    isolation.tools.SetGUIOptions.enable="TRUE"
    

    Allow to use VMware console copy and paste for all VMs

  4. Reboot the ESXi host.

You can also enable clipboard options using PowerShell.

  1. Install the VMware PowerCLI module on your computer: Install-Module -Name VMware.PowerCLI
  2. Connect to vCenter or ESXi:Connect-VIServer <FQDN_of_vCenter_or_ESXi_host>
  3. Enable the following options for your VM:
    $VM = Get-VM -Name mun-srv01
    New-AdvancedSetting -Entity $VM.name -Name isolation.tools.copy.disable -Value False -Confirm:$false -Force:$true
    New-AdvancedSetting -Entity $VM.name -Name isolation.tools.paste.disable -Value False -Confirm:$false -Force:$true
    New-AdvancedSetting -Entity $VM.name -Name isolation.tools.setGUIOptions.enable -Value True -Confirm:$false -Force:$true

If the clipboard doesn’t work in the HTML version of your VMware client, try to install VMRC on your computer and use it to connect to the VM.

Use VMware Remote Console (VMRC) for clipboard operations

1 comment
2
Facebook Twitter Google + Pinterest
VMware
previous post
Error: The Specified Domain Doesn’t Exist or Couldn’t Be Contacted
next post
Mounting an ISO Image File in Windows

Related Reading

How to Fix ‘An Operating System Wasn’t Found’...

August 24, 2023

How to Install Free VMware Hypervisor (ESXi)

March 17, 2024

Reset Root Password in VMware ESXi

October 6, 2023

Adding ESXi Host to VMware vCenter Server (vCSA)

March 12, 2024

Unmounting an NFS Datastore from VMware ESXi

March 12, 2024

How to Migrate (Import) VMs from VMware ESXi...

July 24, 2024

How to Increase Virtual Machine Disk Size in...

March 17, 2024

Managing VMware Infrastructure with Ansible

December 11, 2023

1 comment

A Person November 1, 2024 - 9:22 pm

This worked for ESXi 8. Add the following lines to the config file:
isolation.tools.copy.disable=”FALSE”
isolation.tools.paste.disable=”FALSE”
isolation.tools.SetGUIOptions.enable=”TRUE”

The first line wasn’t necessary:
vmx.fullpath = “/bin/vmx”

Reply

Leave a Comment Cancel Reply

join us telegram channel https://t.me/woshub
Join WindowsHub Telegram channel to get the latest updates!

Recent Posts

  • Failed to Open the Group Policy Object on a Computer

    June 2, 2025
  • Remote Desktop Printing with RD Easy Print Redirection

    June 2, 2025
  • Disable the Lock Screen Widgets in Windows 11

    May 26, 2025
  • Configuring Windows Protected Print Mode (WPP)

    May 19, 2025
  • Map a Network Drive over SSH (SSHFS) in Windows

    May 13, 2025
  • Configure NTP Time Source for Active Directory Domain

    May 6, 2025
  • Cannot Install Network Adapter Drivers on Windows Server

    April 29, 2025
  • Change BIOS from Legacy to UEFI without Reinstalling Windows

    April 21, 2025
  • How to Prefer IPv4 over IPv6 in Windows Networks

    April 9, 2025
  • Load Drivers from WinPE or Recovery CMD

    March 26, 2025

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • How to Fix ‘An Operating System Wasn’t Found’ Error on Windows
  • How to Install Free VMware Hypervisor (ESXi)
  • How to Migrate (Import) VMs from VMware ESXi to Proxmox
  • Reset Root Password in VMware ESXi
  • Unmounting an NFS Datastore from VMware ESXi
  • Set up SSH Key-Based Authentication on VMware ESXi
  • How to Increase Virtual Machine Disk Size in VMware
Footer Logo

@2014 - 2024 - Windows OS Hub. All about operating systems for sysadmins


Back To Top