Index: /trunk/src/VBox/Frontends/VBoxManage/VBoxManageMisc.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VBoxManage/VBoxManageMisc.cpp	(revision 37601)
+++ /trunk/src/VBox/Frontends/VBoxManage/VBoxManageMisc.cpp	(revision 37602)
@@ -333,5 +333,5 @@
     const char                    *pszTrgBaseFolder = NULL;
     bool                           fRegister        = false;
-    RTUUID                         trgUuid;
+    Bstr                           bstrUuid;
 
     int c;
@@ -368,6 +368,9 @@
 
             case 'u':   // --uuid
+                RTUUID trgUuid;
                 if (RT_FAILURE(RTUuidFromStr(&trgUuid, ValueUnion.psz)))
                     return errorArgument("Invalid UUID format %s\n", ValueUnion.psz);
+                else
+                    bstrUuid = Guid(trgUuid).toUtf16().raw();
                 break;
 
@@ -425,5 +428,5 @@
                                                  Bstr(pszTrgName).raw(),
                                                  NULL,
-                                                 Guid(trgUuid).toUtf16().raw(),
+                                                 bstrUuid.raw(),
                                                  FALSE,
                                                  trgMachine.asOutParam()),
