drewz99 Posted November 13, 2014 Report post Posted November 13, 2014 We are having a very difficult time locating any posts, forum topics, or ms bulletins in regards to the attached distmgr.log file. If anybody of you knowledgeable helpful users on the forum can assist in ANY way, please feel free to offer any suggestions. We currently are unable to distribute any new data, sync dp's, etc... We have performed a site reset. We have removed MP role. We have removed and replaced the mentioned file. Kind of at a loss. Short of rebuilding the main site server, I'm not too sure as to our next step. Any assistance would be greatly appreciated. Thank you in advance for your time and assistance. distmgr.log mpcontrol.log Quote Share this post Link to post Share on other sites More sharing options...
ludi2014 Posted November 13, 2014 Report post Posted November 13, 2014 Manually compile this modified Configuration.MOF file using MOFComp.exe You should use mofcomp.exe -check Configuration.mof This will check the syntax of the MOF File. kind regard sg http://www.learnmesccm.com/ https://www.linkedin...ahic/a0/842/b21 Quote Share this post Link to post Share on other sites More sharing options...
drewz99 Posted November 13, 2014 Report post Posted November 13, 2014 Unable to locate configuration.mof. syntax returned is as follows: File 'configuration.mof' not found! Quote Share this post Link to post Share on other sites More sharing options...
drewz99 Posted November 13, 2014 Report post Posted November 13, 2014 Was able to locate the configuration.mof file and run the command mentioned above. Output was: Parsing MOF file: configuration.mof MOF file has been successfully parsed Syntax check complete. (followed by a warning regarding #PRAGMA AUTORECOVER) Next step.... Quote Share this post Link to post Share on other sites More sharing options...
ludi2014 Posted November 14, 2014 Report post Posted November 14, 2014 sorry I write somting wrong about 'configuration.mof' You should Compiling E:\Program Files\Microsoft Configuration Manager\bin\x64\smsdpprov.mof. Path for MofComp.exe : C:\Windows\system32\wbem Please copy smsdpprov.mof file from \Program Files\Microsoft Configuration Manager\bin\X64 to remote DP server c:\ and in CMD run ‘mofcomp.exe c:\smsdpprov.mof’ . I hope this will help you......... kind regard sg http://www.learnmesccm.com/ https://www.linkedin...ahic/a0/842/b21 Quote Share this post Link to post Share on other sites More sharing options...
drewz99 Posted November 14, 2014 Report post Posted November 14, 2014 When executing this command, the following error is returned: Parsing MOF file: c:\smsdpprov.mof c:\smsdpprov.mof <1>: error SYNTAX 0X8004400a: Unexpected token at file scope Compiler returned error 0x8004400a Would you happen to have any other suggestions in regards to this issue? Thank you Quote Share this post Link to post Share on other sites More sharing options...
ludi2014 Posted November 14, 2014 Report post Posted November 14, 2014 hello Can you se some error in Mpcontrol.log kind regard sg http://www.learnmesccm.com/ https://www.linkedin...ahic/a0/842/b21 Quote Share this post Link to post Share on other sites More sharing options...
drewz99 Posted November 14, 2014 Report post Posted November 14, 2014 mpcontrol log has been added to the top of this post. Quote Share this post Link to post Share on other sites More sharing options...
ludi2014 Posted November 14, 2014 Report post Posted November 14, 2014 hi one ting more -did you compailing with Administrator rights. and try this I think you can try this- uninstalling BITS, rebooting, reinstalling BITS feature. sg http://www.learnmesccm.com/ https://www.linkedin...ahic/a0/842/b21 Quote Share this post Link to post Share on other sites More sharing options...
drewz99 Posted November 14, 2014 Report post Posted November 14, 2014 Yes, ran as administrator and we have tried reinstalling BITS as well. Quote Share this post Link to post Share on other sites More sharing options...
ludi2014 Posted November 14, 2014 Report post Posted November 14, 2014 Try this In an elevated Powershell window, run this: Get-WMIObject -namespace “root” -query “SELECT * FROM __Namespace where name = ‘ccm’” | remove-wmiobject last solution will be is unistall MP role and install MP. sg http://www.learnmesccm.com/ https://www.linkedin...ahic/a0/842/b21 Quote Share this post Link to post Share on other sites More sharing options...
drewz99 Posted November 14, 2014 Report post Posted November 14, 2014 What exactly will this script be doing? Would like to fully understand prior to running. thank you Quote Share this post Link to post Share on other sites More sharing options...
ludi2014 Posted November 14, 2014 Report post Posted November 14, 2014 This will remove CCM from WMI namespaces info about wmi and sccm is here . http://www.informit.com/articles/article.aspx?p=1926197&seqNum=4 sg http://www.learnmesccm.com/ https://www.linkedin...ahic/a0/842/b21 Quote Share this post Link to post Share on other sites More sharing options...
emilchik Posted December 5, 2017 Report post Posted December 5, 2017 I know it's an OLD post, but it did come up when I searched for the resolution of the same problem. I had spent almost 2 days troubleshooting this issue by myself and with MSFT CAS rep. After running Process monitor I noticed that MOFCOMP.exe is trying to access C:\Windows\Temp folder to write some temp file. I examined that folder and found that it has over 74,000 files in it dating as far back as 3 years ago. I deleted all files in it (it had some files in use or locked, but MAJORITY of them have been removed), then restarted SMS Executive service and it all started to work. Next morning I validated packages and it all was distributed and re-validated successfully. Later on, I found that user Rbaker0 had the same solution on the TechNet forum: https://social.technet.microsoft.com/Forums/en-US/574a9a72-1276-4500-94f3-12b0a31f1364/mofcompexe-failed-delete-the-classes-and-retry-compiling-0x8004400a-unexpected-token-at-file?forum=configmanagergeneral Quote Share this post Link to post Share on other sites More sharing options...