VMware shared clipboard seamlessly synchronizes text and file copying between the host operating system and virtual machine. It also allows folder sharing from one operating system to another operating system. But in default, copy-paste and folder sharing are not allowed by the VMware shared clipboard between virtual machines.
In this article, we’ll delve into the methods of how to enable shared clipboard in VMware.
What is Shared Clipboard in VMware?
The shared clipboard is a feature that allows users to copy and paste text and files between the host operating system and the virtual machine. This functionality enables smooth data transfer and simplifies workflow integration, enhancing productivity and collaboration in virtualized environments.
Note: Installing VMware tools on the VMware is a must-have pre-requisite to enable the two functionalities of the shared clipboard.
How to Enable Copy Paste on VMware
To enable copy and paste on VMware, you can either configure the “guest isolation” option from settings or modify the contents of the “VMX file”.
Method 1: Enable Copy Paste by Configuring the Guest Isolation Option
To enable copy and paste by configuring the Guest Isolation, follow the steps below:
- Install or Reinstall VMware Tools by navigating to VM>Power on > Right-Click >Install VMware tools. Alternatively, run the following command to install VMware tools.
sudo apt install -y --reinstall open-vm-tools-desktop
- Open VMware Workstation, choose the desired VM (no need to power it on), then right-click on its name and select “Settings…” from the menu.
- Navigate to the “Options” tab and select “Guest Isolation”. Then, check the “Enable copy and paste” option.
- Finally, click “OK” to save the changes.
Method 2. Enable Copy Paste by Configuring the VMX File
You can also configure the copy-and-paste function by modifying the configuration file (vmx file). To accomplish that adhere to the steps:
- Open VMware and choose a VM. Keep the power off of the guest operating system (VM).
- Now, Right-click on the VM and click on the ‘Open VM directory’ which will take you to the directory of the VM in the host operating system.
- Now, open the ‘.vmx’ file with Notepad.
- After that, Fill in the Name and Value fields as mentioned below.
Name Value isolation.tools.copy.disable FALSE isolation.tools.paste.disable FALSE isolation.tools.hgfs.disable FALSE - Press CTRL+S to save. Now, exit and power on the VM.
With that, the text and file transferring feature of Shared Clipboard has been enabled successfully.
How to Enable Shared Folders in VMware
To enable shared folders in VMware, you need to use intermediary steps. Follow the steps below:
- Open VMware Workstation, choose the virtual machine, and click “VM > Settings…” from the dropdown menu.
- Navigate to Options > Shared Folders. Now, choose “Always enabled” from three options.
- In the “Folders section”, click on “Add” to open the Shared Folder wizard, then click “Next” to proceed.
- Here, click on the “Browse” option to specify the folder along with its path. Secondly, give a name to the file and click on Next.
- Specify shared folder attributes between the “Enable this share” and “Read-only” options. Check the ‘Enable this share’ option and click on the ‘Finish’ button. Here, you can see that a file has been added which can be shared now.
vmware-hgfsclient
Conclusion
VMware’s Shared Clipboard features are a powerful tool that empowers users to transfer data seamlessly between most and guest operating systems. By eliminating the need for complex data transfer processes, this feature significantly enhances the overall user experience and productivity within virtualized environments.
People Also Ask
How do I disable the shared clipboard in VMware?
To disable the shared clipboard in VMware, follow the steps below:
- Launch VMware and select the target VM.
- Turn off the Guest Virtual Machine.
- Navigate to VM > Settings.
- Click on the “Options” and then locate the “Guest Isolation” section. Uncheck the “Always enabled” option and check the “Disabled” option.
Alternatively, You have to simply uninstall the VMware tools to disable the copy-paste feature of the shared clipboard.
Why are VMware tools greyed out?
The reasons for the VMware tools being grayed out are:
- The virtual machine is powered off.
- VMware Tools are already installed.
- Compatibility issues.
- Insufficient permissions.
Why is the copy-paste not working on a virtual machine?
The copy-paste function might not work on a virtual machine due to several reasons:
- Incomplete tools installation.
- Disabled shared clipboard or drag-and-drop functionality in the virtual machine settings.
- Restrictions imposed by security software or policies.
- Compatibility issues between the host and guest operating systems.
- Conflicts with other applications or settings within the guest operating system.
Are there security concerns related to copy and paste in virtual machines?
Yes, enabling copy-paste between virtual machines sometimes can lead to the unintentional transfer of sensitive data and allow malware to spread between host and guest systems, comprising security. Limiting or disabling this feature helps mitigate these risks.
Can I copy and paste between different virtual machines in VMware?
Yes. When the copy-and-paste option is activated, you can easily move files and other data back and forth between your main and secondary operating systems.
Should I install VMware tools to use copy and paste?
Indeed, it’s necessary to install the VMware Tools on the guest operating system. Otherwise, the capability to copy and paste between the host and guest in VMware is unavailable.
Related Articles
- Installing Ubuntu on VMware Workstation [Easiest Guide]
- [Solved] VMware tools not running
- A Comprehensive Guide on Installing Kali Linux on VMware
- Installing Arch Linux on VMware [Easiest Guide]
- Installing Ubuntu on VMware Player [Easiest Guide]
- [Fixed] Operating System Not Found on VMware
- VMware Workstation Pro vs VMware Player [Ultimate Comparison]
<< Go Back to Virtual Machine Installation Guide | Linux OS Installation Guide | Learn Linux Basics
FUNDAMENTALS A Complete Guide for Beginners