Problems with WMI on Windows 2016 cluster


last month bought new servers , made small 2 node cluster of 2 windows 2016 hyper-v.

everything fine, after 2 or 3 days, servers (hosts) starting have problems wmi.

for example:

- in wbemtest can not informations (error numer: 0x80004005 when enumerating classes),

- wmic isnt working (i get error: description = invalid query  for every command),

- simple get-wmiobject -list in ps not working ending error:

get-wmiobject :
@ line:1 char:1
+ get-wmiobject -list
+ ~~~~~~~~~~~~~~~~~~~
    + categoryinfo          : notspecified: (:) [get-wmiobject], comexception
    + fullyqualifiederrorid : system.runtime.interopservices.comexception,microsoft.powershell.commands.getwmiobjectco
   mmand

after reboot of server, wmi working fine again 2 or 3 days.

i can not reboot host servers in hyper-v cluster every 2 days.

any ideas how solve problem ?



hi,

>>in wbemtest can not informations (error numer: 0x80004005 when enumerating classes),

- wmic isnt working (i get error: description = invalid query  for every command),

- simple get-wmiobject -list in ps not working ending error:

after reboot of server, wmi working fine again 2 or 3 days.

 

if continue see errors after checking wmi running, firewall configured , rebooting, possible wmi repository has become corrupt cluster can no longer read it.  the following steps enable rebuild repository other nodes can read again.  rebuilding repository should last troubleshooting step, not first.

 

  • in services console, manually stop wmi service ensure dependent services stopped
  • start wmi service again
  • launch , elevated cmd or powershell
  • cmd/ps > winmgmt /resetrepository

and follow link reference:

wmi troubleshooting tips

https://blogs.technet.microsoft.com/enterprisemobility/2009/05/08/wmi-troubleshooting-tips/


best regards
cartman
please remember mark replies answers if help. if have feedback technet subscriber support, contact tnmff@microsoft.com



Windows Server  >  Windows Server 2016 General



Comments

Popular posts from this blog

Error: 0x80073701 when trying to add Print Services Role in Windows 2012 Standard

Disconnecting from a Windows Server 2012 R2 file sharing session on a Windows 7,8,10 machine

Windows 2016 RDS event 1306 Connection Broker Client failed to redirect the user... Error: NULL