SQL Server – Login Failed for User ‘domain\localMachineName$’

availability-groupsclusteringsql-server-2016windows-server

login failed for user 'domain\localMachineName$'. Reason: Could not find a login matching the name provided. [CLIENT: ]

This appeared on my new SQL Server right after I added it to an existing Windows cluster. It occurs exactly every 5 minutes. Seems a local resource is trying to log in but I can't see what it could possibly be related to.

Best Answer

This is how the NETWORK SERVICE account from localMachineName presents itself to SQL Server (and file shares, and web sites, etc).

You need to profile "Login Failed" events (or XE Capture or whatever) to identify the program and/or Windows PID