How to Copy and Paste on Virtual Machine | VMware & Hyper-V
Do you know how to copy and paste text between your local host and your virtual machine? It need to be set up in advance. Here I will introduce how to enable copy and paste on VMware Workstation, ESXi, and Hyper-V VMs.
Can you copy and paste between local and virtual machines?
Many users wonder how to copy and paste on virtual machine, or can they do it between local and VMs directly. The answer is YES. Actually, to improve efficiency, many hypervisor vendors add features that enable copy and paste on virtual machines.
If you find yourself cannot copy text from virtual machine to local machine or vice versa, it may because you haven’t set it properly. It is different from copying file to VMs. In this article, I will introduce how to copy and paste text between local machine and VMware or Hyper-V virtual machines.
*If you want to do it on VirtualBox, you can refer to: copy and paste on VirtualBox.
How to copy and paste on VMware Workstation virtual machine
To copy text from virtual machine to local machine or vice versa, you could refer to the following content. If you are using VMware Workstation, try these steps:
1. Launch VMware Workstation, select the target VM (no need to power on it), right-click on its name and select Settings…
2. Navigate to Options tab > Guest Isolation, check Enable copy and paste option and click OK to save.
Then you can copy and paste text between the host machine and the virtual machine.
How to transfer files between VMware ESXi and local pc
To transfer files between VMware ESXi and your local computer, you should set up the configuration steps like:
1. Access vSphere Web Client and power off the target VM. Navigate to Summary tab > Edit Settings > VM Options > Advanced and click Edit Configuration.
2. Click Add Configuration Params 3 times and it will add 3 new rows. Fill in the Name and Value fields with the following values:
3. Click OK to save and close the wizard.
This is how to copy and paste on virtual machines of VMware ESXi. After the setup, you can now power on the VM and use your clipboard on it.
How to enable copy and paste in Hyper-V enhanced session mode
This part introduces how to copy and paste on virtual machines of Hyper-V. You can also use Clipboard to copy text from the remote VM to the local computer.
✍ Note: If your Hyper-V host is a Windows 8.1 or Windows 10 computer, you can skip this step because Enhanced Session Mode is enabled by default. If the Enhanced Session option is grayed out, and you are unable to turn it on, you need to enable it from the settings panel first.
1. Launch Hyper-V Manager, right-click on the host name and select Hyper-V Settings…
2. Navigate to Enhanced Session Mode Policy from the left Server inventory, and check the Allow enhanced session mode option.
3. Navigate to Enhanced Session Mode from the left User inventory, and check the Use enhanced session mode option. Click OK to save.
4. Power on the VM, a VMConnect configuration window will pop up. Click Show Options.
✍ Note: If you noticed that "Show Options" is disappeared when connecting from your Hyper-V host to virtual machine with allowing enhanced session mode, you can try to install the appropriate display driver and restart your Hyper-V host to solve the "Show Issue".
5. Navigate to Local Resources tab and check the Clipboard option. Click Connect to save.
✎ To copy and paste files between physical machines and Hyper-V virtual machines, you can also try Remote Desktop Protocol (RDP) to copy files.
🚩 Want to copy files to virtual machine?
Compared to text, copying files to or between VMs will be more complicated. You can refer to transfer files to VM, or use AOMEI Centralized Backupper, the endpoint backup solution to transfer files via Backup & Restore.
Frequently asked questions about copying and pasting on virtual machine
Q: Does copy and paste work across different operating systems?
A: Yes, copy and paste generally works across different operating systems as long as the virtualization software supports the feature. It's one of the benefits of using virtualization.
Q: Is there a keyboard shortcut for copy and paste in virtual machines?
A: Yes, the standard keyboard shortcuts are usually Ctrl+C/Ctrl+V (or Command+C/Command+V on Mac) for copy and paste, respectively.
Q: Are there security concerns related to copy and paste in virtual machines?
A: While copy and paste enhance productivity, be cautious when copying sensitive information between your host and virtual machine, especially in shared or networked environments.
How to copy and paste on virtual machine, or between local and virtual machines? You need to set it up properly in advance. In this article, I mainly introduced how to enable copy and paste on virtual machines of VMware or Hyper-V. Hope it could help you.
And if you want to copy files from local to virtual machines. The steps will be more complex. I recommend you use centralized backup software to do so with easy steps and auto management.