Cannot connect to WMI provider. You do not have permission, or the server is unreachable, Note that you can only manage SQL Server 2005 and later servers with SQL Server Configuration Manager. Invalid class [0x80041013]

Sai 126 Reputation points
2021-11-18T06:58:37.197+00:00

Hi Team,

I am facing the below problem and applied solution but issue is not resolved. Please suggest.

SQL Version: Microsoft SQL Server 2016 standard edition(SP2)

Error: Cannot connect to WMI provider. You do not have permission, or the server is unreachable, Note that you can only manage SQL Server 2005 and later servers with SQL Server Configuration Manager.
Invalid class [0x80041013]

Followed the below URL and executed below solution but no luck.
https://learn.microsoft.com/en-us/troubleshoot/sql/tools/error-message-when-you-open-configuration-manager

cd "C:\Program Files (x86)\Microsoft SQL Server\130\Shared"
mofcomp sqlmgmproviderxpsp2up.mof
Restarted Windows management Instrumentation service

Please suggest.

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,426 questions
{count} votes

2 answers

Sort by: Most helpful
  1. YufeiShao-msft 7,131 Reputation points
    2021-11-18T07:15:52.247+00:00

    Hi @Sai ,

    Did you try to run Cmd as administrator and execute these commands?

    For this command to succeed, the Sqlmgmproviderxpsp2up.mof file must be present in the %programfiles(x86)%\Microsoft SQL Server\nnn\Shared folder.

    https://learn.microsoft.com/en-us/troubleshoot/sql/tools/error-message-when-you-open-configuration-manager

    Some additions:https://stackoverflow.com/questions/44753745/sql-server-config-manager-error-cannot-connect-to-wmi-provider

    -------------

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Sai 126 Reputation points
    2021-11-22T12:42:51.147+00:00

    Yes, I did but no luck. I am planning to do clean installation.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.