An Error Occurred While Creating Object – MofComp Posted on by Webmaster IT Support Forum › Forums › Windows › Windows Server 2012 › Troubleshooting › An Error Occurred While Creating Object – MofComp Tagged: Error 0x80041003, Mofcomp This topic contains 0 replies, has 1 voice, and was last updated by Webmaster 2 years ago. Author Posts February 29, 2016 at 8:35 am #1755 WebmasterKeymaster When running mofcomp in the command prompt you get this error: An error occurred while creating object 6 defined on lines 25 – 48: Error Number: 0x80041003, Facility: WMI Description: Access denied Compiler returned error 0x80041003 This is because you aren’t running the command prompt in elevated mode. To do this, close the command prompt and right click the cmd prompt icon and click Run as administrator. Then try again. Author Posts You must be logged in to reply to this topic.