Forum Discussion
Server 2022 WMI Issues
Hi there, I have a Server 2022 with WMI problems affecting the server in a few ways.
The server is a domain controller, RD Broker and hosts some files also. The server actually operates ok for the users day-to-day.
I discovered the issue when opening AD Connect, getting an Invalid Class error message. When running various fundamental commands at the command prompt (e.g. tasklist) I get the same error. When looking at the WMI Control in Computer Management again - Invalid Class.
I have tried various fixes found online such as verifying the WMI repository (it comes back as consistent) but I think I've reached a dead end. I don't want to restore the server from backup as I believe this issue has been ongoing for a couple of months before it was discovered.
I can't get in to the Remote Desktop part of server manager to replace the certificate, and the certificate expires next week.
Does anyone have any ideas please? Any help greatly appreciated, thanks.
Chris
Thanks for the reply, this fixed it, hope it helps someone in future:
https://www.youtube.com/watch?v=KGtytA14R0w
2 Replies
- BerndDauschCopper Contributor
Have you tried to rebuild the WMI Repository
https://techcommunity.microsoft.com/blog/askperf/wmi-rebuilding-the-wmi-repository/373846
- Chri5reynold5Copper Contributor
Thanks for the reply, this fixed it, hope it helps someone in future:
https://www.youtube.com/watch?v=KGtytA14R0w