Windows server 2012 R2 invalid namespace error

Selim YILDIZ 1 Reputation point
2021-06-17T11:46:11.727+00:00

hi,

we have a problem about server 2012 r2. i attached error screen in attachment. Can you help me for solve this problem.106616-invalid-namespace.jpg

Windows for business Windows Server User experience Other
{count} votes

5 answers

Sort by: Most helpful
  1. Lizandro Atahualpa GDL 56 Reputation points
    2022-06-21T15:37:19.523+00:00

    Hello.

    The following worked for me:

    Recompile .mof & .mlf files by running the following commands from an Elevated Command Prompt (Admin):

    CD C:\Windows\System32\WBEM

    dir /b *.mof *.mfl | findstr /v /i uninstall > moflist.txt & for /F %s in (moflist.txt) do mofcomp %s

    Refresh "Server Manager" or re-open it

    11 people found this answer helpful.

  2. Anonymous
    2021-06-17T13:00:33.593+00:00

    A wild guess but something here might help.
    https://techcommunity.microsoft.com/t5/ask-the-performance-team/wmi-missing-or-failing-wmi-providers-or-invalid-wmi-class/ba-p/375485

    --please don't forget to upvote and Accept as answer if the reply is helpful--


  3. JiayaoZhu 3,926 Reputation points
    2021-06-18T02:39:24.773+00:00

    Hi,

    Thanks for posting on our forum!

    Firstly it's good for you to give us the error screenshot, however, apologize for not being able to read Turkish (?). I would appreciate it if you could translate the error message into English. When did this error message pop up on your Server Manager, what operation were you trying to do at that moment. I can only identify "...: Invalid namespace". Did the error message pop up when attempting to use WMI, as what @Anonymous suggested? We need more information to help you troubleshoot this issue.

    Thanks for your support!

    BR,
    Joan


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    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.


  4. JiayaoZhu 3,926 Reputation points
    2021-06-18T06:42:54.93+00:00

    Hi,

    Thanks for your response!

    Based on your error message, your issue is probably caused by the serer manager can not connect the server Win RM service, please disable your proxy network then try again. More information can be seen from this blog:

    https://social.technet.microsoft.com/Forums/Lync/en-US/e19af4ef-49b0-469e-8ab4-2b113ebcc7a5/server-manager-2012-configuration-refresh-failed-with-the-following-error-invalid-namespace?forum=winservermanager

    Thanks for your support!

    BR,
    Joan


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    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.

    0 comments No comments

  5. wan jebat 0 Reputation points
    2023-03-03T01:20:07.71+00:00

    I recently counter this error. File and Storage server tab was disappeared at the left pane of Server Manager and notification keep stating that refresh failed and reason was Invalid Namespace. This is what i've done to overcome it.

    The step:

    1 - i ran the command according to this link. please notice the directory for .mfl file as its all in en-US directory.

    https://learn.microsoft.com/en-us/answers/questions/684166/failed-to-initialize-all-required-wmi-classes

    2 - After completing above link, and refreshing Server Manager you will get new error notification of Invalid Nameclass. Then you run the command

    1. cd C:\Windows\System32\wbem\AutoRecover
    2. for /f %s in ('dir /b *.mof *.mfl') do mofcomp %s
    3. goto Servermanager, do Refresh - Ok.

    After this everything should be ok. at least for me.

    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.