How to add a shared folder in VirtualBox in Windows 11

Hasanka Amarasinghe
2 min readJan 4, 2023

To add a folder to a VM in VirtualBox, (this takes much less work than adding a shared folder to VMware, you can read how to from here)

go to Settings of any VM from VirtualBox console and go to Shared Folders

Click on the + Icon to the right

Select other from the drop down menu to Browse to a folder

I usually prefer to have anything shared as Read only just so that some malware wont get infected to the Host, and auto mount.

for Linux VMs, you can set the mount point as :

/mnt/

or you can use specific folder names if you plan to mount various folders,

e.g:

/mnt/sharedFolder1/
/mnt/sharedFolder2/

For Windows VMs, add Drive letters (obviously not C: but you can add anything from D: onward, given that you haven’t partitioned the VM previously.)

e.g:

D:
E:

Changes you made should reflect in the VM once you hit OK and save the new configuration, provided that you have installed VirtualBox guest additions

>> Which is another article which can be found from here <<. :)

If you learnt something new, consider following me on medium to help the algorithm from >> Hasanka Amarasinghe << :)

--

--