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

6 Ways To Transfer Files VirtualBox To Host

Anup ThapaBy Anup ThapaAugust 26, 2022
transfer files virtualbox to host

VirtualBox offers multiple built-in methods to transfer files between VirtualBox and the host, thanks to VirtualBox Guest Additions. Even without GAs, you can share the files over a network or just use a USB to transfer files between the two systems.

This is definitely easier said than done, though. Some preliminary steps are required, without which these methods won’t work. We’ve listed the steps for all of these methods with further details in the sections below.

Table of Contents

  • How to Transfer Files VirtualBox To Host
    • Install VirtualBox Guest Additions (Optional)
    • Drag and Drop (DnD)
    • Shared Folders
    • Shared Clipboard
    • Network Share
    • Using a USB Drive
    • Cloud Storage
  • How to Transfer Files From Host to Virtual Machine?

How to Transfer Files VirtualBox To Host

VirtualBox GAs are basically a collection of device drivers and system applications. Installing it enables support for various features, including Drag and Drop, Shared Folders, and Shared Clipboard. So, if you’re going to use any of these methods, you should check the next section for steps to install GAs first.

But if you’re going to use the Network Share or USB Drive methods, this isn’t necessary, and you can simply skip head to those sections.

Install VirtualBox Guest Additions (Optional)

Here are the steps to install VirtualBox GAs for your VM:

  1. Power on the VM and select Devices > Insert Guest Additions CD Image to mount the CD.
  2. Navigate to the mounted directory and run the VBoxAdditions.exe file. Depending on the Guest OS, the filename will differ slightly, but in the case of Windows VMs, it’s named VBoxWindowsAdditions.exe.
    vbox-windows-additions-exe
  3. Follow the on-screen instructions to complete the installation and restart the guest OS.

Drag and Drop (DnD)

As the name suggests, you can directly drag and drop files between VirtualBox and the host by enabling DnD.

  1. Power on the VM and select Devices > Drag and Drop.
  2. Select Guest to Host or Bidirectional as you prefer.
    drag-and-drop-bidirectional
  3. Select a file in VirtualBox, drag it outside the VM window, and drop it onto the host.

Drag and Drop is an extremely convenient and intuitive feature, but it’s not without its flaws. We have an in-depth article that will be helpful in case DnD isn’t working.

Shared Folders

Shared folders are another easy way to share files between VirtualBox and the host.

  1. Power on the VM and select Devices > Shared Folders > Shared Folder Settings.
  2. Press the Add new shared folders button.
    add-new-shared-folder
  3. Click on the Folder Path dropdown arrow and select Other.
  4. Locate the folder you’re trying to share.
  5. Enable the Auto-mount option and press Ok.
    virtualbox shared folders auto mount

Shared Clipboard

You can also configure the guest OS to use the same clipboard as the host, such that you can copy a file inside VirtualBox and paste it onto the host. Here’s how you can do this:

  1. Power on the VM and select Devices > Shared Clipboard.
  2. Select Guest to Host or Bidirectional as you prefer.
    virtualbox-shared-clipboard
  3. Test the feature by copying a file inside the guest and pasting it onto the host.

Network Share

To share files between the guest and host over a network, you must first ensure they’re on the same network. Here’s how you can do this:

  1. Power on the VM and select Devices > Network > Network Settings.
  2. Select Attached to: Bridged Adapter and press OK.
    bridged-adapter-virtualbox
  3. Use ipconfig or a similar utility to check the host and guest’s IP addresses for confirmation and note them down for later.

Now, you can share the folder from the guest OS and access it from the host. We’ve listed the steps to network share files between a Windows host and a Windows guest below.

But we also have an in-depth article that details how to share files between various platforms (Windows and Mac, Windows and Linux, etc.) if that’s what you require.

First, we must ensure File Sharing is enabled on both systems. Here’s how you can do so:

  1. Press Win + R, type control, and press Enter.
  2. Navigate to Network & Internet > Network and Sharing Center > Change advanced sharing settings.
  3. Expand the current profile section, enable the Network Discovery and File Sharing options and save the changes.
    turn-on-network-discovery-file-sharing

Now, here are the steps to actually share and access the files:

  1. On the guest OS, select the folder or drive you’re trying to share and press CTRL + Shift + Enter.
  2. In the Sharing tab, click on Advanced Sharing.
  3. Enable the Share this folder option and press OK.
    advanced-sharing-share-this-folder
  4. On the host, press Win + R and enter:
    \\<GuestIP>
    run-add-a-network-location
  5. You should be able to access the shared folder now.

Optionally, you can also map the folder as a network drive for ease of access.

Using a USB Drive

You can also simply use a USB drive to transfer files from VirtualBox to the host. Do note that you must have the VirtualBox Extension Pack installed for USB support.

  1. Download the extension pack for your VBox version.
  2. In VirtualBox, go to File > Preferences > Extensions and click on Add new package (+).
    virtualbox-extension-pack
  3. Browse and select the extension pack you downloaded earlier and press Open.
  4. Accept the confirmation prompt and complete the installation.

Afterward, connect the USB to your PC if you haven’t already done so, and follow the steps listed below to share files from the guest to the host OS:

  1. Select the VM and press CTRL + S.
  2. In the USB tab, select the appropriate USB controller to enable.
    virtualbox-usb-controller
  3. Click on the Add new USB filter (+) button and select the USB device.
  4. Power on the VM. The USB should be accessible in the VM now.
  5. Copy the files to the USB and power off the VM afterward.
  6. Now paste the files onto the host.

Cloud Storage

Last but not least, cloud storage could also be a viable option for transferring files from VirtualBox to the host, although a roundabout one. Google Drive (15 GB) and Microsoft OneDrive (5GB) offer free options that you could use if the files you’re trying to transfer are small enough.

How to Transfer Files From Host to Virtual Machine?

You can use the same methods we’ve used in this article, in reverse, to transfer files from the host to the VM.

With DnD, Shared Folders, and Shared Clipboard, you’d select Host to Guest or Bidirectional. And in the case of Network Share, you’d share the folder from the host and access it from the VM.

We also have a dedicated article on transferring files to the VM, with other methods like mounting virtual disks, if you’re interested in further reading.

how-to
Anup Thapa
  • Instagram
  • LinkedIn

Anup Thapa primarily covers Windows systems, networking, and computer hardware at TechNewsToday. 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 from coding and hardware installation to writing. 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 skill set, but also a unique perspective for writing that enables him to concisely communicate complex information and solve his reader's problems efficiently. You can reach out to him at anup@technewstoday.com.

Related Posts

virtualbox-vs-vmware

VirtualBox Vs VMware: Which Is Best For You?

September 20, 2023
asus bios virtualization

How to Enable Virtualization in ASUS BIOS

August 3, 2023
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
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
how to clean RAM

How to Clean RAM? Step-By-Step Guide

October 2, 2023
motherboard form factors

Motherboard Types: ATX, Micro ATX, and Mini ITX Explained

September 28, 2023
how to download and use rufus

How to Download and Use Rufus

September 28, 2023
You may also like
printer-not-printing

How to Fix a Printer That’s Not Printing

September 26, 2023
Share Location With Friends and Family

Share Location With Friends and Family (iPhone and Android)

September 18, 2023
how-to-print-without-a-printer

How to Print Without a Printer

September 18, 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.