Nov 05 2023 07:04 PM - edited Dec 16 2023 11:43 PM
Dear Windows Server Insider Team,
After long puzzles someone finally found a solution that Windows Server 2022 and vNext will appear "online" with no errors in Server Manager.
Warning: do not recompile WMI MOFs, especially when not broken, there's is an article on techcommunity.microsoft.com about it. Refer [1]
Scenario:
Windows Server 2022
Azure Stack HCI 22H2
Windows Server vNext
Part of Hyper-V fail-over cluster
Issue:
Server Manager reports nodes as Online.
Yet indicating an error /limitation
Refer [2]
Reproducible:
yes, 100% on cluster nodes
Impact:
Errors in event log
Customers might needlessly try to troubleshoot or contact support
Workaround:
Add the Cluster computer account to the local Event Log Reader group of each Cluster nodes.
References
Dec 13 2023 03:18 AM
Thanks for your great description! Workaround2 helped a lot!
Dec 14 2023 11:04 PM
Dear @EldenChristensen do you know if this item is already in triage and a fix is coming for vNext or even earlier versions? there are meanwhile several techcommunity articles about people tinkering around with this issue. This could harm more than solving the issue (registry changes and needless MOF recompiling). Thank you very much for your time!
Dec 14 2023 11:19 PM
@Deleted To get rid of the errors in Server Status you just need to add the Cluster Object to "Event Log Readers" as described in Workaround 2. Then those warning messages will no longer appear and the server will be shown as "Online".
About the others - I personally won't do a thing since each and every Server 2022 is showing those Warning Messages in Eventlog. I wouldn't mess with the registry and MOF Files either.
Dec 15 2023 08:30 AM
Dec 16 2023 11:47 PM
I have updated the original post and removed other workarounds with the one named by @Christian_Feuerstein.
Thank you for adding a concise solution, which can be implemented best by group policy GPP, to make it transparent and lasting.
Dec 18 2023 12:34 AM
@Christian_Feuerstein unfortunately this doesn't solve the issue tried that today on 3 Azure Stack HCI 22H2 nodes.
Dec 27 2023 12:58 AM - edited Dec 27 2023 12:59 AM
@Deleted
Strange - could you let me know which warnings occur in "Microsoft-Windows-ServerManager-DeploymentProvider/Operational" Eventlog?
Jan 04 2024 11:07 AM - edited Jan 04 2024 11:08 AM
@Christian_Feuerstein Here is the warning from Microsoft-Windows-ServerManager-DeploymentProvider/Operational:
Generic failure querying the localized name for channel: Microsoft-Windows-Kernel-IoTrace/Diagnostic [hResult = Function failed during execution., hLastResult = The instance name passed was not recognized as valid by a WMI data provider.].
I get a similar error when I go to the Microsoft/Windows/Kernel-IoTrace/Diagnostic log in Event Viewer:
Event Viewer cannot open the event log or custom view. Verify that Event Log service is running or query is too long. The instance name passed was not recognized as valid by a WMI data provider. (4201)
I also get the same WMI error referring to the Kernel-IoTrace/Diagnostic log when I go to the Administrative Events Custom View in Event Viewer.
Thanks.
Jan 07 2024 10:56 PM
Jan 08 2024 06:07 AM
@Christian_FeuersteinThanks for the reply. I have already added each host to its Event Log Viewer group and it didn't help. Did you mean add each host to all hosts' Event Log Viewer groups? I'm not working with HCI either, just Hyper-V on Server 2022.
Jan 12 2024 11:41 AM
Jan 15 2024 06:17 AM