WMI service on WIN 2008 server

MS SCOM reported some trouble with WMI service.
WMI=Windows Management Instrumentation.
I tried restart through Server Manager/Services, but it got stuck neither here nor there.
1) Restart iz CLI-a :
(as admin) :
>net stop winmgmt
2) If that does not work, find the process PID and kill it :
C:\Users\velda>sc queryex winmgmt
SERVICE_NAME: winmgmt
TYPE : 20 WIN32_SHARE_PROCESS
STATE : 3 STOP_PENDING
(STOPPABLE, PAUSABLE, ACCEPTS_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x1
WAIT_HINT : 0x7530
PID : 248
FLAGS :
C:\Users\velda>taskkill /f /pid 248
ERROR: Server execution failed
3) S8ince that did not work, from wmi console :
C:\Users\velda>wmic
wmic:root\cli>list status winmgmt
ERROR:
Code = 0x80080005
Description = Server execution failed
Facility = Windows

Conclusion : WMI is in a totally lost state, and the whole server needs a restart, when there are no users on it.
Links : link1, link2, and a VERY good one link3.

This entry was posted in WIN and tagged , , . Bookmark the permalink.

Comments are closed.