SCCM Client installation issue and fix:
Error code: DiscoveryStatus.mof The error code is 8004100E
Error code: DiscoveryStatus.mof The error code is 8004100E
Just try this remediation step.
1. Open CMD in the administrator command prompt
2. Navigate to C:\Program Files\Microsoft Policy Platform
3. mofcomp ExtendedStatus.mof
4. Retry the CM client installation
Ref: https://social.technet.microsoft.com/Forums/en-US/1f48e8d8-4e13-47b5-ae1b-dcb831c0a93b/setup-was-unable-to-compile-the-file-discoverystatusmof-the-error-code-is-8004100e?forum=configmanagerdeployment