How to Access a Shared Folder in VirtualBox
If you regularly use VirtualBox, you have probably noticed that moving files between your host computer and a virtual machine can become frustrating. Emailing files to yourself or using USB drives inside a virtual machine is not always convenient. Fortunately, VirtualBox offers a much easier solution through Shared Folders.
A shared folder creates a direct connection between your host operating system and the guest operating system running inside VirtualBox. Once it is properly configured, you can quickly copy documents, pictures, videos, software installers, and other files without relying on cloud storage or removable drives.
Whether your host computer runs Windows, macOS, or Linux, and your guest operating system is Windows or Linux, the process is quite similar. The only difference is how each operating system displays the shared folder after it has been configured.
Let’s learn the process!
How to Access Shared Folder in VirtualBox [Easy Steps]

To access a shared folder in VirtualBox, first create a shared folder in the VirtualBox settings while the virtual machine is powered off or running. Install VirtualBox Guest Additions inside the guest operating system, restart the virtual machine, and then open File Explorer or your Linux file manager to locate the shared folder. If it does not appear automatically, you can manually map or mount the folder depending on your guest operating system.
Let’s explore the steps in detail!
Step 1: Create a Shared Folder in VirtualBox
The first step is to create the shared folder that connects your physical computer to your virtual machine. Before doing anything else, decide which folder on your host computer you want to share. This could be your Documents, Downloads, Desktop, or any other folder that contains files you want to access inside the virtual machine.
Open Oracle VM VirtualBox and select the virtual machine you plan to use. Click Settings, then select Shared Folders from the left panel. Click the Add Shared Folder button. A new window will appear asking you to choose a folder.
Click the folder selection button and browse to the location you want to share. After selecting the folder, give it a recognizable Folder Name. This name is how the guest operating system identifies the shared folder.
You will also notice options such as Auto Mount, Read Only, and Make Permanent. Enabling Auto Mount tells VirtualBox to connect the folder automatically every time the virtual machine starts. Choosing Make Permanent saves the configuration for future sessions. If you need to edit files inside the folder, make sure Read Only is not selected.
Once everything looks correct, click OK, then click OK again to save the VirtualBox settings.
Step 2: Install VirtualBox Guest Additions
The most important requirement for accessing shared folders is installing VirtualBox Guest Additions. Without this software, many VirtualBox features, including shared folders, may not work correctly.
Start your virtual machine and wait for the guest operating system to load completely. From the VirtualBox menu at the top of the window, click Devices, then select Insert Guest Additions CD Image. This mounts the Guest Additions installer inside the virtual machine.
If you are using a Windows guest, open File Explorer, locate the mounted CD drive, and run the Guest Additions installer. Follow the installation wizard by accepting the default options. During installation, Windows may ask you to approve driver installation. Choose Install whenever prompted.
If your guest operating system is Linux, open the mounted Guest Additions disk and run the installation script using Terminal if required. Some Linux distributions may ask you to install additional packages before the Guest Additions installation can complete successfully.
After the installation finishes, restart the virtual machine. This restart loads the Guest Additions drivers and activates the shared folder feature. Skipping the restart often prevents the shared folder from appearing correctly.
Step 3: Locate the Shared Folder Inside the Guest Operating System
After restarting the virtual machine, it is time to access the shared folder.
If your guest operating system is Windows, open File Explorer and select This PC. In many cases, the shared folder appears automatically as a network drive. Its name usually begins with \VBOXSVR\ followed by the folder name you selected earlier. Simply double-click the folder to open it.
If you enabled Auto Mount, the folder should already be available without requiring any additional setup.
For Linux guests, open your preferred file manager and browse to the /media directory. Many Linux distributions automatically mount VirtualBox shared folders inside a folder such as /media/sf_foldername. Replace foldername with the name you assigned during setup.
If the folder opens successfully, you now have access to the files stored on your host computer. Any changes you make inside this folder are immediately reflected on both systems, making file sharing much faster than copying files manually.
Step 4: Manually Access or Mount the Shared Folder if It Does Not Appear
Sometimes the shared folder does not appear automatically. This usually happens if Auto Mount was disabled or if Guest Additions did not finish installing properly.
For a Windows guest, open File Explorer, click inside the address bar, and type \VBOXSVR\. Press Enter. Windows displays all available shared folders. Open the folder you want, and if desired, map it as a network drive so it is always easy to access.
For a Linux guest, you may need to manually mount the shared folder using the Terminal. First, create a mount point if necessary, then use the appropriate mount command for VirtualBox shared folders. Once mounted, the folder becomes available through your file manager.
If the folder still cannot be accessed, verify that Guest Additions is installed correctly and confirm the shared folder settings in VirtualBox. In many situations, simply reinstalling Guest Additions and restarting the virtual machine resolves the problem.
Step 5: Test File Sharing Between the Host and Guest
Now that the shared folder is accessible, it is a good idea to verify that everything works correctly.
Create a simple text document on your host computer inside the shared folder. Return to the virtual machine and open the shared folder. If the new file appears, the connection is working properly.
Next, create another file from inside the guest operating system and save it into the shared folder. Switch back to your host computer and confirm that the new file is visible there as well.
Testing both directions ensures that the shared folder supports reading and writing. If files appear only one way, review the Read Only setting in VirtualBox and check your operating system permissions.
Once the test succeeds, you can confidently use the shared folder for transferring software installers, work documents, photos, videos, backups, and many other files without repeating the setup process.
Useful Tips From My Side
One of the biggest mistakes beginners make is forgetting to install VirtualBox Guest Additions. If your shared folder is missing, this should always be the first thing you check.
Keep Auto Mount enabled whenever possible. This saves time because the shared folder becomes available automatically after every virtual machine startup.
Use folder names that are short and easy to recognize. Simple names make it easier to identify the correct shared folder, especially if you configure multiple folders.
Avoid sharing sensitive system folders. Instead, create a dedicated folder specifically for file sharing. This keeps your important files organized and reduces the risk of accidental changes.
If you use Linux as the guest operating system and receive permission errors, verify that your user account belongs to the vboxsf group. This common permission issue prevents many users from opening shared folders even when everything else is configured correctly.
Restart both the guest operating system and VirtualBox after making major configuration changes. A restart often refreshes the shared folder connection and resolves unexpected problems.
Regularly update both VirtualBox and VirtualBox Guest Additions. Keeping both versions compatible helps prevent connection issues and improves overall stability.
FAQs
Why can’t I see the shared folder in VirtualBox?
The most common reason is that VirtualBox Guest Additions is not installed or the virtual machine has not been restarted after installation. Also, verify that the shared folder is enabled in the VirtualBox settings.
Where are VirtualBox shared folders located in Windows?
They usually appear in File Explorer under This PC as a network location or can be accessed through \VBOXSVR\.
Where can I find shared folders in a Linux guest?
Most Linux distributions mount them under /media with a folder name that starts with sf_, although the exact location can vary depending on the distribution.
Can I create multiple shared folders?
Yes. VirtualBox allows you to configure multiple shared folders for the same virtual machine. Each folder can have its own permissions and settings.
Do I need to reinstall Guest Additions after updating VirtualBox?
In many cases, yes. Updating VirtualBox may require installing the matching version of Guest Additions inside the guest operating system for all features to work properly.
Can I edit files directly inside a shared folder?
Yes. As long as the folder is not configured as Read Only and your user account has the required permissions, you can create, edit, copy, and delete files directly from the shared folder.
Summary
Learning how to access a shared folder in VirtualBox makes working with virtual machines much more efficient. Instead of relying on USB drives, email attachments, or cloud storage, you can seamlessly exchange files between your host and guest operating systems.
The process begins by creating a shared folder in VirtualBox, installing VirtualBox Guest Additions, restarting the virtual machine, and locating the folder inside the guest operating system. If the folder does not appear automatically, you can manually access or mount it and verify the configuration settings.
Once everything is working correctly, shared folders become one of the most valuable VirtualBox features, allowing you to transfer files quickly, keep projects synchronized, and improve your overall virtualization experience.
