[SYSSETUP]
authorEric Kohl <eric.kohl@reactos.org>
Mon, 30 Dec 2013 22:38:14 +0000 (22:38 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Mon, 30 Dec 2013 22:38:14 +0000 (22:38 +0000)
Run an interactive logon for the administrator instead of a network logon.

svn path=/trunk/; revision=61465

reactos/dll/win32/syssetup/install.c

index 9747a23..4eccb7f 100644 (file)
@@ -933,7 +933,7 @@ InstallReactOS(HINSTANCE hInstance)
             HANDLE hToken;
             BOOL ret;
 
-            ret = LogonUserW(L"Administrator", L"", L"", LOGON32_LOGON_NETWORK, LOGON32_PROVIDER_DEFAULT, &hToken);
+            ret = LogonUserW(L"Administrator", L"", L"", LOGON32_LOGON_INTERACTIVE, LOGON32_PROVIDER_DEFAULT, &hToken);
             if (!ret)
             {
                 FatalError("LogonUserW() failed!");