Edit

Share via


Configure WMI to show server status in SQL Server tools

Applies to: SQL Server Azure SQL Database Azure SQL Managed Instance Azure Synapse Analytics Analytics Platform System (PDW)

This article describes how to configure WMI to show the server status in SQL Server tools in SQL Server. When connecting to servers, both the Registered Servers and Object Explorer components of SQL Server Management Studio, as well as SQL Server Configuration Manager, use Windows Management Instrumentation (WMI) to obtain the status of the SQL Server (MSSQLSERVER) and SQL Server Agent (MSSQLSERVER) services.

To display the status of the service, the user must have rights to remotely access the WMI object. The server must have WMI installed to configure this permission.

Configure WMI permission

  1. On the Start menu on the remote server, select Run.

  2. In the Open box, type wmimgmt.msc, and then select OK.

  3. In the Windows Management Infrastructure program, right-click WMI Control (Local), and then select Properties.

  4. In the WMI Control (Local) Properties dialog box, on the Security tab, expand Root, and then select CIMV2.

  5. Select Security to open the Security for ROOT\CIMV2 dialog box.

  6. Add a group or user to the Group or user names box and select it.

  7. In the Permissions for*<group or user>* box, select the Allow column, for the Remote Enable permission, for users whom you wish to remotely detect the service status.