Latest posts by Michael Pietroforte (see all)
- Results of the 4sysops member and author competition in 2018 - Tue, Jan 8 2019
- Why Microsoft is using Windows customers as guinea pigs - Reply to Tim Warner - Tue, Dec 18 2018
- PowerShell remoting with SSH public key authentication - Thu, May 3 2018
The official way to move the VirtualBox folder is to first export your virtual machines to an OVA file and then import the OVA file at the new location:
- Click File > Export Appliance.
- While holding the CTRL key, click the virtual machines you want to export.
- Choose the location of the OVA file, click Next, and then export.
- Change the Default Machine Folder under File > Preferences > General.
- Click File > Important Appliance, select the OVA file, and import.
The downside of this option is that the export and import of the OVA file is extremely slow and error prone.
The faster option is to simply move the VirtualBox folder with the virtual machines to a new location with File Explorer:
- You can usually find the VirtualBox folder in your Documents folder. If you can’t find the folder, check File > Preferences > General > Default Machine Folder.
- Ensure that the VirtualBox VM Manager is closed and all VMs are offline. Then, move the VirtualBox folder to the new location with File Explorer.
- Open the VM Manager and remove all VMs that are marked as inaccessible: hold the CTRL key and click all VMs, and then right-click and select Remove.
- Click File > Virtual Media Manager and remove all hard drives, optical disks, and floppy disks.
- Navigate to each folder in the new VirtualBox directory in File Explorer and double-click the VBOX file to import the corresponding VM.
- Change the Default Machine folder under File > Preferences > General.
Depending on how many VMs you have, step 5 can mean a lot of click-click; however, in my experience, it will always be much faster than with the export/import method.