how to overcome the security exception which comes when creating Custom Performance Counters using Code??? RRS feed

  • Question


    In my Application i need to create custom Performance Counters using code.Im getting a security exception

    "Requested Registry Access is not Allowed".Can Anyone help me to get a Solution???

    Thursday, May 1, 2008 11:47 AM


  • Is your application running under an account with administrator permissions?  You need access to HKLM to create a performance counter.
    Thursday, May 1, 2008 8:23 PM