Workflow Tools Control Yard

Home / Network

NPS reason code lookup

Paste an event 6273 or 6274 from the Security log of a Network Policy Server, as Event Viewer copies it or as XML, or type a reason code such as 16, 48, 65 or 66. The page says why NPS denied or discarded the request, and picks out the user, the client, the policies and the authentication type from the event. It reads the text in your browser.

The events

NPS logs these events in the Security log when the audit of Network Policy Server is turned on. Microsoft's troubleshooting guide for NPS starts here: most failed authentications log 6273 or 6274, and the reason code says why. Both events also give the reason in words. The guide turns the audit on with this command:

auditpol /set /subcategory:"Network Policy Server" /success:enable /failure:enable
EventTitleWhat it means
6272Network Policy Server granted access to a user.The request was accepted.
6273Network Policy Server denied access to a user.The request was rejected. The Reason Code says why.
6274Network Policy Server discarded the request for a user.NPS discarded the request instead of accepting or rejecting it. The Reason Code says why.

Reason codes

The reason codes Microsoft documents for NPS. There are gaps in the numbers on purpose. Select a code to read it above.

CodeWhat it meansWhat to check
0NPS authenticated and authorized the request.
1The request failed because of an error inside NPS.
2NPS does not have the access rights it needs to process the request.
3The RADIUS Access-Request from the network access server (the switch, access point or VPN server) was malformed.
4NPS could not reach a global catalog of Active Directory, so it could not authenticate or authorize the request.
5NPS could not reach a domain controller of the user's domain.
6The NPS server could not process the request. Microsoft lists low memory, a missing domain controller name and failures of the account databases as causes.
7The domain in the RADIUS User-Name does not exist.Check the domain part of the user name the client sends.
8The account in the RADIUS User-Name does not exist.Check the user name the client sends, and which domain it is looked up in.
9An IAS extension DLL installed on the NPS server discarded the request.
10An IAS extension DLL installed on the NPS server failed.
16Authentication failed: the user name does not match an account, or the password is wrong.
17The user tried to change the password, and the change failed.
18NPS does not support the authentication method the client used for this connection.
19The client used CHAP, which needs the password stored with reversible encryption, and that is not turned on.
20The client tried LAN Manager authentication, which NPS does not support.
21An IAS extension DLL installed on the NPS server rejected the request.
22NPS and the client could not agree on an EAP type.Compare the EAP types the network policy allows with the one the client is set to use, such as PEAP or EAP-TLS.
23An error occurred while NPS used EAP.Microsoft points to the EAP log files for the details.
32The NPS server is in a workgroup and has no domain accounts, but the request names a domain user.
33The user must change the password before connecting.
34The account in the request is disabled.
35The account in the request has expired.
36The account is locked out after more failed attempts than the account lockout threshold allows. It must be unlocked.
37The logon hours of the account in Active Directory do not allow access at this time.
38A restriction or requirement of the account was not met, such as a blank password where one is not allowed.Change or remove the restriction, or tell the user what it requires.
48The request did not match any network policy, so NPS denied it.Check the conditions and the order of the network policies.
49The request did not match any connection request policy, so NPS denied it.Check the conditions of the connection request policies.
64Remote access account lockout locked the account after too many failed attempts.Microsoft's fix: on the NPS server, delete the entry for the user under HKLM\SYSTEM\CurrentControlSet\Services\RemoteAccess\Parameters\AccountLockout.
65The Network Access Permission on the Dial-in tab of the account is set to Deny access.Set it to Allow access, or to Control access through NPS Network Policy.
66The client used an authentication method that the matching network policy does not allow, or tried Guest access, which is not turned on.Make the client use a method the policy allows, or allow its method in the policy.
67The Calling-Station-ID in the request does not match the Verify Caller ID setting on the Dial-in tab of the account.
68The day and time restrictions of the matching network policy do not allow access now.Change the day and time restrictions in the constraints of the policy.
69The station identifier in the request does not match the Calling-Station-ID constraint of the matching network policy.
70The way the client connected does not match the NAS Port Type constraint of the matching network policy.
72The password has expired or is about to expire, and the authentication methods of the policy do not let the user change it.Turn on User can change password after it has expired in the authentication methods of the policy.
73The certificate the client sent does not have Client Authentication (1.3.6.1.5.5.7.3.2) in its application policies or enhanced key usage.Add Client Authentication to the certificate template, revoke the certificate and enroll a new one.
80NPS could not write accounting data to its log file or SQL Server database.
96The EAP session with the client timed out before the authentication finished.
97The request carried a RADIUS message that does not belong in the authentication exchange, so NPS did not process it.
112The remote RADIUS server this NPS proxy forwarded the request to rejected it.Read the event log of that remote RADIUS server for its reason.
113The proxy tried to forward the request to a remote RADIUS server group that does not exist.Set the connection request policy to forward to a remote RADIUS server group that exists.
115The proxy did not forward the message, because it was neither an accounting request nor a connection request.
116The proxy could not open a socket, or got socket errors while it sent the request to the remote server.
117The remote RADIUS server did not answer in time.Check that the remote RADIUS server is running and can be reached from this server.
118The proxy received a RADIUS message it could not read, or a request with extra or invalid User-Name attributes.
256The certificate of the user or computer has been revoked.
257A missing DLL or exported function keeps NPS from checking the certificate revocation list.
258NPS could not get to the certificate revocation list to check the certificate.
259The certification authority that keeps the revocation list is not available, so NPS cannot check the certificate.
260The EAP message was changed on the way: the MD5 hash of the RADIUS message does not match, or it was changed at the Schannel level.
261NPS could not reach Active Directory or the local accounts database, so it denied the connection.
262NPS discarded the RADIUS message, because it was incomplete and its signature could not be verified.
263NPS did not receive complete credentials from the user or computer.
264The clocks of the NPS server and of the client are not in sync.
265The client certificate chains to an enterprise root certification authority that the NPS server does not trust.Check that the NPS server trusts the root certification authority of the client certificate.
266NPS received an unexpected or badly formatted message and discarded it.
267The client certificate lacks the Client Authentication purpose in its application policies or enhanced key usage.
268The client certificate has expired.
269The NPS server and the client have no algorithm in common, so they cannot talk to each other.
270The matching network policy requires a smart card, and the user signed in with other credentials.
271NPS was stopping or restarting when the request arrived, so it did not process it.
272The client certificate maps to more than one account.
273Windows trust verification did not recognize the trust provider on this computer.
274The trust provider does not support the requested action.
275The trust provider does not support the form of the subject.
276The binary that calls EAP could not be verified and is not trusted.
277The binary that calls EAP is not signed, or the certificate of its signer cannot be found.
278The client certificate has expired.
279The validity periods of the certificates in the chain do not match.
280The certificate is not valid and was not issued by a valid certification authority.
281The chain is longer than a path length constraint in it allows.
282The certificate has a critical extension that NPS does not recognize.
283The certificate lacks the Client Authentication purpose in its application policies, so it cannot be used to authenticate.
284The issuer of the certificate and the parent certificate in the chain do not match.
285NPS cannot find the certificate, or the certificate is malformed and lacks information NPS needs.
286The certificate was issued by a certification authority that the NPS server does not trust.
287The certificate does not chain to an enterprise root certification authority that NPS trusts.
288Authentication failed because of a trust failure that is not specified.
289The certificate has been revoked.
290A test certificate is in use, and local or domain policy does not trust the test root certification authority.
291NPS cannot get to the certificate revocation list to check whether the certificate is revoked.
292The User-Name in the request does not match the common name (CN) of the certificate.
293The certificate lacks the Client Authentication purpose in its application policies or enhanced key usage.
294An administrator marked the certificate as untrusted.
295The certificate was issued by a certification authority that the NPS server does not trust.
296The certificate lacks the Client Authentication purpose in its application policies or enhanced key usage.
297The certificate does not have a valid name.
298The certificate has no valid user principal name (UPN), or the User-Name does not match it.
299Internal components or protocols passed information in the wrong order while the message was verified.
300The certificate is malformed, and EAP cannot find the credential information in it.
301The client sent an invalid cryptobinding TLV, so NPS ended the authentication. This can be a sign of a man-in-the-middle attack.
302NPS did not receive the cryptobinding TLV it requires from the client, so it ended the authentication.

Sources

More Network tools