Please enable Javascript for better experience...
All wmi classed failed to initialize
By Jitendra | Jul 3, 2017 | In Tips | Total Views [ 18 ]
Taged In
(0 Like)
Rate




--------------------------------------

winmgmt /resetrepository

 

for /f %s in ('dir /b *.mof *.mfl') do mofcomp %s

-----------------

Or run below from c:\windows\system32\wbem\

 

@echo off

sc config winmgmt start= disabled

net stop winmgmt /y

%systemdrive%

cd %windir%\system32\wbem

for /f %%s in ('dir /b *.dll') do regsvr32 /s %%s

wmiprvse /regserver

winmgmt /regserver

sc config winmgmt start= auto

net start winmgmt

for /f %%s in ('dir /s /b *.mof *.mfl') do mofcomp %%s

 

    b. Reboot the machine and test WMI

For any query or concern write back to use.

Share this

About the Author

Jitendra
Jitendra
Contributer VMwareDiary.com

User's Comments


 
Please SignUp/Login to comment...

Or comment as anonymous...
* Name
* Email ID
Comment