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.
CCMsetup.log indicated “MSI: Setup was unable to compile the file DiscoveryStatus.mof The error code is 80041002”
Client.msi.log indicated “Installation operation failed”
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
thanks . given script was working and fixed my client installation (MOF) issue..
LikeLike