error 0x8007054e WMI Repository Corruption here is a script to reBuild WMI rep
If you try to install client sccm 2012 on windows 10 client and it failed,
If the fail is caused by WMI correption try the follwing command :
winmgmt /verifyrepository
if the problem persist try this batch script :
Echo Fix WMI
net stop winmgmt /y
if exist %windir%system32wbem epository.001 rmdir /s /q %windir%system32wbem epository.001
rename %windir%system32wbem epository repository.001
%windir%system32wbemwinmgmt /clearadap
%windir%system32wbemwinmgmt /kill
%windir%system32wbemwinmgmt /unregserver
%windir%system32wbemwinmgmt /reserver
%windir%system32wbemwinmgmt /resyncperf
regsvr32 /s %systemroot%system32scecli.dll
regsvr32 /s %systemroot%system32userenv.dll
mofcomp %windir%system32wbemcimwin32.mof
mofcomp %windir%system32wbemcimwin32.mfl
mofcomp %windir%system32wbem sop.mof
mofcomp %windir%system32wbem sop.mfl
cd windowssystem32wbem
for /f %%s in (dir /b /s %windir%system32wbem*.dll) do regsvr32 /s %%s
for /f %%s in (dir /b /s %windir%system32wbem*.mof) do mofcomp %%s
for /f %%s in (dir /b %windir%system32wbem*.mfl) do mofcomp %%s
net start winmgmt
%windir%system32wbemwmiprvse /regserver
%windir%system32wbemwinmgmt /regserver
REM winmgmt /resetrepository
alternative link download