How to create shared folder for virtual machine on VirtualBox - Pureinfotech (2024)

On Windows (11 or 10), after creating a virtual machine on VirtualBox, you may sometimes need to share files between the host and guest operating systems to install apps or work with documents.

Although you can configure the virtualization solution to drag and drop files, you can also set up a folder on the host device to share files with the virtual machine.In addition, you can also use this approach when, for example, the feature to mount an ISO file or storage peripherals doesn’t work with the virtual machine.

Whatever the reason, VirtualBox on Windows 10 offers two ways to share files, including using a shared folder or mapping a folder as a network drive in the guest operating system.

In this guide, you will learn how to share a folder with a virtual machine using VirtualBox on Windows 10 (or Windows 11).

  • Create a shared folder on VirtualBox
  • Create a mapped drive on VirtualBox
  • Access VirtualBox shared folder or mapped drive
  • Delete shared folder or mapped drive on VirtualBox

To set up VirtualBox to share a folder with a virtual machine, use these steps:

  1. Open VirtualBox.

  2. Right-click the virtual machine and select the Settings option.

    How to create shared folder for virtual machine on VirtualBox - Pureinfotech (1)

  3. Click on Shared Folders.

  4. Click the “Add new shared folder” button from the top-right corner.

  5. In the “Folder path” field, confirm the path for the local folder to share with the device. Alternatively, you can click the down-arrow button and select the Other option to browse and select the folder.

    How to create shared folder for virtual machine on VirtualBox - Pureinfotech (2)

  6. In the “Folder Name” field, confirm a name to identify the shared folder.

  7. (Optional) Check the Read-only option to prevent saving files into the folder from the virtual machine.

  8. Click the OK button.

Once you complete the steps, the folder will appear in the network section of the guest machine.

Create a mapped drive on VirtualBox

To map a shared folder to a virtual machine, use these steps:

  1. Open VirtualBox.

  2. Right-click the virtual machine and select the Settings option.

    How to create shared folder for virtual machine on VirtualBox - Pureinfotech (3)

  3. Click on Shared Folders.

  4. Click the Add new shared folder button from the top-right corner.

  5. In the “Folder path” field, confirm the path for the local folder to share with the device. Alternatively, you can click the down-arrow button and select the Other option to browse and select the folder.

  6. In the “Folder Name” field, confirm a name to identify the shared folder.

  7. (Optional) Check the Read-only option to prevent saving files into the folder from the virtual machine.

  8. In the “Mount point” field, specify the drive letter to map the folder as a drive on the virtual machine – for example, “G:”

    How to create shared folder for virtual machine on VirtualBox - Pureinfotech (4)

  9. Check the Auto-mount option to mount the shared folder with the drive letter from the previous step.

  10. Check the Make Permanent option to keep the shared folder mounted even after restarting the virtual machine.

  11. Click the OK button.

After you complete the steps, the folder will mount as a drive on the virtual machine. In the case of Windows 10, you can access it under the “Network locations” section on File Explorer’s “This PC” page.

You can access the folder from the “Network” or “This PC” pages, depending on how you configure the feature.

Network page

If you created a shared point to access the files, use these steps:

  1. Open File Explorer.

  2. Click on Network.

  3. Double-click the VBOXSVR device.

    How to create shared folder for virtual machine on VirtualBox - Pureinfotech (5)

  4. Double-click the shared folder to access the files.

Once you complete the steps, you can interact with the files and folders.

This PC page

If you mounted the folder as a drive to access the files, use these steps:

  1. Open File Explorer.

  2. Click on This PC.

  3. Under the “Network locations” section, double-click the drive letter assigned to the mount point to access the files.

    How to create shared folder for virtual machine on VirtualBox - Pureinfotech (6)

After you complete the steps, the files and folders will be accessible.

To delete a shared folder or mapped drive from VirtualBox, use these steps:

  1. Open VirtualBox.

  2. Right-click the virtual machine and select the Settings option.

  3. Click on Shared Folders.

  4. Select the shared folder or mapped drive and click the “Remove selected shared folder” button from the top-right.

    How to create shared folder for virtual machine on VirtualBox - Pureinfotech (7)

Once you complete the steps, the folder will no longer be accessible from the virtual machine.

Here is why you should trust Pureinfotech.

We may earn commission for purchases using our links to help keep offering the free content. Privacy policy info.

All content on this site is provided with no warranties, express or implied. Use any information at your own risk. Always backup of your device and files before making any changes. Privacy policy info.

How to create shared folder for virtual machine on VirtualBox - Pureinfotech (2024)

FAQs

How to create shared folder for virtual machine on VirtualBox - Pureinfotech? ›

You can share a folder between the host and virtual machines by enabling folder sharing from the virtual machine's settings. For this, you need to go to the virtual machine library in the VMware workstation, click on the virtual machine settings, and enable folder sharing.

