Index: /trunk/src/VBox/Additions/WINNT/VBoxGINA/VBoxGINA.cpp
===================================================================
--- /trunk/src/VBox/Additions/WINNT/VBoxGINA/VBoxGINA.cpp	(revision 37637)
+++ /trunk/src/VBox/Additions/WINNT/VBoxGINA/VBoxGINA.cpp	(revision 37638)
@@ -113,14 +113,4 @@
 
     Log(("VBoxGINA::WlxNegotiate: dwWinlogonVersion: %ld\n", dwWinlogonVersion));
-
-    /* Load global configuration from registry. */
-    DWORD dwRet = loadConfiguration();
-    if (ERROR_SUCCESS != dwRet)
-        Log(("VBoxGINA: Error loading global configuration, error=%ld\n", dwRet));
-
-    /* If we have a remote session (that is, a connection via remote desktop /
-     * terminal services) deny it if not specified explicitly. */
-    if (!handleCurrentSession())
-        Log(("VBoxGINA: Handling of remote desktop sessions is disabled.\n"));
 
     /* Load the standard Microsoft GINA DLL. */
@@ -257,4 +247,14 @@
     hGinaWlx = hWlx;
 
+    /* Load global configuration from registry. */
+    DWORD dwRet = loadConfiguration();
+    if (ERROR_SUCCESS != dwRet)
+        LogRel(("VBoxGINA: Error loading global configuration, error=%ld\n", dwRet));
+
+    /* If we have a remote session (that is, a connection via remote desktop /
+     * terminal services) deny it if not specified explicitly. */
+    if (!handleCurrentSession())
+        LogRel(("VBoxGINA: Handling of remote desktop sessions is disabled.\n"));
+
     /* hook the dialogs */
     hookDialogBoxes(pWlxFuncs, wlxVersion);
