9
2017
Login failed for user ‘DOMAIN\COMPUTER$’. Reason: Could not find a login matching the name provided. [CLIENT: ]
On a recently built SQL Server 2016 observed following errors every 5 mins,
Login failed for user ‘DOMAIN\COMPUTER$’. Reason: Could not find a login matching the name provided. [CLIENT: <local machine>]
Error: 18456, Severity: 14, State: 5
As part of troubleshooting, tried following,
- Created login DOMAIN\COMPUTER$ with public access as well as SA access but error continue to arrive
- Validated all SQL agent jobs, OS scheduler tasks, etc. but found nothing
- Ran SQL profiler to capture login failure attempts, profiler captured error which is coming from application with name “SQLServerCEIP”
Now when checked online for SQLSERVERCEIP found that it’s SQL Server 2016 Customer Experience setting which comes enabled by Default in SQL 2016 and hence causing this erratic behavior as our server is not connected to Internet, not sure why Microsoft introduced such behavior when most of DMZ and production server never have Internet access and thus unnecessarily filling SQL error logs.
To fix this, found a link on stack overflow https://stackoverflow.com/questions/43548794/how-to-turn-off-telemetry-for-sql-2016 which helped to turn off this option by updating registry values, this change doesn’t require any outage and is safe to do as we are only playing with CEIP values and nothing else, but to be on safer side, please backup registry before doing this.
Microsoft KB article for same: https://support.microsoft.com/en-us/help/3153756/how-to-configure-sql-server-2016-to-send-feedback-to-microsoft
As soon as registry values are updated, error resolved, no restart or outage required.
FIX:
Following registry root keys to be accessed as applicable to environment (replace <instance name> with your instance or use MSSQL for default instance), RS and AS components are optional, remaining should always exists,
- Binaries à HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\130\
- Analysis services àHKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\MSAS13.<Instance name>\CPE\
- Reporting Services à HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\MSRS13.<Instance name>\CPE\
- MSSQL engine à HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\MSSQL13.<Instance name>\CPE\
- Wow 64 à HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Microsoft SQL Server\130\
Following two registry values to be updated from 1 to 0,
- CustomerFeedback=0
- EnableErrorReporting=0
Below is an example (taken from the stackoverflow link stated above),
- HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\130\CustomerFeedback=0
- HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\130\EnableErrorReporting=0
- HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\MSAS13.TESTINSTANCE\CPE\CustomerFeedback=0
- HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\MSAS13.TESTINSTANCE\CPE\EnableErrorReporting=0
- HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\MSRS13.TESTINSTANCE\CPE\CustomerFeedback=0
- HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\MSRS13.TESTINSTANCE\CPE\EnableErrorReporting=0
- HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\MSSQL13.TESTINSTANCE\CPE\CustomerFeedback=0
- HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\MSSQL13.TESTINSTANCE\CPE\EnableErrorReporting=0
- HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Microsoft SQL Server\130\CustomerFeedback=0
- HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Microsoft SQL Server\130\EnableErrorReporting=0
This can be automated using PowerShell or using registry scripting, one sample is provided on link provide, refer as needed.
Hope this helps someone struggling with same issue!
Ref:
https://stackoverflow.com/questions/43548794/how-to-turn-off-telemetry-for-sql-2016
Similar error is SQL 2012 can be because of IIS application pool as described at following link: https://dba.stackexchange.com/questions/74061/sql-server-2012-cant-log-in-with-machine-account/74064

Leave a comment
Subscribe to this blog via Email
Old Posts
- November 2017 (3)
- October 2017 (4)
- September 2017 (2)
- May 2017 (1)
- April 2017 (1)
- July 2016 (3)
- May 2016 (1)
- April 2016 (1)
- February 2016 (2)
- January 2016 (1)
- October 2015 (1)
- September 2015 (1)
- August 2015 (1)
- July 2015 (2)
- June 2015 (3)
- April 2015 (1)
- March 2015 (1)
- December 2014 (1)
- September 2014 (2)
- April 2014 (1)
- January 2014 (3)
- October 2013 (2)
- September 2013 (2)
- August 2013 (4)
- July 2013 (1)
- June 2013 (2)
- May 2013 (5)
- April 2013 (3)
- March 2013 (1)
- February 2013 (9)
- January 2013 (11)
- December 2012 (14)
- November 2012 (3)
- October 2012 (4)
- July 2012 (2)
- June 2012 (3)
- May 2012 (2)
- April 2012 (8)
- March 2012 (6)
- February 2012 (3)
- January 2012 (1)
- December 2011 (5)
- November 2011 (8)
- October 2011 (5)
- September 2011 (3)
- August 2011 (3)
- July 2011 (3)
- May 2011 (1)
- November 2010 (1)
Tags
Calender
M | T | W | T | F | S | S |
---|---|---|---|---|---|---|
« Nov | ||||||
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
View Post by Categories
Recent Articles
- Setting up Always ON Availability Group in Multi Subnet Cluster – Recommendations
- Configuring Replication with Always ON Availability Group
- Login failed for user ‘DOMAIN\COMPUTER$’. Reason: Could not find a login matching the name provided. [CLIENT: ]
- Modern Servicing Model (Service Pack and Cumulative Updates) for SQL Server 2017 and onwards
- Fix: SSMS 2012 opening Debug window when pressing F5