How to remove custom attributes created in Windows Core LIbrary Management Pack from System Center Operations Manager 1807?

Keith Langley 21 Reputation points
2020-11-03T15:29:03.85+00:00

A custom attribute was mistakenly created in Windows Core Library MP. This attribute is causing WMI errors on all of my servers. How can I remove the attribute from Windows Core LIbrary?

Operations Manager
Operations Manager
A family of System Center products that provide infrastructure monitoring, help ensure the predictable performance and availability of vital applications, and offer comprehensive monitoring for datacenters and cloud, both private and public.
1,419 questions
0 comments No comments
{count} votes

Accepted answer
  1. CyrAz 5,181 Reputation points
    2020-11-04T18:21:15.24+00:00

    So, the discovery causing your issue is called "Group - SEC_SRVADMIN_SERVER_SUPPORTDiscovery" and is stored in the Management Pack called "AD.Partner.Management.Pack"
    (try Get-SCOMManagementPack -Name "AD.Partner.Management.Pack" to find its displayname)

    If I were you, I would export that MP and check in the XML code what that discovery does precisely before savagely deleting it.

    0 comments No comments

13 additional answers

Sort by: Most helpful
  1. AlexZhu-MSFT 5,551 Reputation points Microsoft Vendor
    2020-11-04T07:01:13.14+00:00

    Hi,

    Just to confirm with you, can we locate the customized attribute by searching from operations manager console?

    37269-scom-authoring-attribute.png

    Alex Zhu


    If the response is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

  2. CyrAz 5,181 Reputation points
    2020-11-04T09:43:22.16+00:00

    Can you explain your issue with a bit more details? I don't believe you could have created a custom attribute in the Windows Core LIbrary Management Pack, since it is a sealed MP...

    0 comments No comments

  3. SChalakov 10,266 Reputation points MVP
    2020-11-04T09:51:44.017+00:00

    HI @Keith Langley ,

    you can't do this. As Cyril stated this library is actually sealed and cannot be modified.
    I doubt that you have been able to extend a class in this library with a new attribute, so it would be interssting to find out what exactly happened.
    Can you eventually post here more details so we can try and help you?

    Regards,
    Stoyan

    0 comments No comments

  4. Keith Langley 21 Reputation points
    2020-11-04T13:47:25.1+00:00

    The attribute was created on 10/23 using instructions from a website that I can no longer find

    I deleted the management pack I thought I had created the process in and thought I had gotten rid of it.

    This is the alert still occurring on all my servers

    ------------------------------------------------------------------------

    Object enumeration failed

    Query: 'select * from Win32_OperatingSystem where (ProductType = "2"'

    -------------------------------------------------------------------------

    In searching for a cause I found attributes with a 10/23/20 created date in Windows Core Library.

    37378-attribute1023.jpg

    0 comments No comments