A shared folder is the easiest way to move files between your real PC and a virtual machine - one folder that both sides can open. It takes a minute to set up after Guest Additions. This page covers the setup, the options that matter, and the safety thinking nobody mentions: a shared folder connects the two machines, so what you share deserves a decision.
You have three ways to move a file into a VM: drag and drop it, copy it through a network share, or keep a folder both machines can see all the time. The third way - a VirtualBox shared folder - is the one you set up once and then forget, which is exactly why it needs a moment's thought. Anything inside that folder is reachable from both sides, instantly. Convenient for a trusted lab VM; a genuine hole if the guest ever runs something nasty.
D:\VM-Share, not an existing folder full of your real work.\\vboxsvr, and with auto-mount it also arrives as a drive letter in This PC.If the folder does not appear, Guest Additions is the first suspect - shared folders are one of its features, and a missing or outdated install means no share. Reinstall or update it inside the guest before hunting anywhere else.
\\vboxsvr manually each time.Be honest about what a shared folder is: a two-way bridge between the guest and your real files. A program running inside the VM - including a malicious one - can read, change, encrypt or delete everything inside a read-write shared folder with the same ease as the guest's own desktop. Ransomware tested in a VM cannot jump to your host by itself, but it does not need to jump if you have politely mounted your documents folder inside.
So the rules are simple: share a purpose-built folder, keep nothing in it you cannot afford to lose, prefer read-only when the guest only needs to fetch, and disable shared folders entirely in any VM used for untrusted software. For those VMs, inspect what you must through the video and leave every bridge - folders, clipboard, drag and drop - switched off.
For a one-time transfer, drag and drop (also a Guest Additions feature) is lighter - nothing stays connected afterwards. For large or constant traffic, a normal network share from the host with a bridged or host-only adapter behaves like a real network drive and survives reboots of either side. And for carrying a VM between PCs, neither is right - you want an export, which this series covers in the moving and backup guide. Pick the tool by how long the connection should live.
The full tutorial takes the VM from install to a working, connected machine - the setup shared folders depend on, shown start to finish.
Watch Full VideoAlmost always because Guest Additions is missing or outdated in the guest - shared folders are one of its features. Install or update Guest Additions inside the VM, reboot it, and check that Auto-mount and Make Permanent are ticked in the share's settings.
Yes. A read-write shared folder is fully reachable from inside the guest, so anything running there can change or delete its contents. Keep shared folders limited to a purpose-built folder, use read-only where possible, and disable them completely in VMs used for untrusted software.
As a network location under the \\vboxsvr name, and - with Auto-mount ticked - also as a drive letter in This PC. If it is missing, open the network location manually once; if that fails too, Guest Additions is the first thing to fix.