PREEMPTIVE_OS_AUTHENTICATIONOPS is SQL Server waiting on Windows for authentication work, which for domain accounts usually means a domain controller. Its average time per call is a latency meter for your authentication infrastructure. When it jumps, new connections slow down while running queries stay healthy. Run the check to read the average.Microsoft lists it as internal use only. It is a generic wait for several Windows security authentication functions, with examples during login processing and connection setup. Long waits are for the infrastructure team to investigate on the domain controllers. While the call runs, the thread is in preemptive mode, outside SQL Server’s scheduler.
Is It a Problem?
Small, steady amounts, no; every Windows-authenticated login passes through it. On our SQL Server 2025 lab it logged about 35,000 waits averaging under a millisecond in a day. It is worth a look when the average per call jumps, because then authentication is slow, and the commonly reported symptom is slow or timing-out new connections while sessions that are already connected run normally.
The baseline to monitor is its average wait per call over an interval rather than the cumulative totals; the count only tracks how many logins you take.
Common Causes
- Slow or overloaded domain controllers, or the server authenticating against one in another site.
- DNS or site configuration sending authentication to the wrong domain controller.
- Accounts in very large numbers of groups, which makes building the security token more expensive.
- Network problems between the server and the domain controllers.
The Check To Run
Rank it against everything else with Get Wait Statistics, then read the authentication and directory waits with their averages:
SELECT
wait_type,
waiting_tasks_count,
wait_time_ms,
CAST(wait_time_ms * 1.0 / NULLIF(waiting_tasks_count, 0) AS DECIMAL(12, 2)) AS avg_wait_ms,
max_wait_time_ms
FROM sys.dm_os_wait_stats
WHERE wait_type IN (
N'PREEMPTIVE_OS_AUTHENTICATIONOPS',
N'PREEMPTIVE_OS_LOOKUPACCOUNTSID',
N'PREEMPTIVE_OS_DSGETDCNAME',
N'PREEMPTIVE_OS_NETUSERGETGROUPS',
N'PREEMPTIVE_OS_LOGONUSER')
ORDER BY wait_time_ms DESC;
Take two readings an interval apart and compare the averages. To see which domain controller the server is using, run nltest /dsgetdc:YourDomain on the server. The query needs VIEW SERVER STATE.
What To Do
- If the average climbs while login times degrade, the evidence points outside SQL Server. Give the infrastructure team the server name, the times, and the averages from the check.
- Check which domain controller the server uses and whether sites and subnets route it to a nearby one.
- For accounts in very many groups, cleaning up group membership is the real fix.
The PREEMPTIVE_OS Security and Directory Waits
Each of these is SQL Server calling out to Windows for authentication or directory work, and many of those calls go to a domain controller. They tend to rise together when AD is slow. If one is near the top of your waits, read it next to the waits that usually matter.
- PREEMPTIVE_OS_AUTHENTICATIONOPSAuthentication. Windows security calls made while authenticating logins and building tokens.Worth a look when it climbs. This page.
- Group Lookup waitsGroup membership. NETGROUPGETUSERS, NETUSERGETGROUPS and the other calls that ask Windows who belongs to which group.Worth a look when it climbs
- PREEMPTIVE_OS_LOOKUPACCOUNTSIDSID to name. Translating a security identifier into an account name, often via a domain controller.Worth a look when it climbs
- PREEMPTIVE_OS_DSGETDCNAMEFinding a DC. Locating a domain controller before the directory question can be asked.Worth a look when it climbs
- PREEMPTIVE_OS_LOGONUSERLogon as a stored identity. The Windows LogonUser call, used when SQL Server must log on with a stored Windows credential.Worth a look when it climbs
- Security waitsOther security APIs. The AUTHZ and security context calls that do not have a page of their own.Worth a look when it climbs
- Crypto waitsCryptography. Windows crypto API calls, for certificates, keys and TLS.Usually noise
Where To Go Next
If PREEMPTIVE_OS_AUTHENTICATIONOPS is climbing, these are the next places to look.
- PREEMPTIVE_OS Group Lookup waits, the group membership calls that rise with it.
- Kerberos vs NTLM in SQL Server, how Windows authentication reaches the domain.
- The waits that usually matter, ranked, with what each one is telling you.
- Performance & Troubleshooting, the scripts and guides for this part of the stack.
Leave a Reply