Wednesday 12 March 2014

Setup was unable to compile the file DiscoveryStatus.mof



You start client Installation and realize that install fails with error code 80041002, even cleaning up install directories or repairing WMI doesn’t help

Symptoms: sms setup starts and finishes with error and clients will not be installed, the ccmsetup.log shows the error “Setup was unable to compile the file DiscoveryStatus.mof”

Applies to:  SCCM 2012

Troubleshooting Steps:
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

Root Cause Analysis: Configuration manager 2012 clients will depend on the Lantern Services Microsoft Policy platform Processor

8 comments:

  1. Worked for me. Thanks!!

    ReplyDelete
  2. It worked beautifully and was a welcome solution. Thank you very much!

    ReplyDelete
  3. Worked like a charm How did you find it that you ad to run that mof file?

    ReplyDelete
  4. Thank you for posting this. Fixed my error code 80041002 trying to install SCCM client.

    ReplyDelete
  5. Thank you very much! Ccmsetup is exiting with return code 0

    ReplyDelete
  6. This comment has been removed by the author.

    ReplyDelete
  7. Nice one!
    Thank you!

    ReplyDelete
  8. Verified as working solution on Server 2012 R2.

    ReplyDelete