Home  >  Article  >  Computer Tutorials  >  How to enable copy and paste for VMware virtual machines

How to enable copy and paste for VMware virtual machines

WBOY
WBOYforward
2024-02-21 10:09:022121browse

You can easily copy and paste text and files between VMware virtual machines (VMs) and physical systems. This capability allows you to easily transfer images, formatted and unformatted text, and even email attachments between virtual machines and host systems. This article will show you how to enable this feature and demonstrate methods for copying data, files, and folders.

How to enable copy/paste in VMware

VMware provides three different ways to copy data, files or folders from a virtual machine to a physical computer and vice versa, as described below:

  • Copy and Paste Features
  • Drag and drop function
  • Folder Sharing
  • 1] Enable copy-paste using VMware Tools

    If your VMWare installation and guest operating system meet the requirements, you can enable copy and paste functionality using the keyboard shortcuts Ctrl C and Ctrl V.

    The first step to enable copy-paste functionality is to install VMware tools. If not installed, features will not function properly. If the application is not available in the VM, you can follow these steps:

    • Open VMware workstation.
    • Click Player>Management> to install VMware Tools.
    • Click the option to run exe.
    • Follow the on-screen instructions to complete the installation process and restart VMware when the process is complete.

    Now you can set it up with guest isolation. Isolation options allow you to restrict file operations between virtual machines and the host system and between virtual machines.

    • Click the player to manage virtual machine settings.
    • On the Settings page, click the Options tab and select the Guest Isolation option below it.
    • In the right pane, check the option Enable Copy and Paste.

    How to enable copy and paste for VMware virtual machines

    • Click OK to save changes and start the VM.

    For the changes to take effect, please restart the VMware application. Once completed, you can easily transfer text and files between the host system and the Linux or Windows guest operating system with a simple copy and paste.

    If the option to install VMware Tools is disabled, read how to fix it.

    2] Enable copy-paste using vCenter Server HTML5 Web Client

    If you are using HTML5 Webclicnet to access your VMware machine, follow these steps:

    • Shut down the virtual machine.
    • Open the VMware HTML5 client application.
    • _Select the virtual machine on which to enable copy-paste settings
    • Click to expand the Advanced section on the right pane and click Edit Configuration.

    How to enable copy and paste for VMware virtual machines

    • In the Edit Configuration window, click the Add Configuration Parameters button three times to add three new configuration parameters.

    How to enable copy and paste for VMware virtual machines

    • Enter the following command under the name and value fields:
    *值:
    *;
    *;
    *Isolation.tools.setGUIOptions.Enable:True

    Disable: FALSE: This specific parameter determines the status of whether copy operations from the VM to the host system are allowed. Please set it to FALSE to enable copy-paste.

    Solation.tools.paste.Disable: FALSE: Setting the value to FALSE with this parameter enables the paste option.

    Solation.tools.setGUIOptions.Enable: TRUE: This parameter adds context menu options between the VM and the host.

    • Click OK to save changes and exit the configuration settings window.
    • Open the VM to use copy/paste functionality.

    3]Enable drag and drop functionality

    Drag and drop functionality can copy files, directories, formatted and plain text, images and email attachments. When using the drag and drop feature, VMware Workstation copies the original file and pastes its exact image to the destination location. That said, be sure to read up on the requirements and restrictions.

    As with the copy and paste functionality, you must enable VMware Tools to enable drag-and-drop functionality.

    • Click the player to manage virtual machine settings.
    • On the Settings page, click the Options tab and select the Guest Isolation option below it.
    • In the right pane, check the "Enable drag and drop" option.

    How to enable copy and paste for VMware virtual machines

    • Click OK to save changes and start the VM.

    After completing the above configuration, you can use the mouse buttons to drag and drop the relevant files or folders from the source to the target.

    4]How to enable folder copying/sharing in VMware

    VMware also allows sharing folders between the host and guests. However, this feature only works on the following guest operating systems: Windows Server 2016/2012 R2/2008/2003, Windows 11/10/8/7/Vista, Linux with kernel version 2.6 and above, Solaris x86 10 update 1 or higher.

    • 创建要在Windows主机上共享的文件夹。
    • 关闭VM。
    • 在VMware工作站中,选择要与其共享文件夹的虚拟机,然后单击编辑虚拟机设置。
    • 在“设置”页面上,单击“选项”选项卡,然后选择其下的“共享”选项。
    • 选择Always Enable选项,然后单击底部的Add按钮以打开Add Shared Folders向导。

    How to enable copy and paste for VMware virtual machines

    • 然后,您可以使用添加共享文件夹向导在主机中添加共享文件夹路径。单击浏览以选择要共享的文件夹路径,然后单击下一步。
    • 在下一个屏幕上,根据需要选择其他共享属性,如Enable This Share或Read-Only,然后单击Finish。

    How to enable copy and paste for VMware virtual machines

    • 现在启动虚拟机并检查以下路径下的共享文件夹,或者您可以使用文件资源管理器检查网络文件夹。
    /mnt/hgfs/[共享文件夹名称]-对于Linux来宾,
    
    /hgfs/[共享文件夹名]-适用于Solaris来宾和
    
    \VMware-hostShared Folders[共享文件夹名]-适用于Windows来宾

    发布本文;您可以使用来宾操作系统用户界面或命令行工具复制和粘贴文件。

    我希望该指南对您有所帮助,您可以很容易地使用VMware虚拟机中的复制-粘贴功能。

    如何打开VMware设置?

    要启动Workstation Player,您可以双击VMware Player图标,或选择开始>;所有程序>;VMware Player。一旦打开了VMware Player窗口,点击“Open a Virtual Machine”。然后,浏览并选择您要打开的虚拟机的虚拟机配置(VMX)文件,然后单击“Open”。

    什么是VMDK文件?

    The VMDK file format is used for virtual machine (VM) disk image files. VMDK files contain a complete and independent virtual machine and are commonly used with VMware virtual appliances.

    The above is the detailed content of How to enable copy and paste for VMware virtual machines. For more information, please follow other related articles on the PHP Chinese website!

    Statement:
    This article is reproduced at:mryunwei.com. If there is any infringement, please contact admin@php.cn delete