How to get user token from Logonuser for user account without password?

How can you get a user token from Logonuser for a user account without a password?

In particular, Logonuser will not work for accounts that do not have passwords.
You can verify the account by checking the blank password + validation GetLastError () == ERROR_ACCOUNT_RESTRICTION.

But I need to get the returned token, so I need this function for success.

+3
source share
1 answer

, LimitBlankPasswordUse, . , LimitBlankPasswordUse HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa . " ".

, , .

+3

All Articles