Error While Creating a New Virtual Machine

Discussions related to using VirtualBox on Windows hosts.

Error While Creating a New Virtual Machine

Postby MadMast » 21. Apr 2021, 20:51

Hi,
I have just installed VirtualBox 6.1.20 on Windows 10. (OS Build - 19042.928)
Now Whenever I try to create a New Virtual Machine. I am getting the below error:

Failed to register the virtual machine archer.

Could not create the settings file 'C:\Users\gaurav\VirtualBox VMs\archer\archer.vbox' (VERR_ALREADY_EXISTS).

Result Code: E_FAIL (0x80004005)
Component: MachineWrap
Interface: IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}
Callee: IVirtualBox {d0a0163f-e254-4e5b-a1f2-011cf991c38d}


I have already tried below
1. Deleting the folder (.VirtualBox) in User Directory
2. Tried re-installing and repairing

TIA, MadMast!!
MadMast
 
Posts: 5
Joined: 21. Apr 2021, 20:24

Re: Error While Creating a New Virtual Machine

Postby scottgus1 » 21. Apr 2021, 21:37

MadMast wrote:archer.vbox' (VERR_ALREADY_EXISTS).

This means you already have a VM named 'archer'. Pick a different name for your new VM..
scottgus1
Site Moderator
 
Posts: 11666
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Error While Creating a New Virtual Machine

Postby MadMast » 21. Apr 2021, 21:47

scottgus1 wrote:
MadMast wrote:archer.vbox' (VERR_ALREADY_EXISTS).

This means you already have a VM named 'archer'. Pick a different name for your new VM..


As I said, I am creating a New VM when I get this error. I did not have a VM named archer when I was creating it.
I tried with different name as well, but then I got same error with other once.
MadMast
 
Posts: 5
Joined: 21. Apr 2021, 20:24

Re: Error While Creating a New Virtual Machine

Postby scottgus1 » 21. Apr 2021, 21:53

MadMast wrote:As I said, I am creating a New VM

You have to pick a name for that new VM, don't you? You can't have a nameless VM....

What is the name you are using for the new VM?

However, there may be other reasons for that error.

Reboot the host
Go to "C:\Users\{youraccount}\.Virtualbox".
Zip "Virtualbox.xml"
Post the zip file using the forum's Upload Attachment tab.
scottgus1
Site Moderator
 
Posts: 11666
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Error While Creating a New Virtual Machine

Postby MadMast » 22. Apr 2021, 13:10

scottgus1 wrote:
MadMast wrote:As I said, I am creating a New VM

You have to pick a name for that new VM, don't you? You can't have a nameless VM....

What is the name you are using for the new VM?

However, there may be other reasons for that error.

Reboot the host
Go to "C:\Users\{youraccount}\.Virtualbox".
Zip "Virtualbox.xml"
Post the zip file using the forum's Upload Attachment tab.


Yes, I have been trying to create VMs with new/different names everytime. (Attached the steps I followed)
Also attached the xml file.
Attachments
Virtual Box Error Document.zip
Steps I followed to recreate the error scenario
(191.23 KiB) Downloaded 6 times
VirtualBox.zip
Zipped "Virtualbox.xml"
(1.05 KiB) Downloaded 6 times
MadMast
 
Posts: 5
Joined: 21. Apr 2021, 20:24

Re: Error While Creating a New Virtual Machine

Postby MadMast » 23. Apr 2021, 09:40

Hello All,

Any suggestions, please correct if I am missing or doing anything wrong.
I have attached the steps I followed and the xml file in my last post.

TIA, MadMast
MadMast
 
Posts: 5
Joined: 21. Apr 2021, 20:24

Re: Error While Creating a New Virtual Machine

Postby scottgus1 » 25. Apr 2021, 03:51

Looks like your Virtualbox has an empty VM list:
<MachineRegistry/>

This one is a puzzler. There is a folder called 'archer' in your error steps report screenshot, and I have seen that the presence of an existing folder with the same name as the VM trips up Virtualbox. However you also tried to make a new VM called 'Golem' and had the same problem.

I wonder if permissions are screwed up in that default machine folder.

Please make a new folder in the root of your host's hard disk. Do nothing with permissions, just make the folder. Go to the main Virtualbox window, File menu, Preferences, General, Default Machine Folder, browse to and select the new folder you made. Click OK. Now try to make a new VM. What happens?
scottgus1
Site Moderator
 
Posts: 11666
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Error While Creating a New Virtual Machine

Postby MadMast » 3. May 2021, 08:22

scottgus1 wrote:Looks like your Virtualbox has an empty VM list:
<MachineRegistry/>

This one is a puzzler. There is a folder called 'archer' in your error steps report screenshot, and I have seen that the presence of an existing folder with the same name as the VM trips up Virtualbox. However you also tried to make a new VM called 'Golem' and had the same problem.

I wonder if permissions are screwed up in that default machine folder.

Please make a new folder in the root of your host's hard disk. Do nothing with permissions, just make the folder. Go to the main Virtualbox window, File menu, Preferences, General, Default Machine Folder, browse to and select the new folder you made. Click OK. Now try to make a new VM. What happens?



Hi, tried those steps and documented in the attachment. No Luck same Error :(
MadMast
 
Posts: 5
Joined: 21. Apr 2021, 20:24


Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: Google [Bot] and 26 guests