Remove Management Group SCOM 2012
Hi, I am doing a parallel migration of SCOM. I installed SCOM 2012, I am pushing the SCOM 2012 Agent. I want to clean the old management groups.. but i do not find a possible solution using command line http://technet.microsoft.com/en-us/library/hh212772.aspx For a big number of servers to go and remove from "Operation Manager Agent Properties" .... is complicated. I am thinking of deleting the registry key folders from the old MG.
April 29th, 2012 1:29pm

Hello Adrian, You can use the below method either (Manual, Using SCCM or PSExec.exe) This post explains what the command line switches need to be in order to remove old management group configuration. http://blogs.technet.com/b/jonathanalmquist/archive/2009/12/30/agents-remove-configured-management-group-or-uninstall-agent-using-command-line.aspx Remove a specific MG configuration from the agent MsiExec.exe /i \\path\MOMAgent.msi /norestart /qn /l*v %temp%\RemoveMG.log MANAGEMENT_GROUP=<OldManagementGroup> MANAGEMENT_GROUP_OPERATION=RemoveConfigGroup REINSTALL=ALL This thread is discussing similar issue, please check it: http://social.technet.microsoft.com/Forums/en-US/operationsmanagerdeployment/thread/336729ce-f457-4736-8e38-1865a2b0b88e/ Regards, Mazen Ahmed
Free Windows Admin Tool Kit Click here and download it now
April 30th, 2012 7:15am

Did you try that fro SCOM 2012 Agent? at me did not worked :) This thing MANAGEMENT_GROUP_OPERATION=RemoveConfigGroup does not exist any more!
April 30th, 2012 8:18am

Hi Adrian, Check this command MsiExec.exe /i \\path\Directory\MOMAgent.msi /norestart /qn /l*v %temp%\MOMRemove.log MANAGEMENT_GROUP=<OldManagementGroup> MANAGEMENT_GROUP_OPERATION=RemoveConfigGroup MANAGEMENT_SERVER_DNS=<OldManagementServerName> REINSTALL=ALL from the MS site, http://technet.microsoft.com/en-us/library/ee424297.aspx The command given by Mazen works fine on a 2007 r2. This commad has an additional switch for MANAGEMENT_SERVER_DNS Let us know if this works. Regards, Dhanraj
Free Windows Admin Tool Kit Click here and download it now
April 30th, 2012 8:40am

Hi, My SCOM curently is SCOM 2012, so I need to remove the management group with a comand line that will work with SCOM 2012 Agent (not with SCOM 2007 R2 agent)
April 30th, 2012 8:50am

Hi Adrian, Due to your question I have made a blog post about how to remove a manmagement group from an existing multihomed SCOM 2012 agent and added how to do the same for adding a management group entry to an agent like that. Manipulating SCOM 2012 agent multihoming options by script http://www.bictt.com/blogs/bictt.php/2012/05/06/manipulating-scom-2012-agent-multihoming You can downlaod the scripts from the Technet Gallery as referenced from the blog post. Enjoy!Bob Cornelissen - BICTT (My Blog about SCOM) - MVP 2012 and Microsoft Community Contributor 2011 Recipient
Free Windows Admin Tool Kit Click here and download it now
May 6th, 2012 8:00am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics