*   The easiest way I know to solve the problem is to use VirtualBox Manager 
GUI and "Remove" the old entry and "Add" the new machine to the list.


  *   It is not advised to edit that file manually. The best way to 
add/remove/move VMs is via clients (VBoxManage, VrtualBox Mnager UI etc.)

That is what I may end up doing, but I'd like to see the config that is being 
used in case it contains any hints as to why it's gone wrong.


  *   Mine is in:
  *   C:\Users\<username>\.VirtualBox\VirtualBox.xml

Sorry, when I said :

  *   The only VirtualBox.xml file that I can find
That's what I meant.
I have C:\Users\<username>\.VirtualBox\VirtualBox.xml

Actually.....
I think I have just this minute worked out what was happening.
I've just realized that I have C:\Users\<username>\.VirtualBox\VirtualBox.xml, 
and also C:\Home\.VirtualBox\VirtualBox.xml
It was the latter that I was looking at last week.  The one under %USERPROFILE% 
appears to be correct.  File locations and timestamps are sensible, matching 
what the Manager shows, and what I'd expect.

Regards,
Richard.





From: Cliff <[email protected]>
Sent: 27 May 2022 14:36
To: Community mailing list of VirtualBox users 
<[email protected]>
Subject: Re: [VBox-users] Where does Virtual Box find its list of VMSs?


Caution! External email. Do not open attachments or click links, unless this 
email comes from a known sender and you know the content is safe.


On May 27, 2022, at 06:59, Kerry, Richard via VBox-users-community 
<[email protected]<mailto:[email protected]>>
 wrote:


Where does Virtual Box find its list of VMs? Ie the Machine Registry.

When I run VirtualBox Manager (or VBoxManage list vms) it shows a list of known 
VMs.
These have their configurations (ie .vbox files) stored in various locations.  
But how does VB Manager (or VBoxManage) know where they all are?
I am asking because my VBox Manager is looking for some VMs that are no longer 
there, but is it still able to display their names, marked as "Inaccessible".  
But how does it know where they should have been in order now to show that they 
are not there any more?  In all my cases the files have been moved to a new 
location, but sometimes it wasn't done properly.  So VBox Manager can only show 
the location where they no longer are.

This is on Windows.  They all used to be under C:\Home\Virtual Box VMs, with 
some in C:\Users\Richard\Virtual Box VMs but I've moved some to another disk.  
The only VirtualBox.xml file that I can find was last modified long before I 
did those moves, and says that everything is under C:\Home, which it may have 
been once but no longer necessarily is, and whether they are or not they are 
still usable, so there must be something else that is telling VBox Manager 
where they ought to be.

I am expecting that somewhere there is either a file listing them, or a 
registry entry, which I can edit in order to set the correct current locations.

Regards,
Richard.



<image001.png>

Richard Kerry
BNCS Engineer, SI SOL Telco & Media Vertical Practice
M: +44 (0)7812 325518
2nd Floor, MidCity Place, 71 High Holborn, London, WC1V 6EA
[email protected]<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwebmail.siemens-it-solutions.com%2Fowa%2Fredir.aspx%3FC%3D9fb20d019e3e4cb99344d708709a3177%26URL%3Dmailto%253arichard.kerry%2540atos.net&data=02%7C01%7Crichard.kerry%40atos.net%7C45cacbfc4f744ca0ca7f08d7f64a0a6d%7C33440fc6b7c7412cbb730e70b0198d5a%7C0%7C0%7C637248670177930650&sdata=hTD7XY8vYsCmdZs6%2FWrFltAPrpaZ4QFZLMrxvVjie2k%3D&reserved=0>

_______________________________________________
VBox-users-community mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/vbox-users-community<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fvbox-users-community&data=05%7C01%7Crichard.kerry%40atos.net%7C53c3702f407846a5ba0808da3fe62b65%7C33440fc6b7c7412cbb730e70b0198d5a%7C0%7C0%7C637892555047940487%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=8FerT5tiz0tabH29KtJtYoZapY84Q7AUNayNwOMACpE%3D&reserved=0>
_______________________________________________
Unsubscribe:  
mailto:[email protected]?subject=unsubscribe

_______________________________________________
VBox-users-community mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vbox-users-community
_______________________________________________
Unsubscribe:  
mailto:[email protected]?subject=unsubscribe

Reply via email to