Issues with Performance Counter Collection
We’ve learned from our experiences with the Windows operating system regarding performance monitoring that the performance counter system is highly vulnerable. It doesn’t take much to throw it off, and you won’t know what happened or when it happened most of the time.
In this circumstance, the first step is to see if the counters are present on the server that hosts the monitored instance. Windows Performance Monitor is an excellent place to start. Click Start-> Run on the server’s desktop and type “perfmon.exe.” Right-click on the perfmon window and select add counters when it opens. From here, you’ll want to add a counter that the problem is referencing.
If they aren’t there, you might be in luck. Because all the counter categories indicated are from SQL Server, restarting the SQL Server service is a strong bet for getting them back in line. If it doesn’t work, the counters may need to be rebuilt.

Please note that while this blog directs the default instance of SQL Server to use the performance counters in “sqlctr.ini,” we’ve noticed that, in some circumstances, the file does not load after making the appropriate changes. Instead, it displays a Windows error stating a registry issue. In this situation, look in the BINN folder for a file named “perf-MSSQLSERVERsqlctr.ini.” This file should already have all of the changes made to it and should load without issue to restore the counters.
If you need to rebuild the counters, keep in mind that neither SQL Sentry nor any other SQL Server performance counter monitoring solution will be able to assist you with the metrics associated with these counter categories.
If you can retrieve the counters locally, the next step is to see if you can get them from the SQL Sentry service’s hosting server.
To do so, open Windows Performance Monitor on the server that hosts the SQL Sentry Monitoring service. Once the server is available, enter the UNC path to the server in question (MACHINENAME). Then wait for perfmon to connect to the machine and refresh the counters list. Once the error notice has been restored, look for the counter categories specified in the error notice. You’ve demonstrated that communication is a problem if you can’t find them.
If the counters aren’t there, the next step is to restart the remote registry service on the monitored server. It is a basic procedure that should not cause any service disruptions. Retry the previous method to check for counters once the service has been restarted.
Start the SQL Sentry Client after the counters are available in Windows Performance Monitor and wait a few minutes for the error to disappear. If the issue persists, restart the SQL Sentry Monitoring Service and wait a few moments for it to disappear.
About Enteros
IT organizations routinely spend days and weeks troubleshooting production database performance issues across multitudes of critical business systems. Fast and reliable resolution of database performance problems by Enteros enables businesses to generate and save millions of direct revenue, minimize waste of employees’ productivity, reduce the number of licenses, servers, and cloud resources and maximize the productivity of the application, database, and IT operations teams.
The views expressed on this blog are those of the author and do not necessarily reflect the opinions of Enteros Inc. This blog may contain links to the content of third-party sites. By providing such links, Enteros Inc. does not adopt, guarantee, approve, or endorse the information, views, or products available on such sites.
Are you interested in writing for Enteros’ Blog? Please send us a pitch!
RELATED POSTS
What Should Healthcare IT Teams Know About AI-Driven Database Root Cause Analysis?
- 1 September 2026
- Database Performance Management
AI database root cause analysis helps healthcare IT teams identify why database performance problems occur by correlating SQL behavior, resource utilization, workload changes, wait events, locking, and historical patterns. Combined with AI database performance monitoring, it enables faster troubleshooting, earlier anomaly detection, and more proactive optimization. Enteros helps healthcare organizations investigate complex database issues before … Continue reading “What Should Healthcare IT Teams Know About AI-Driven Database Root Cause Analysis?”
How Can Hospitals Improve EHR Performance With AI-Powered Database Monitoring?
Improving EHR database performance requires continuous monitoring of SQL workloads, query latency, resource utilization, locking, wait events, and transaction patterns. AI-powered database monitoring helps hospitals detect anomalies, identify root causes, optimize inefficient queries, and anticipate capacity issues before clinicians are affected. Enteros provides intelligent database observability that helps healthcare IT teams improve EHR reliability, responsiveness, … Continue reading “How Can Hospitals Improve EHR Performance With AI-Powered Database Monitoring?”
How Does Cloud FinOps Help Banks Control Database Costs and Improve IT Efficiency?
FinOps for banks helps financial institutions control database costs by connecting cloud spending with actual workload usage, database performance, and business requirements. It enables cost visibility, accurate allocation, resource right-sizing, forecasting, and continuous optimization. Combined with database observability, database cost optimization for banks can reduce waste while protecting transaction speed, availability, scalability, security, and overall … Continue reading “How Does Cloud FinOps Help Banks Control Database Costs and Improve IT Efficiency?”
What Are the Best Ways to Improve Database Performance in Banking and BFSI?
Improving database performance in banking requires continuous database monitoring, SQL query optimization, intelligent indexing, capacity planning, anomaly detection, and proactive root cause analysis. Banks should also establish performance baselines and use AI-powered database observability to identify issues before transactions are affected. Enteros helps banking and BFSI organizations improve database reliability, scalability, efficiency, and transaction performance … Continue reading “What Are the Best Ways to Improve Database Performance in Banking and BFSI?”