How to create a shared folder for a virtual machine on VirtualBox? ›

Setting Up the Shared Folder
  1. Select the guest machine you wish to share files with.
  2. Click Settings > Shared Folders.
  3. Right-click and select Add Shared Folder and use the following settings: Folder Path: Click the dropdown arrow, select Other, and navigate to the folder you would like to share. ...
  4. Click OK.

How do I enable a shared folder for a virtual machine? ›

You can share a folder between the host and virtual machines by enabling folder sharing from the virtual machine's settings. For this, you need to go to the virtual machine library in the VMware workstation, click on the virtual machine settings, and enable folder sharing.

How to share files between virtual machine and host VirtualBox? ›

Dragging and Dropping Files in VirtualBox

On the top bar of the running guest machine, click on Devices > Drag and Drop and make sure that Bidirectional is selected. This means that you will be able to drag files from the host to the guest and from the guest to the host.

How to share files from local machine to virtual machine? ›

Transfer files through the Remote Desktop app from Microsoft.
  1. Press the + icon in the top right.
  2. Select Add PC.
  3. Under Device & Audio Redirection, enable Storage.
  4. Connect and login to the VM as you would normally.
  5. Open File Explorer on the remote machine and see your storage mounted.

Where is my shared folder in VirtualBox? ›

In the window of a running VM, you select Shared Folders from the Devices menu, or click on the folder icon on the status bar in the bottom right corner. If a VM is not currently running, you can configure shared folders in the virtual machine's Settings dialog.

How do I create a virtual shared drive? ›

Create a shared drive
  1. On your computer, go to drive.google.com.
  2. On the left, click Shared drives.
  3. At the top left, click New.
  4. Enter a name for the shared drive.
  5. Click Create.

How do I create a shared virtual machine? ›

To share a virtual machine:
  1. Right-click an existing virtual machine in the Virtual Machine Library.
  2. Choose Manage > Share.
  3. Follow the wizard to complete the process. The wizard provides the option to move or clone an existing virtual machine to the server.
Mar 23, 2024

How to create a shared folder between Windows and virtual machine VMware? ›

Under Systems Settings in the Settings window, click Sharing. Select the Enable Shared Folders check box. On Windows and macOS virtual machines, a VMware Shared Folders shortcut is created on the guest operating system. Click the add (+) button at the bottom of the display box.

How to create a virtual directory for your network shared folder? ›

To create a virtual directory to a remote network share, create the share, and then store the Web content in that share. Set the appropriate sharing permissions, and then add the appropriate NTFS permissions to control access to the folder that contains your content.

How do I share a VirtualBox VM to another computer? ›

After you've copied the VirtualBox VM files, you need to transfer them to the new computer. You can achieve this by copying the files to a USB drive or external hard drive and then connecting that drive to the new computer. Alternatively, you can use a cloud storage service to download the files onto the new computer.

How do I share a virtual machine between users? ›

Click the + button (in the bottom-left corner) and add the other users who will be sharing this virtual machine. Ensure each user has Read & Write under Privilege. Click the arrow next to the More actions button (with an icon of a gear), and select Apply to enclosed items. Click OK to confirm the changes.

What is the mount point in VirtualBox shared folder? ›

Mount point - the guest operating system folder where the shared folder will mount (will be created if it does not exist) Make Permanent. if selected, the shared folder is a Machine Folders in the VirtualBox Manager / Shared Folders view and will be mounted when the VM restarts.

What is the difference between machine folder and transient folder? ›

Machine Folders are permanent folders that are shared until you remove them. Transient Folders are temporary and are automatically removed when you restart or shut down the virtual machine.

How do I create a shared folder between host and VM Hyper V? ›

First you need to enable enhanced session mode on your Hyper-V host. Next, you can use VMConnect.exe and redirect local devices, including USB storage devices, to your Hyper-V virtual machine. Select the resource attached to your Hyper-V host you want to redirect to your virtual machine.

How do I create a new folder in virtual machine? ›

Procedure. In the vSphere Client, select either a data center or another folder as a parent object for the folder that you want to create. Right-click the parent object and click New Folder.

Top Articles
Latest Posts
Article information

Author: Gov. Deandrea McKenzie

Last Updated:

Views: 6581

Rating: 4.6 / 5 (46 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Gov. Deandrea McKenzie

Birthday: 2001-01-17

Address: Suite 769 2454 Marsha Coves, Debbieton, MS 95002

Phone: +813077629322

Job: Real-Estate Executive

Hobby: Archery, Metal detecting, Kitesurfing, Genealogy, Kitesurfing, Calligraphy, Roller skating

Introduction: My name is Gov. Deandrea McKenzie, I am a spotless, clean, glamorous, sparkling, adventurous, nice, brainy person who loves writing and wants to share my knowledge and understanding with you.