Freely copy files between your VirtualBox host and guests

 

If you use any type of virtualization software such as VirtualBox, VMware or Hyper-V then you know how often you have to copy files between your host computer and your guest virtual machines. Without this capability you would be doing a lot of emailing files, using online storage or transferring files over the virtual network.

Thankfully, there is an option in VirtualBox that allows you to copy files between your VMs and your host. If you didn't know, the host is the computer that is running VirtualBox and has the VMs running on it.

To enable the Shared Folders option you will need to open the VM that you wish to enable this on an go to the Devices menu item and choose Shared Folders and then Shared Folder Settings.

VirtualBox Shared Folders

 

Next you will need to specify what folder on the host computer you want to share with the guest computer (VM). You can click on Other from the dropdown menu under Folder Path to browse the host computer for the folder or you can simply type in the path if you know it off hand.

VirtualBox Shared Folders Settings

 

Once you have your folder location chosen you can then decide if you want to have its contents be ready only meaning you will only be able to read the files when accessed from the VM and won't be able to edit or delete them etc.

The Auto-mount option is used to mount this shared folder as a mapped drive (Windows) or as a mounted drive (Linux) when the VM is booted up. If you want this shared folder to be available each time you start the VM then make sure to check the Make Permanent option to allow that.

VirtualBox Shared Folders Settings

 

After you make all of your configuration choices you should click the OK button and you will be brought back to the Shared Folders section for that VM. It will then show you the share name, share path and access level in the window. You can add more shared folders if you wish and then they will be listed here as well. You can use the folder icon buttons on the right to edit or remove any shared folders that you have configured.

VirtualBox Shared Folders Settings

 

When you go back into the VM and open File Explorer to look at your files you will notice your new shared folder listed as a mapped drive under Network. Now you can work with files from your VM that are actually stored on your host computer.

VirtualBox Shared Folders Mapped Drive

 

Another thing you might want to enable while you are here is the Drag and Drop feature that will allow you to drag and drop files from your host computer right into the console window of the VM assuming you are dragging it somewhere that allows files to be copied such as an open File Explorer window.

VirtualBox Drag and Drop Settings

You can have the Drag and Drop feature go only from host to guest, guest to host or both ways (Bidirectional). This is a very handy feature and might even work better for you than the Shared Folders option if you mostly work with your VMs in the console windows rather than remotely such as using Remote Desktop.

Pin It

Join Us On FaceBook

We Recommend:



Join Us On Twitter

Get insights into the computer industry and regular updates on our site. Click Here

OCT Youtube Channel

New tech tip videos posted on a regular basis. Subscribe today! Click Here

Sponsored

LATEST VIDEOS

Dont limit yourself to booting from ISO files! ...

Use your computer as your phone!   When...

Overcome the VirtualBox 2TB Virutal Disk Limit! ...

Instantly give your VMs more hard drive space! ...

Freely copy files between your VirtualBox host a...

Yes there is a way to save multiple copied items...

RECENT TIPS

Dont limit yourself to booting from ISO files! ...

Is using a proxy the right choice for you? &nbs...

Make learning a little bit easier with the...

Being proactive is the first step to being spywa...

Security is key when it comes to your pers...

Let Windows help you with your typing duties &n...

NEWS

Another reason to keep your devices up to date. If you ...

Try not to get the BlueKeep Blues Once again the Micros...

Are Your Chrome Credentials Secure? Many people like to...

Windows 10 Optional Updates Coming Soon If you can reme...

Is a Virtual Private Network right for you? &nb...

Use Some Cache to Speed Up Chrome If you use the popula...