Usually, no problem. VirtualBox has two ways to do this, either the CloneHD command or a SetHDUUID command:
c:\program files\oracle\virtualbox\vboxmanage internalcommands sethduuid
So what's the problem? I had opened up a command prompt, entered in these commands, but got an error back that the VirtualBox COM server was not running:
VBoxManage.exe: error: Failed to create the VirtualBox object!
VBoxManage.exe: error: Code CO_E_SERVER_EXEC_FAILURE (0x80080005) - Server execu
tion failed (extended info not available)
VBoxManage.exe: error: Most likely, the VirtualBox COM server is not running or
failed to start.
The solution? Since this is an admin sort of thing to do I had opened up the command prompt as administrator (Windows 8 - type in CMD, right click Command Prompt, choose Run as Administrator)...and apparently that was the wrong answer! Open up a regular ol' Command Prompt window and the command goes through just fine.
I'm sure this is a permissions issue - next slow rainy day I'll crack open ProcessMonitor and see exactly what VboxManage can't grab, but for now we're good to go.
1 comment:
Unfortunately by default running that command with a non admin command prompt gives "Access denied" :/
Post a Comment