1. Resources
  2. Detection sources
  3. Event ID 6280

Event ID 6280: Network Policy Server unlocked the user account

Written by an NPS server when an account its own remote access account lockout had locked (6279) is unlocked. Concerns NPS only: the Active Directory account was never locked by it, and an AD unlock is 4767.

Log source
Windows Security log
Detection value
Context
Volume
Low (estimate)
Last updated
Audit subcategory
Audit Network Policy Server (Logon/Logoff, Success and Failure)
Logged on
Domain controllers, Member servers only
Event versions
0
Detects
Not read by our detection rules yet

When it is written

A server running Network Policy Server (NPS) writes 6280 when an account that its remote access account lockout had locked (6279) is unlocked, if Audit Network Policy Server is on. Microsoft documents two ways out of that lockout: the reset time set on the server passes (ResetTime (mins), two days by default), or an administrator deletes the account's entry, named after its domain and user name, under the server's AccountLockout registry key. It does not say which of them writes 6280; its pages describe the event only by its text.

Like 6279, the event concerns NPS alone. The remote access lockout is kept in the NPS server's registry, apart from the account lockout policy of Active Directory, so the domain account was usable throughout. 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
Microsoft's recommendation per computer role
ComputerAuditNote
Domain controllersSuccess if needed and Failure if neededOnly 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 serversSuccess if needed and Failure if neededOnly 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.
WorkstationsNot loggedMicrosoft says the Network Policy Server role cannot be installed on a client operating system.
Check the current setting
auditpol /get /subcategory:"Network Policy Server"
Based on vendor documentation.
Turn it on (local policy; a domain GPO overrides it)
auditpol /set /subcategory:"Network Policy Server" /success:enable /failure:enable
Based on vendor documentation.
The same on a Windows in another display language
auditpol /get /subcategory:"{0CCE9243-69AE-11D9-BED3-505054503030}"
Based on vendor documentation.

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

Fields

In Event Viewer order. The field names are those of the event XML, from the event template that ships with Windows.

FieldWhat it holdsSince
Security IDSubjectUserSidUserSID of the account that NPS unlocked. Event Viewer resolves it to a name.v0
Account NameSubjectUserNameUserName of that account.v0
Account DomainSubjectDomainNameUserDomain of the account, as a NetBIOS name, or the NPS server's own name for a local account.v0
Fully Qualified Account NameFullyQualifiedSubjectUserNameUserThe same account as domain and name, for example CORP\alice (shown as Fully Qualified Account Name).v0

Values to know

Account Domain SubjectDomainName

ValueMeaningSignal
Your domain's NetBIOS nameA domain accountIts Active Directory account was not locked by NPS; an Active Directory unlock is 4767.Expected
The NPS server's own computer nameA local account of the serverWorth knowing

Security ID SubjectUserSid

ValueMeaningSignal
The SID of a recent 6279The end of that lockoutExpected
A SID with no 6279 before itAn unlock whose lockout was not collectedCheck that every NPS server sends its Security log.Worth knowing

Volume and noise

Rare: at most one per 6279, and none where the remote access account lockout is off (its default).

Keeping it manageable

  • No rule of the library reads 6280. Keep every one: the volume is low.
  • Pair it with the 6279 of the same account on the same server, and compare the time between the two with the server's ResetTime (mins).
  • An unlock by hand is a change under the AccountLockout registry key of the NPS server. With a SACL that audits Set Value on that key and Audit Registry on, Windows records who made it (4657 for a deleted value). Microsoft's lockout article calls the entry a value, its reason code table a subkey; 4657 covers values only.

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>6280</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 6280 unlock the Active Directory account?

No. The NPS remote access account lockout is separate from Active Directory, so the domain account was never locked by it. An account locked in Active Directory (4740) is unlocked there, which a domain controller records as 4767.

What unlocks an account that NPS locked?

Microsoft documents two ways. The reset time set on the server passes (ResetTime (mins), two days by default), or an administrator deletes the account's domain and user name entry under the AccountLockout registry key of the NPS server. Microsoft does not say which of them writes 6280.

Why is there a 6279 but no 6280?

The account may still be locked (the default reset time is two days), the server may not send its Security log, or the lockout may have ended in a way that writes no 6280, which Microsoft does not document either way. Check the AccountLockout registry key of the NPS server for an entry named after the account.

References