Error While Creating a New Virtual Machine

Discussions related to using VirtualBox on Windows hosts.
Post Reply
MadMast
Posts: 5
Joined: 21. Apr 2021, 20:24

Error While Creating a New Virtual Machine

Post by MadMast »

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!!
scottgus1
Site Moderator
Posts: 20965
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

Post by scottgus1 »

MadMast wrote:archer.vbox' (VERR_ALREADY_EXISTS).
This means you already have a VM named 'archer'. Pick a different name for your new VM..
MadMast
Posts: 5
Joined: 21. Apr 2021, 20:24

Re: Error While Creating a New Virtual Machine

Post by MadMast »

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.
scottgus1
Site Moderator
Posts: 20965
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

Post by scottgus1 »

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.
MadMast
Posts: 5
Joined: 21. Apr 2021, 20:24

Re: Error While Creating a New Virtual Machine

Post by MadMast »

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 9 times
VirtualBox.zip
Zipped "Virtualbox.xml"
(1.05 KiB) Downloaded 8 times
MadMast
Posts: 5
Joined: 21. Apr 2021, 20:24

Re: Error While Creating a New Virtual Machine

Post by MadMast »

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
scottgus1
Site Moderator
Posts: 20965
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

Post by scottgus1 »

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?
MadMast
Posts: 5
Joined: 21. Apr 2021, 20:24

Re: Error While Creating a New Virtual Machine

Post by MadMast »

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 :(
Post Reply