Sitecore has no necessary permissions for reading/creating counters

After I installed the new version of Sitecore 9.3, I started looking through the logs. I am noticing quite a few errors so I am going to work through them to clean them up. The errors create a lot of noise in the logs making it difficult to find what you need when you need to debug. The first one encountered is this one. Sitecore has no necessary permissions for reading/creating counters.

This means that the application pool and iis service isn’t allowed to read and write performance counter data. Let’s fix this.

Open the control panel and then open Administration Tools.

In Administration Tools open Computer Management.

Once in Computer Management, find Local Users and Groups. Click on the “Groups” folder and locate the “Performance Monitor Users” group. Double click the group.

Open Performance Monitor Users and click “Add”

Here is the important part: Add the user for your application pool based on the application name for the site.

Format: IIS AppPool\[insert app pool name]

Example: IIS AppPool\sc93sc.dev.local

Click “Check Names” to make sure it’s found and valid. If so, click “ok”

You should see your new user show up in the list. Click apply on the Performance Monitor Users Dialog.

Open a command prompt as an “Administrator”. Execute an IISReset.

That’s it. Once you navigate to your site and make a request to Sitecore new log files will be generated. Validate that the errors are no longer present.

About Phil Paris

Hi, my name is Phil Paris and I’m a Sitecore Architect and general Sitecore enthusiast. I’ve been working with Sitecore since 2013. Through this blog I will be sharing Sitecore insights, tips and tricks, best practices and general knowledge with the hopes to further the community at large. Please feel free to reach out to me at any time!

View all posts by Phil Paris →