SQL SERVER – Fixing Freezing Activity Monitor

The other day I had a very interesting experience while working with my client on Comprehensive Database Performance Health Check. While doing performance tuning, I personally prefer to use DMVs and DMFs but for the visualization easiness client preferred Activity Monitor which due to some reason was Freezing suddenly for him. After a while, we figured out a solution for the same and it was a simple permission issue.

Title card: Fixing Freezing Activity Monitor, with a frozen air conditioner icon

Freezing Activity Monitor

While working together DBA from my clients’ side noticed that the Activity Monitor was freezing for a few servers. It was indeed a very interesting problem. After a while, we figured out that it was just a permissions issue and very easy to fix it. Let us see how we were able to fix it with the help of images.

Search for 'wmimgmt/msc.

Type Wmimgmt.msc to the command prompt or in windows search.

WMI Control (Local).

Go to Properties of the WMI Control.

Freezing

Open WMI Control Properties.

WMI Control Properties Window.

Go to CIMV2 in namespace under ROOT.

SQL Server Authentication Settings.

Click Add to add your username to the security group.

Freezing

Add your username to the security group.

Freezing

Give all the necessary permission to your user and click on OK.

Well, once we added our account for which Activity Monitor was freezing to WMI the issue went away and Activity Monitor started to work perfectly fine. Well, such a simple solution to the complex looking problem.

Here are six-part blog post series I have written based on my last 10 years of experience helping with the Comprehensive Database Performance Health Check.

Published by Pinal Dave on SQLAuthority. More of my work at pinaldave.com.

SQL Activity Monitor, SQL Error Messages, SQL Server
Previous Post
SQL SERVER – SQL_NO_CACHE and OPTION (RECOMPILE)
Next Post
KILL WITH STATUSONLY: How Long Will This Rollback Take?

Related Posts

1 Comment. Leave new

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.