Might try clearing out the cache.
C:\Users\%username%\AppData\Roaming\Microsoft\MMC
--please don't forget to Accept as answer if the reply is helpful--
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
In the server manager I get the following error wen I open the task details:
"servername : Role and feature refresh failed with the following error: Class not registered"
![38832-capture.jpg][1]
Wen I try to add Roles and features I get Class not registered in the Server Selection (I only got this server in the list).
In event viewer I get the following errors:
In ServerManage-MultiMachine Event ID 216
"Invoke method error. Server: localhost, Namespace: root\microsoft\windows\servermanager, Class: MSFT_ServerManagerTasks, Method: GetServerFeature, Error: Class not registered"
In ServerManager-ManagmentProvider Event ID 49
"Get server feature task failed, error: Incorrect function.."
Running the commands "Sfc /scannow" and "DISM /Online /Cleanup-Image /RestoreHealth" didn't solved the problem.
thanks,
Might try clearing out the cache.
C:\Users\%username%\AppData\Roaming\Microsoft\MMC
--please don't forget to Accept as answer if the reply is helpful--
You can also try a repair install by running setup.exe from the root of install media, but time may be better spent standing up a new one, patch fully, migrate roles over to it and move on.
--please don't forget to Accept as answer if the reply is helpful--
Hi,
Please try below commands.
winmgmt /verifyrepository
winmgmt /salvagerepository
winmgmt /resetrepository
Before you begin, you might want to make a backup:
Start, CMD (Run As Admin)
winmgmt /backup %computername%_MM_DD_YEAR.WMI_backup
Note: Where MM is the month, DD is the date, and YEAR is the year.
For your reference: https://social.technet.microsoft.com/Forums/en-US/99d37f05-3b74-4318-9b28-1a372bdc86e7/server-2016-server-manager-refresh-error?forum=winservermanager
Another way to can have a try.
Thanks,
If the Answer is helpful, please click "Accept Answer" and upvote it. Thanks.
Hi,
From the screenshot, there is no system issue and WMI namespace issue. Everthing seems ok.
In this case, you might need to capture some dumps or traces to further investigate the issue, which I suggest to contact Microsoft Customer Support and Services where more in-depth investigation can be done so that you would get a more satisfying explanation and solution to this issue.
You may find phone number for your region accordingly from the link below:
Global Customer Service phone numbers
https://support.microsoft.com/en-us/help/4051701/global-customer-service-phone-numbers
Thanks,
If the Answer is helpful, please click "Accept Answer" and upvote it. Thanks.