Search found 7 matches

by Mers101
1. Feb 2017, 18:24
Forum: Using VirtualBox
Topic: How is the VirtualBox.xml file created?
Replies: 17
Views: 19835

Re: How is the VirtualBox.xml file created?

If only I'd said I was using an import appliance command from the start. I'll take a new approach then and try registering.

Thanks for all the suggestions and teaching me new things.
by Mers101
1. Feb 2017, 17:14
Forum: Using VirtualBox
Topic: How is the VirtualBox.xml file created?
Replies: 17
Views: 19835

Re: How is the VirtualBox.xml file created?

scottgus1 Thanks for your input and suggestions. I really appreciate it. My initial approach was to use a vboxmanage command "C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" import "Centos Desktop.ova" --vsys 0 --unit 11 --disk "C:\VirtualBox\vdisks\Centos Desktop\Centos ...
by Mers101
1. Feb 2017, 16:30
Forum: Using VirtualBox
Topic: How is the VirtualBox.xml file created?
Replies: 17
Views: 19835

Re: How is the VirtualBox.xml file created?

Manually editing the file isn't the problem. If I manually remove the <MachineRegistry/> node and save it then it doesn't come back (until a machine has been added/removed so no more remain in VirtualBox). My problem is that when I edit the file using a PowerShell script, which I've checked is fine ...
by Mers101
1. Feb 2017, 13:22
Forum: Using VirtualBox
Topic: How is the VirtualBox.xml file created?
Replies: 17
Views: 19835

Re: How is the VirtualBox.xml file created?

I can't recreate it every time, seems to be random. Next time it happens I'll upload the file. The <MachineRegistry/> or <MachineRegistry /> (no machines attached in VirtualBox) node are definitely being recreated in the .xml file after I programmatically remove it from the file. If I manually delet...
by Mers101
31. Jan 2017, 10:34
Forum: Using VirtualBox
Topic: How is the VirtualBox.xml file created?
Replies: 17
Views: 19835

Re: How is the VirtualBox.xml file created?

socratis: Create a "template" user and modify that one. How do I create the template user and modify? Part of my script checks to make sure VirtualBox isn't running before making modifications, any changes I make don't get overwritten. <MachineRegistry /> with space is definitely appearin...
by Mers101
30. Jan 2017, 18:22
Forum: Using VirtualBox
Topic: How is the VirtualBox.xml file created?
Replies: 17
Views: 19835

Re: How is the VirtualBox.xml file created?

I know I can use VBOXManage.exe but it takes too long to complete. Students are quick to complain when things take too long. I'm not editing the .xml file while VirtualBox is open, so my changes aren't going to be overwritten. My script works fine as long as this empty <MachineRegistry /> node isn't...
by Mers101
30. Jan 2017, 18:12
Forum: Using VirtualBox
Topic: How is the VirtualBox.xml file created?
Replies: 17
Views: 19835

How is the VirtualBox.xml file created?

I'm trying to dynamically add and delete machines from the users VirtualBox.xml file. This is so I can package the VM's and make them available to users using some custom software we have at the University. The VirtualBox.xml file which lives in C:\Users\<user>\.VirtualBox seems to be built by defau...