Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home»Virtualization»VirtualBox Drag And Drop Not Working? Try These Fixes

VirtualBox Drag And Drop Not Working? Try These Fixes

Anup ThapaBy Anup ThapaAugust 19, 2022
virtualbox drag and drop not working

VirtualBox’s Drag and Drop (DnD) is a very popular and convenient feature, but it also has several requirements for working properly that most users aren’t aware of.

First off, drag and drop is only properly supported on VirtualBox 5.0 and newer versions. Only experimental support for Linux guest operating systems was included in older versions.

VirtualBox Guest Additions need to be installed for drag and drop to work. After the installation, you must manually enable drag and drop support as it’s disabled by default on new VMs.

Drag and drop only works between Host to Guest and vice versa. Additionally, it’s only supported on the official “VirtualBox Manager” frontend. You won’t have much success if you try using it with other frontends like VBoxHeadless or VBoxSDL.

Generally, fulfilling these requirements will get drag and drop working on your system. But in case it still doesn’t work, the solutions and workarounds we’ve listed in this guide will be helpful.

Table of Contents

  • How to Fix VirtualBox Drag and Drop Not Working?
    • Ensure Guest Additions are Installed
    • Install Linux Headers
    • Drag and Drop Mechanics
    • Resolve File Explorer Issues
    • Use Shared Folders

How to Fix VirtualBox Drag and Drop Not Working?

Before you start, if you’re using an older version of VirtualBox, we recommend switching to the latest stable build. As various DnD-related bugs have been patched in the newer versions, updating could be all that’s needed to fix the issue.

Ensure Guest Additions are Installed

With Guest Additions, just mounting the CD is not enough. You actually have to install it as well. If you want, you can first check whether Guest Additions is properly installed with the following steps:

  1. Launch VirtualBox, right-click the VM from the left pane, and select Show Log.
    virtualbox show log
  2. In the first tab, click on Find and enter Guest Additions information report.

If the installed Guest Additions and VirtualBox version don’t match, that means Guest Additions didn’t install properly. In such cases, you can reinstall Guest Additions with the following steps:

  1. Select the VM and press Start to power it on.
  2. Select Devices > Insert Guest Additions CD Image from the menu bar.
  3. In the VM, navigate to the mounted directory and open the VBoxAdditions.exe file. For instance, in the case of Windows VMs, this file is named VBoxWindowsAdditions.exe.
    vbox-windows-additions-exe
  4. Accept the UAC prompt and follow the on-screen instructions to complete the installation.
    virtualbox guest additions setup
  5. Afterward, restart the guest OS.
  6. Select Devices > Drag and Drop > Bidirectional from the menu bar.
    drag-and-drop-bidirectional

Install Linux Headers

With Linux VMs, you must install a few packages before installing Guest Additions. Additionally, it’s also recommended to update the Linux headers. Here’s how you can do so:

  1. Download Qt 5.6.2 or later and SDL 1.2.7 or later.
  2. Locate the .run files and open them.
  3. Select Run in Terminal and follow the on-screen instructions to run the installer.
  4. Additionally, use the following command to update the headers:
    sudo apt-get install linux-headers-$(uname -r)
    install-linux-headers
  5. Restart the VM, install Guest Additions with the steps shown above, and check if drag and drop works now.

Drag and Drop Mechanics

Drag and drop is a work in progress. It has a history of locking up after a few uses. There are also recently patched issues where you couldn’t drop files to the recycle bin, or you couldn’t drop files in the current folder after hovering over a folder.

There are still many such undocumented problems that could be preventing you from using this feature properly. As such, it’s worth trying to drag other files or folders and drop them into different locations to try and figure out ways to get DnD working.

Resolve File Explorer Issues

In addition to the requirements we’ve already discussed, drag and drop has a few built-in limitations.

On Windows hosts, you can’t drag and drop items between UAC-elevated and non-elevated programs. For example, users often run VirtualBox as admin, but this is not the case with file explorer. In such scenarios, you’d also need to run explorer as admin for drag and drop to work.

Similarly, on Linux hosts, certain file managers like LXDE’s PCManFM tend to query for drag and drop while the process is still going on, which can prevent DnD from working. DnD is also incompatible with Xubuntu’s Thunar file manager. To work around this, you can use another file manager that is compatible with drag and drop, such as Nautilus.

Use Shared Folders

If drag and drop is still not working, you can instead use shared folders to transfer files to the VM. Here are the steps to do so:

  1. Select Devices > Shared Folders > Shared Folder Settings.
  2. Click on the Add new shared folders button from the right.
  3. In the Folder Path section, select Other and browse the folder you’re trying to share.
  4. Enable the Auto-mount option and press Ok.
    virtualbox shared folders auto mount

If you want, you could also network share the folders on the host OS and access them via the guest OS.

fix
Anup Thapa
  • LinkedIn

Anup Thapa is a tech writer at TechNewsToday. He mostly writes informative articles, tutorials, and troubleshooting guides related to Windows systems, networking, and computer hardware. Anup has been writing professionally for almost 5 years, and tinkering with PCs for much longer. His love for all things tech started when he got his first PC over 15 years ago. It was a Pentium IV system running Windows XP on a single 256 MB stick. He spent his formative years glued to this PC, troubleshooting any hardware or software problems he encountered by himself. Professionally, Anup has had brief forays into a variety of fields like coding, hardware installation, writing, etc. In doing so, he's worked with people of different backgrounds and skill levels, from average joes to industry leaders and experts. This has given him not just a versatile skillset, but also a unique perspective for writing that enables him to concisely communicate complex information and solve his reader's problems efficiently. You can contact him at anup@technewstoday.com

Related Posts

virtual machine disks consolidation is needed

4 Ways to Fix “Virtual Machine Disks Consolidation is Needed”

December 27, 2022
virtualbox shared folder

How to Create Shared Folder on Virtualbox

November 29, 2022
failed to open a session for the virtual machine

How to Fix “Failed to Open a Session For The Virtual Machine” Error?

September 30, 2022
how to uninstall virtualbox

How to Uninstall VirtualBox on Windows

September 28, 2022
how to use vmware

How to Use VMware (Detailed Guide)

September 23, 2022
virtualize a physical machine vmware

How To Virtualize A Physical Machine With VMware

September 17, 2022
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
Memory-Compression

What is Memory Compression in Windows? Should You Enable or Disable It

March 1, 2023
dism-vs-sfc-vs-chdsk

DISM, SFC, CHKDSK: What’s the Difference

February 28, 2023
bios-settings-for-gaming

Best BIOS Settings for Gaming

February 16, 2023
You may also like
how-to-clean-hp-printer-rollers

How to Clean HP Printer Rollers

March 3, 2023
keyboard input lag

9 Ways to Fix Keyboard Input Lag

March 3, 2023
keyboard key is stuck

How to Fix a Stuck Key on a Keyboard

March 3, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Our Team
  • Editorial Guidelines
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday, editor@technewstoday.com | Tech Central Pvt. Ltd.

Type above and press Enter to search. Press Esc to cancel.