I'm having trouble dragging and dropping with VirtualBox.

Asked 2 years ago, Updated 2 years ago, 105 views

I look forward to your kind cooperation.
I'm having trouble dragging and dropping with VirtualBox.
I am very sorry for the multi-post, but
Cannot drag and drop guest to host
If anyone knows how to solve this problem, could you tell me?

Host OS:Windows 10
Guest OS: Ubuntu 16.04
Software used: VirtualBox-5.1.6-110634-Win

in

When I tried to drag and drop the folder, I received an error message similar to the following:

The guest-to-host drag and drop operation failed.

Another drop operation already is in progress.
Exit Code: E_INVALIDARG (0x80070057)
components:GuestDnDSourceWrap
Interface: IGUESTDnDSource {deadfb5d9-4c1b-edf7-fdf3-c1be6827dc28}
Call to: IDnDSource {d23a9ca3-42da-c94b-8aec-21968e08355d}

When I tried to drag and drop the file, I received an error message similar to the following:

The guest-to-host drag and drop operation failed.

Current drop operation still in progress.
Exit Code: E_FAIL (0x80004005)
components:GuestDnDSourceWrap
Interface: IGUESTDnDSource {deadfb5d9-4c1b-edf7-fdf3-c1be6827dc28}
Call to: IDnDSource {d23a9ca3-42da-c94b-8aec-21968e08355d}
Drop Data...Droping Data

The window appears and the progress bar remains at 0%.

There is no sign of progress even if I leave it for more than an hour.
The Guest Addition CD is well inserted, and you can share the clipboard with only text.

Could you tell me the causes and solutions for these?
Thank you for your cooperation.

virtualbox

2022-09-30 16:50

1 Answers

Try the following:

  • Verify that "Devices" → "Drag and Drop" is "Bidirectional" in the VM menu.
  • Launch Explorer.exe with administrator privileges (open C:\Windows\explorer.exe as administrator).
  • Drag and drop using an explorer launched with administrator privileges

Also, the similar question on superuser "Drag and drop doesn't work between host and VirtualBox on Windows 7" says you may need to shut down the guest operating system once and reboot.

Reference

VirtualBox Drug and Drop documentation reads:

For security reasons drag and drop can be configured at runtime on a per-VM base with the using the "Drag and Drop" menu item in the "Devices" menu of the virtual machine or VBoxManage.

(Japanese translation) From a security perspective, drag-and-drop functionality can be configured on a per-VM basis at runtime.Use "Drag and Drop" on the VM menu under "Devices" or use VBoxManage.

On Windows hosts, dragging and dropping content from UAC-elevated (User Account Control) programs to non-UAC-elevated programs and voice versions is now allowed. So when starting VirtualBox with Administrator private then drag and work with the work

(Japanese translation) If the host is Windows, you are also allowed to drag and drop each other between programs that have been promoted to permissions under UAC.Therefore, if you start VirtualBox with administrator privileges, drag-and-drop between Windows Explorer and Windows Explorer will not work as well as default.


2022-09-30 16:50

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.