Jump to content


drewz99

Management Point/Distribution Point mofcomp issue

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.