mirror of
https://github.com/reactos/reactos.git
synced 2024-08-08 12:18:13 +00:00
[SYSSETUP]
Run an interactive logon for the administrator instead of a network logon. svn path=/trunk/; revision=61465
This commit is contained in:
parent
8c19f17ac0
commit
85f5811079
|
@ -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!");
|
||||
|
|
Loading…
Reference in a new issue