[RUNAS] Load user profile by default

This commit is contained in:
Eric Kohl 2022-02-21 16:26:35 +01:00
parent d4b947aa9b
commit eb0830a1d6

View file

@ -90,7 +90,7 @@ wmain(
PWSTR ptr; PWSTR ptr;
STARTUPINFOW StartupInfo; STARTUPINFOW StartupInfo;
PROCESS_INFORMATION ProcessInfo; PROCESS_INFORMATION ProcessInfo;
DWORD dwLogonFlags = 0; DWORD dwLogonFlags = LOGON_WITH_PROFILE;
DWORD dwCreateFlags = 0; DWORD dwCreateFlags = 0;
BOOL rc; BOOL rc;