Change the location of the settings files

Discussions related to using VirtualBox on Windows hosts.
Post Reply
ALev
Posts: 2
Joined: 28. Mar 2021, 13:31

Change the location of the settings files

Post by ALev »

How do I change the location of the settings files after changing the installation path of the machine?
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Change the location of the settings files

Post by scottgus1 »

If you mean that you changed the location for new VMs in the main Virtualbox window, File menu, Preferences, General, Default Machine Folder, and now you want to move existing VMs, do this:

Right-click each VM in the main Virtualbox window's list of VMs, then in the pop-up menu click Move. Browse to the desired folder, etc.

If this is not what you meant, please describe your question in more detail.
ALev
Posts: 2
Joined: 28. Mar 2021, 13:31

Re: Change the location of the settings files

Post by ALev »

scottgus1 wrote:...please describe your question in more detail.
I did so, but the files "Win-10-64. vbox" and "Win-10-64.vbox-prev" remained in the same folder.
If you move them manually, this does not solve the problem, and editing them is prohibited.

P.S.
It looks like the problem is that I only moved the VM disk itself:
File \ Virtual Media Manager \ Move

Now my nerves are already over, I think I will create everything again. This is my first attempt at creating a VM.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Change the location of the settings files

Post by scottgus1 »

FWIW you can move the disk file back, then move the whole VM.
Post Reply