My headphones are connected to Speakers (G510 Gaming Keyboard), which is my default audio playback device. I was encountering a problem where I did not want my Skype conversations to be streamed when using XSplit. But XSplit seemed to pick up whatever was going through the default playback sound device.

In order to resolve this I installed Virtual Audio Cable and performed the following steps:

1. I routed Line 1 from Virtual Audio Cable to Speakers (G510 Gaming Keyboard):










2. I then changed the default audio playback from Speakers (G510 Gaming Keyboard) to Line 1 from Virtual Audio Cable:












3. I changed my Game Client (in this case Heroes of Newerth) to output to Line 1 on the Virtual Audio Cable device:

4. Finally, I kept Skype pointing to Speakers (G510 Gaming Keyboard), since my headphones were still plugged into this device:

I wanted to utilise the following setup:
1. Base VM (Eg. Base) that is used as a template
2. Copies of that VM (eg. JayVM, JayVM2)

Since Base VM was not registered in VirtualBox, I was successfully able to create JayVM by copying the vmdk files (Windows_XP.vmdk) from Base VM to a new folder C:\hosted images\JayVM. However, I soon encountered the following error when copying the vmdk files of Base VM into new folder c:\hosted images\JayVM2 in order to create JayVM2:

Failed to open the hard disk C:\hosted images\JayVM2\Windows_XP.vmdk.

Cannot register the hard disk 'C:\hosted images\JayVM2\Windows_XP.vmdk' {00c11b02-c807-443d-b10d-dfffe0ae1b96} because a hard disk 'C:\hosted images\JayVM2\Windows_XP.vmdk' with UUID {00c11b02-c807-443d-b10d-dfffe0ae1b96} already exists.

Result Code: E_INVALIDARG (0x80070057)
Component: VirtualBox
Interface: IVirtualBox {c28be65f-1a8f-43b4-81f1-eb60cb516e66}

I’m guessing I encountered this because I didn’t use the clone functionality in VirtualBox. But I didn’t really want to use the clone functionality because it would require me to always keep a copy of Base VM on my hard drive, and my VMs take up a lot of disk space (sometimes 45 GB). Instead I zip up Base VM and keep it on a separate server.

I managed to resolve this issue by navigating to my VirtualBox install directory (C:\Program Files\Oracle\VirtualBox) and running the following command to change the UUID:
vboxmanage internalcommands sethduuid “C:\hosted images\JayVM2\Windows_XP.vmdk”
This command changed the UUID for the VM, allowing me to be able to run both VMs (JayVM and JayVM2) on the same host.

Here’s a bat file I created to help me do this: