An Error Occurred While Creating Object – MofComp

IT Support Forum Forums Windows Windows Server 2012 Troubleshooting An Error Occurred While Creating Object – MofComp

This topic contains 0 replies, has 1 voice, and was last updated by  Webmaster 3 years, 3 months ago.

  • Author
  • #1755


    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.

You must be logged in to reply to this topic.