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.
source
share