Tried and tested this solution long ago to fix an SCCM 2012 client installation issue, but recently had to use the same steps again so I thought may be I should post a small blog.
Problem: SCCM 2012 Client failed to install despite several client push attempts, WMI remediation, clear ccmcache, etc.
Finding: In case of WMI rebuild, certain mof files could get missed out from getting into WMI repository, causing the mof compilation error /mof file corruption:
Solution: To solve the issue:
- Launch elevated command prompt
- Execute the command in bold: mofcomp C:\Program Files\Microsoft Policy Platform\ExtendedStatus.mof