Issue
During SCCM 1810 client installation process, installation failed with ccmsetup.log showing the following exceptions:
File C:\Windows\ccmsetup{7E31AE3A-2706-4A34-9970-73A5526B5346}\client.msi installation failed. Error text: ExitCode: 1603
Action: CcmRegisterWmiMofFile.
ErrorMessages:
Setup was unable to compile the file DiscoveryStatus.mof
The error code is 80041002
As you can see, the direct reason was that DiscoveryStatus.mof compilation failed.
Solution
- Open command prompt as administrator
- Navigate into C:\Program Files\Microsoft Policy Platform
- Run: mofcomp ExtendedStatus.mof
- Retry SCCM client installation
Note that my case happened in SCCM 1810. However, this solution also applies to SCCM 2012. If you come across the issue in other versions of SCCM, just give it a try.