... PWCanChange ... PWMustChange ... Computer ... Domain ... ScriptPath ... Reserved1 ... Code (2 bytes): Code specifies the result and can have the following values. Value Meaning NERR_Success No errors encountered. 0 ERROR_ACCESS_DENIED User has insufficient privilege. 5 NERR_LogonScriptError An error occurred while loading or running the logon script. 2212 NERR_StandaloneLogon The was not validated by any server. 2214 NERR_NonValidatedLogon The logon server is running an older software version and cannot validate the logon. 2217 NERR_InvalidWorkstation The user is not allowed to log on from this computer. 2240 NERR_InvalidLogonHours The user is not allowed to log on at this time. 2241 NERR_PasswordExpired Administrator privilege. 2242 EffName (21 bytes): MUST be a null-terminated ASCII string that specifies the account to which the user was logged on. Pad1 (1 byte): Aligns the next data structure element to a word boundary. SHOULD be set to zero when sent and MUST be ignored on receipt. Priv (2 bytes): A 16-bit, unsigned integer that specifies the user's privilege level. The possible values are as follows. Value Meaning USER_PRIV_GUEST Guest privilege 0
... PWCanChange ... PWMustChange ... Computer ... Domain ... ScriptPath ... Reserved1 ... Code (2 bytes): Code specifies the result and can have the following values. Value Meaning NERR_Success 0 No errors encountered. ERROR_ACCESS_DENIED 5 User has insufficient privilege. NERR_LogonScriptError 2212 An error occurred while loading or running the logon script. NERR_StandaloneLogon 2214 The was not validated by any server. NERR_NonValidatedLogon 2217 The logon server is running an older software version and cannot validate the logon. NERR_InvalidWorkstation 2240 The user is not allowed to log on from this computer. NERR_InvalidLogonHours 2241 The user is not allowed to log on at this time. NERR_PasswordExpired 2242 Administrator privilege. EffName (21 bytes): MUST be a null-terminated ASCII string that specifies the account to which the user was logged on. Pad1 (1 byte): Aligns the next data structure element to a word boundary. SHOULD be set to zero when sent and MUST be ignored on receipt. Priv (2 bytes): A 16-bit, unsigned integer that specifies the user's privilege level. The possible values are as follows. Value Meaning USER_PRIV_GUEST 0 Guest privilege
%5BMS-RAP%5D-160714.docx