VMware ESXi and vSphere Cluster Management
Using Drag-and-Drop in VMware Workstation Player
Learn how to drag files, folders, text, images, and email attachments between a host and VMware Workstation Player guest, including requirements and limitations.
What Drag-and-Drop Does
Drag-and-drop is an interface action in which you select content, drag it to another system or application area, and release it. In VMware Workstation Player, it can transfer supported content between the host system and an active virtual machine (VM).
The host system is the physical computer and operating system running VMware Workstation Player. The guest operating system is the operating system installed inside the VM.
Drag-and-drop creates a copy at the destination. It does not remove the original item. After the transfer, the source and destination copies are independent: editing one copy does not update the other.
Transfer Directions and Destinations
Host to guest
You can drag supported content from the host desktop or an application into a suitable destination in the guest. For example, drag a file from the host into a guest folder, or drag text from a host application into a compatible guest application.
Guest to host
You can also drag supported content from the guest to the host when the operating systems, graphical desktop environments, and receiving applications support the operation. The receiving system must have a suitable destination, such as a folder or an application that accepts the dragged content.
A successful drag therefore depends on both endpoints: VMware integration must be available, and the destination application or file location must accept the content type.
Supported Content and Limitations
| Content type | Supported | Limit or restriction |
|---|---|---|
| Files | Yes | Transferred as a copy to a suitable file location. |
| Directories or folders | Yes | Supported when the operating systems and destination accept folder drops. |
| Email attachments | Yes | The attachment must be smaller than 4 MB. |
| Plain text | Yes | The text must be Unicode and smaller than 4 MB. |
| Formatted text | Yes | The receiving application must support the dragged formatting and the text must meet the Unicode and size requirements. |
| Images | Restricted | Application-level image dragging is supported only when both the host-side and guest-side applications run on Windows. |
An image file and an application-level image drag are different cases. A file whose contents happen to be an image may be handled as a file transfer when a supported file destination accepts it. This does not mean that dragging an image from one application into another is supported across Linux or other restricted combinations.
For text and email attachments, “smaller than 4 MB” means the payload must be below 4 MB. A payload of exactly 4 MB, or larger, does not meet the stated limit.
Prerequisites
VMware Tools must be installed and functioning in the guest. VMware Tools is a set of guest-side VMware components that enables enhanced integration features, including drag-and-drop.
The VM must be running, and the guest must have a usable graphical desktop session. Drag-and-drop is not a general-purpose service for a guest that is stopped or operating only at a text console.
| Environment | Required condition | Notes |
|---|---|---|
| All guest operating systems | VMware Tools installed | The guest-side integration components must be available and functioning. |
| Linux host or guest | X-Windows running | X-Windows is the graphical windowing environment required for supported Linux host and guest scenarios. |
| Solaris 10 guest | Xorg and JDS/GNOME | The guest requires the Xorg display server and the JDS/GNOME desktop environment. |
X-Windows is a graphical windowing environment used by supported Linux systems. Xorg is an implementation of the X Window System. JDS/GNOME is the desktop environment required for the specified Solaris 10 guest scenario.
Windows Host-to-Guest File Example
This example copies important.txt from a Windows host to a Windows guest.
- Keep
important.txton the Windows host, either on the desktop or in File Explorer. - Start the Windows guest in VMware Workstation Player and wait for its graphical desktop to become usable.
- Open the destination folder in the guest.
- Select
important.txton the host, hold the mouse button, and drag the file into the open guest folder. - Release the mouse button while the pointer is over the guest destination.
- Check the guest folder for the copied file.
The original important.txt remains on the host. Opening or editing the guest copy does not change the host copy, and editing the host copy does not change the guest copy.
Transferring Text
To transfer text, select a Unicode text selection in the source application and drag it into a compatible application in the receiving system. Plain text and formatted text can be supported, but the destination application determines whether it accepts the content and preserves formatting.
The dragged text must be smaller than 4 MB. Text that is not Unicode, text at or above the size limit, or text dropped into an incompatible application may fail.
Transferring Images
Application-level image dragging has a specific restriction: both the host-side application and the guest-side application must be running on Windows. Do not expect this form of image dragging to work when either endpoint is a Linux host or a Linux guest.
If image dragging between applications is unavailable, treat the image as a file and use a supported file-transfer method when appropriate. This is different from expecting one application to provide an image object directly to another application through drag-and-drop.
Operational Boundaries
- The VM must be active and displaying a usable graphical desktop.
- VMware Tools must be installed in the guest.
- Linux host and guest environments require X-Windows.
- A Solaris 10 guest requires Xorg and JDS/GNOME.
- The destination must be a suitable folder or application.
- Email attachments and dragged text must be smaller than 4 MB.
- Only Unicode text is supported for text dragging.
- Application-level image dragging requires Windows applications on both sides.
- The result is a copy, not a move or synchronized duplicate.
Practical Examples of Limitations
Formatted text between Windows applications
Select a Unicode text selection below 4 MB in a host application and drag it into a compatible guest application. If the destination supports the dragged format, it may receive the text and supported formatting. The receiving application controls what formatting is retained.
Image drag involving Linux
If either endpoint is a Linux host or Linux guest, do not expect application-level image dragging to work. Use a file-based transfer or another supported sharing method instead.
Oversized email attachment
An email attachment at or above 4 MB cannot be transferred with this drag-and-drop feature. Use another transfer method for larger attachments.
Troubleshooting
Drag-and-drop does not work at all
Check that VMware Tools is installed and functioning in the guest. Confirm that the guest is running a supported graphical desktop session and that the environment-specific requirements are met. Linux scenarios require X-Windows; the specified Solaris 10 scenario requires Xorg and JDS/GNOME.
Dragging an image between applications fails
Check whether one endpoint is Linux or whether the host-side and guest-side applications are not both Windows applications. Application-level image dragging is restricted to Windows applications on both sides. Transfer the image as a file through a supported alternative when necessary.
Text cannot be dropped
Possible causes include non-Unicode text, a text payload that reaches or exceeds 4 MB, or a destination application that does not accept the dragged format. Try a smaller Unicode selection and a compatible receiving application.
An email attachment cannot be dragged
Verify that the attachment is smaller than 4 MB and that the guest integration prerequisites are present. For attachments at or above the limit, use another transfer method.
The source file is still present
This is expected. Drag-and-drop copies the file, so the source remains unchanged. Delete the original manually only if it is no longer needed, and do not expect edits to propagate between the two copies.
Exam-Relevant Notes
- VMware Tools is the main guest-side prerequisite for drag-and-drop.
- Drag-and-drop copies content; it does not move the source or synchronize the copies.
- Linux host and guest environments require X-Windows.
- Solaris 10 guests require Xorg and JDS/GNOME.
- Only Unicode text is supported, and dragged text must be smaller than 4 MB.
- Dragged email attachments must be smaller than 4 MB.
- Application-level image dragging is supported only when both applications run on Windows.