Index: /trunk/src/VBox/Main/src-all/win/VBoxProxyStub.c
===================================================================
--- /trunk/src/VBox/Main/src-all/win/VBoxProxyStub.c	(revision 59390)
+++ /trunk/src/VBox/Main/src-all/win/VBoxProxyStub.c	(revision 59391)
@@ -540,5 +540,5 @@
         if (pState->fSamUpdate)
             rc = RegCreateKeyExW(pState->hkeyClassesRootDst, L"Interface", 0 /*Reserved*/, NULL /*pszClass*/, 0 /*fOptions*/,
-                                 pState->fSamBoth, NULL /*pSecAttr*/, &pState->hkeyClsidRootDst, NULL /*pdwDisposition*/);
+                                 pState->fSamBoth, NULL /*pSecAttr*/, &pState->hkeyInterfaceRootDst, NULL /*pdwDisposition*/);
         else
             rc = RegOpenKeyExW(pState->hkeyClassesRootDst, L"Interface", 0 /*fOptions*/, pState->fSamBoth,
@@ -1313,5 +1313,7 @@
         {
             RTUTF16 wszBuf[MAX_PATH * 2];
+#if 0
             size_t  off;
+#endif
 
             /* {UUID}/Major.Minor/0. */
@@ -2182,5 +2184,6 @@
     hrc2 = NdrDllUnregisterProxy(g_hDllSelf, &g_apProxyFiles[0], &g_ProxyClsId);      /* see DLLREGISTRY_ROUTINES in RpcProxy.h */
     AssertMsgStmt(   SUCCEEDED(hrc2)
-                  || hrc2 == MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIN32, ERROR_FILE_NOT_FOUND),
+                  || hrc2 == MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIN32, ERROR_FILE_NOT_FOUND)
+                  || hrc2 == REGDB_E_INVALIDVALUE,
                   ("%Rhrc\n", hrc2), if (SUCCEEDED(hrc)) hrc = hrc2);
 
