When it is written
A server running Network Policy Server (NPS) writes 6279 when an account reaches the threshold of the remote access account lockout, if Audit Network Policy Server is on. This lockout is set in the registry of the server that authenticates remote access requests, the NPS server when RADIUS is used, and is kept apart from the account lockout policy of Active Directory. Once a valid account has failed authentication the set number of times, NPS rejects its further requests with reason code 64 in 6273 until the reset time passes or an administrator removes the account's entry from the registry. Microsoft documents the feature and reason code 64; its pages describe event 6279 only by its text.
The feature is off by default, so a server where it was never set writes no 6279. The failure count is kept on each server in its registry, and Microsoft notes that the setting does not tell a user who mistyped a password from an attacker trying passwords, and that an attacker can use it to lock accounts out of remote access on purpose. Microsoft's event list gives no Success or Failure for the NPS events; its NPS troubleshooting turns both on.
How to turn it on
Advanced audit policy subcategory Audit Network Policy Server, Success and Failure. Set it in a Group Policy object linked to the computers that write the event:
Computer Configuration > Policies > Windows Settings > Security Settings > Advanced Audit Policy Configuration > Audit Policies > Logon/Logoff > Audit Network Policy Server| Computer | Audit | Note |
|---|---|---|
| Domain controllers | Success if needed and Failure if needed | Only if needed, in both baselines. Turn it on when the server has the Network Policy Server role and you need to monitor access requests and other NPS events; the subcategory writes nothing without the role. |
| Member servers | Success if needed and Failure if needed | Only if needed, in both baselines. Turn it on when the server has the Network Policy Server role and you need to monitor access requests and other NPS events; the subcategory writes nothing without the role. |
| Workstations | Not logged | Microsoft says the Network Policy Server role cannot be installed on a client operating system. |
auditpol /get /subcategory:"Network Policy Server"auditpol /set /subcategory:"Network Policy Server" /success:enable /failure:enableauditpol /get /subcategory:"{0CCE9243-69AE-11D9-BED3-505054503030}"Run the commands in an elevated prompt on a computer that writes the event. Subcategory settings take effect only when the security option Audit: Force audit policy subcategory settings (Windows Vista or later) to override audit policy category settings is enabled (the default), and a Group Policy object that sets advanced audit policy replaces local changes at its next refresh. Microsoft's advanced audit policy reference
Besides the subcategory, 6279 needs the remote access account lockout, which is off by default. It is set in the registry of the server that authenticates the requests (the NPS server when RADIUS is used), under HKLM\SYSTEM\CurrentControlSet\Services\RemoteAccess\Parameters\AccountLockout: MaxDenials is the number of failed attempts before an account is locked (0, the default, turns the feature off) and ResetTime (mins) the time after which the count is reset (default 0xb40, 2,880 minutes or two days). A read-only check:
reg query "HKLM\SYSTEM\CurrentControlSet\Services\RemoteAccess\Parameters\AccountLockout"
Fields
In Event Viewer order. The field names are those of the event XML, from the event template that ships with Windows.
| Field | What it holds | Since |
|---|---|---|
Security IDSubjectUserSidUser | SID of the account that NPS locked. Event Viewer resolves it to a name. | v0 |
Account NameSubjectUserNameUser | Name of that account. | v0 |
Account DomainSubjectDomainNameUser | Domain of the account, as a NetBIOS name, or the NPS server's own name for a local account. | v0 |
Fully Qualified Account NameFullyQualifiedSubjectUserNameUser | The same account as domain and name, for example CORP\alice (shown as Fully Qualified Account Name). The registry entry NPS keeps for the lockout is named after the domain and user name too. | v0 |
Values to know
Account Domain SubjectDomainName
| Value | Meaning | Signal |
|---|---|---|
Your domain's NetBIOS name | A domain accountIts Active Directory account is not locked by this event. | Expected |
The NPS server's own computer name | A local account of the serverNPS authenticates against the server's local accounts when it is not in a domain, which Microsoft documents with reason code 32. | Worth knowing |
Security ID SubjectUserSid
| Value | Meaning | Signal |
|---|---|---|
Ends with -500 | A built-in Administrator accountTrace the failed attempts through the 6273 events of the account to the clients that sent them. | Worth knowing |
Any other SID | A user account | Expected |
Volume and noise
Rare where the feature is on, absent where it is off. Each event is one account reaching the threshold on one NPS server; the failed requests that led to it are 6273 events of the same account.
Keeping it manageable
- No rule of the library reads 6279. Keep every one: the volume is low.
- Read it with the 6273 events of the same account before it (reason code 16) to find the clients that sent the failed attempts: the Calling Station Identifier, the network access server and the RADIUS client.
- An NPS lockout does not lock the Active Directory account. If the same failures also reached the domain's lockout threshold, the domain controller writes 4740 and NPS rejects with reason code 36 instead.
- Check whether the feature is on for each NPS server (see below), so that an absence of 6279 is not read as an absence of repeated failures.
Sample event
Version 0, with made-up values.
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-a5ba-3e3b0328c30d}" />
<EventID>6279</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2026-11-18T09:30:12.4567890Z" />
<EventRecordID>1048576</EventRecordID>
<Correlation />
<Execution ProcessID="712" ThreadID="2408" />
<Channel>Security</Channel>
<Computer>NPS01.corp.example.com</Computer>
<Security />
</System>
<EventData>
<Data Name="SubjectUserSid">S-1-5-21-1004336348-1177238915-682003330-1105</Data>
<Data Name="SubjectUserName">alice</Data>
<Data Name="SubjectDomainName">CORP</Data>
<Data Name="FullyQualifiedSubjectUserName">CORP\alice</Data>
</EventData>
</Event>Attacks this event reveals
No detection rule or detection logic in our library reads this event yet. It is documented here because it sits next to the events they read: it explains them, follows from them or is the trace a defender looks for around them (see Related events).
Frequently asked questions
Does event 6279 mean the account is locked in Active Directory?
No. Microsoft documents the remote access account lockout as separate from the account lockout settings of Active Directory. It is kept in the registry of the NPS server and only makes NPS reject the account's requests (reason code 64). An Active Directory lockout is event 4740 on a domain controller, and NPS then rejects with reason code 36.
Why do I never see event 6279?
The remote access account lockout is off by default (MaxDenials is 0). Without it, NPS keeps rejecting failed requests with 6273 events but never locks an account itself. Check the AccountLockout registry key on each NPS server, and that Audit Network Policy Server is on.
How is an account unlocked after 6279?
Microsoft documents two ways. The account can try again once the reset time has passed (ResetTime (mins), two days by default), or an administrator deletes the account's domain and user name entry under the AccountLockout registry key. Microsoft also notes that the count is reset after a successful authentication. Event 6280 records an unlock.