Windows error 0x00000531, 1329

Detailed Error Information

INVALID_WORKSTATION[1]

MessageThis user isn't allowed to sign in to this computer.
Declared inwinerror.h

This appears to be a raw Win32 error. More information may be available in error 0x80070531.

HRESULT analysis[2]

This is probably not the correct interpretation of this error. The Win32 error above is more likely to indicate the actual problem.
FlagsSeveritySuccess

This code indicates success, rather than an error. This may not be the correct interpretation of this code, or possibly the program is handling errors incorrectly.

Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode0 (0x000)
NameFACILITY_NULL[2][1]
DescriptionThe default facility code.[2][1]
Error Code1329 (0x0531)

Questions

0votes
0answers

Powershell function LogonUser return different Error code when using Schedule Task

I'm using function below in my script to ensure that user are not using specific list of passwords for local account. The function works fine and return "True" with correct username and password and return "False" with correct Error "The user name or password is incorrect" when tested against a [...] read more
windows
powershell

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0