Answered by:
Server 2016 - Server Manager refresh error

Question
-
I cannot add any roles or features. When I try I get a pop up about collecting inventory data and a refresh error "Configuration refresh failed with the following error: Invalid class"Monday, February 27, 2017 5:52 PM
Answers
-
these commands fixed it for me:
winmgmt /verifyrepository
winmgmt /salvagerepository
winmgmt /resetrepositoryBefore 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.
If this doesn't work there is another step you can try:
- Proposed as answer by Cartman ShenMicrosoft contingent staff Tuesday, February 28, 2017 3:07 AM
- Marked as answer by Hamid Sadeghpour SalehMVP Monday, December 2, 2019 8:22 PM
Monday, February 27, 2017 9:28 PM
All replies
-
Hello
tip: https://goo.gl/H01EhW
sorry my english
Monday, February 27, 2017 8:08 PM -
these commands fixed it for me:
winmgmt /verifyrepository
winmgmt /salvagerepository
winmgmt /resetrepositoryBefore 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.
If this doesn't work there is another step you can try:
- Proposed as answer by Cartman ShenMicrosoft contingent staff Tuesday, February 28, 2017 3:07 AM
- Marked as answer by Hamid Sadeghpour SalehMVP Monday, December 2, 2019 8:22 PM
Monday, February 27, 2017 9:28 PM -
Hi,
I am checking to see if the problem has been resolved. If there's anything you'd like to know, please feel free to ask.
Best Regards
Cartman
Please remember to mark the replies as an answers if they help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.comWednesday, March 8, 2017 1:36 AM