none
Block SCOM agents in pending management RRS feed

  • Question

  • Hello there,

    We have mutiple servers in our SCOM Pending mangement, where we no longer have access to the VM's.

    We can reject the VM, but since the agent and mangement server still has been configued on the VM, it will show up in pending mangement again.

    Is there any ways to "block" the connection - perhaps using PowerShell?

    Best regards,

    Lasse

    Thursday, November 14, 2019 3:27 PM

Answers

  • Hi Lasse,

    what about the following (just an idea):

    - Approve them
    - Wait for them to get monitored
    - Use the "Uninstall" option in "Administration" ?

    P.S. After I saw the reply from Cyraz I though that you can convert thr agents back to Remotely Manageble using the task from the MP he referenced. :)

    Hope this helps. 

    Regards,


    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer" where applicable. This helps the community, keeps the forums tidy, and recognizes useful contributions. Thanks!) Blog: https://blog.pohn.ch/ Twitter: @StoyanChalakov


    Thursday, November 14, 2019 3:32 PM
    Moderator
  • As far as I know you can't block specific servers from showing up in pending management, it's a "all or nothing" kind of parameter.

    What I would do here is approve these servers and use the SCOM Management MP to remove your Management Group from their config; and then delete them again from SCOM console.


    • Edited by CyrAz Thursday, November 14, 2019 3:34 PM
    • Marked as answer by LasseHastrup Monday, November 18, 2019 8:23 PM
    Thursday, November 14, 2019 3:33 PM
  • As far as I know you can't block specific servers from showing up in pending management, it's a "all or nothing" kind of parameter.

    What I would do here is approve these servers and use the SCOM Management MP to remove your Management Group from their config; and then delete them again from SCOM console.


    Cool suggestion,

    exactly what I had in mind, forgot that the MP will be needed as most probably those are manually isntalled :)

    Thanks CyrAz!


    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer" where applicable. This helps the community, keeps the forums tidy, and recognizes useful contributions. Thanks!) Blog: https://blog.pohn.ch/ Twitter: @StoyanChalakov

    • Marked as answer by LasseHastrup Monday, November 18, 2019 8:25 PM
    Thursday, November 14, 2019 3:37 PM
    Moderator

All replies

  • Hi Lasse,

    what about the following (just an idea):

    - Approve them
    - Wait for them to get monitored
    - Use the "Uninstall" option in "Administration" ?

    P.S. After I saw the reply from Cyraz I though that you can convert thr agents back to Remotely Manageble using the task from the MP he referenced. :)

    Hope this helps. 

    Regards,


    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer" where applicable. This helps the community, keeps the forums tidy, and recognizes useful contributions. Thanks!) Blog: https://blog.pohn.ch/ Twitter: @StoyanChalakov


    Thursday, November 14, 2019 3:32 PM
    Moderator
  • As far as I know you can't block specific servers from showing up in pending management, it's a "all or nothing" kind of parameter.

    What I would do here is approve these servers and use the SCOM Management MP to remove your Management Group from their config; and then delete them again from SCOM console.


    • Edited by CyrAz Thursday, November 14, 2019 3:34 PM
    • Marked as answer by LasseHastrup Monday, November 18, 2019 8:23 PM
    Thursday, November 14, 2019 3:33 PM
  • As far as I know you can't block specific servers from showing up in pending management, it's a "all or nothing" kind of parameter.

    What I would do here is approve these servers and use the SCOM Management MP to remove your Management Group from their config; and then delete them again from SCOM console.


    Cool suggestion,

    exactly what I had in mind, forgot that the MP will be needed as most probably those are manually isntalled :)

    Thanks CyrAz!


    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer" where applicable. This helps the community, keeps the forums tidy, and recognizes useful contributions. Thanks!) Blog: https://blog.pohn.ch/ Twitter: @StoyanChalakov

    • Marked as answer by LasseHastrup Monday, November 18, 2019 8:25 PM
    Thursday, November 14, 2019 3:37 PM
    Moderator
  • Since he says he doesn't have control of these VM anymore, I figured he wouldn't have a local admin account to uninstall the agents anyway ;)
    Thursday, November 14, 2019 5:44 PM
  • Hi Stoyan,

    Thanks for your input - i will try it right away!

    Lasse

    Friday, November 15, 2019 8:29 AM
  • Hi guys,

    Will it be an issue, that the servers are using certificate to be verified - in other words - they are not on the same domain, and are installed manually.

    Lasse

    Friday, November 15, 2019 8:32 AM
  • To run the "remove management group" task from the SCOM Management MP, not at all.

    Friday, November 15, 2019 10:14 AM
  • Hi Lasse,

    did you try the suggestion out? Thnaks in advance for your feedback!

    Regards,


    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer" where applicable. This helps the community, keeps the forums tidy, and recognizes useful contributions. Thanks!) Blog: https://blog.pohn.ch/ Twitter: @StoyanChalakov

    Monday, November 18, 2019 1:33 PM
    Moderator
  • Hi Stoyan,

    Yes - and it worked!

    I did the following:

    1. Added the Mangement pack Cyraz suggested

    2. Approved the servers

    3. Ran the task supplied by the Mangement Pack "Remove management group", which worked perfectly.

    Thank you for your time and support.

    Best regards,

    Lasse

    Monday, November 18, 2019 8:25 PM