Missing Perfmon Counters

Bradley Schacht is a Principal Program Manager on the Microsoft Fabric product team based in Saint Augustine, FL. Bradley is a former consultant, trainer, and has coauthored 6 SQL Server and Power BI books, most recently Learn Microsoft Fabric. As a member of the Microsoft Fabric product team, Bradley works directly with customers to solve some of their most complex data problems and helps shape the future of Microsoft Fabric. Bradley gives back to the community through speaking at events such as the SQLBits, Fabric Community Conference, PASS Community Data Summit, SQL Saturdays, Code Camps, and user groups across the country including locally at the Jacksonville SQL Server User Group (JSSUG). He is a contributor on SQLServerCentral.com and blogs on his personal site, BradleySchacht.com.




But I digress. I want my counters! So, how do you get them back? It's actually quite simple, run a simple command on the command prompt called lodctr (load counter). There are two sets of counters that I am going to mention in the set of steps listed below, SSIS and SQL Server. They are in two different locations, so be sure to pay attention to which one you want to restore. There is one .ini file to restore for SSIS and two for SQL Server. It is worth noting that sometimes only some of the counters will not appear, as in the case that I had where only one of the SSIS counters didn't show up. You can still run the above command and all the counters that are missing will be added in. Instructions are below. Good luck! 1. Locate the file perf-DTSPipeline100DTSPERF.INI on the file system.
2. Open the command prompt (Start > Run > cmd) 3. Run the following command at the command prompt.
