First published on TECHNET on May 03, 2007
If you created overrides before you knew about
storing overrides in your own Management Pack
and need to remove a Management Pack, here's how you can delete a Management Pack that has a dependency on the Default Management Pack. Essentially, you need to export your Default Management Pack, delete both the Default Management Pack and the Management Pack you want to remove, edit (after backing up the file) the Default Management Pack to remove references to the other Management Pack, and then import the clean Default Management Pack.
Detailed instructions are below. In these instructions, the Management Pack you want to remove is referred to as
MPToRemove
.
Note: This procedure directs you to delete your current overrides and manually edit your Default Management Pack. It's not for the squeamish!
-
Use the console to delete the overrides you've created for
MPToRemove
. If you don't remember what overrides you've set, try this:
-
Go the Authoring pane on the console.
-
Use Ctrl-M to bring up the scoping dialog and check
MPToRemove
as your target. Click
OK
.
-
In the navigation tree, click
Monitors
.
-
Right click on each Monitor listed and select
Overrides Summary
.
-
Click each override and then click
Delete
.
-
Repeat steps a-e for the other Management Pack objects. For some objects, the right click menu path is
Overrides
->
Overrides Summary
.
-
Export the Default Management Pack:
-
In the console, go to Administration pane and click
Management Packs
in the left tree.
-
Right click on
Default Management Pack
and select
Export Management Pack...
-
Make a backup copy of the exported file.
-
In the console, right click on
Default Management Pack
and choose
Delete
.
-
Right click on
MPToRemove
and choose
Delete
.
-
Edit the Default Management Pack to remove Reference tags that point to
MPToRemove
:
-
Open the Microsoft.SystemCenter.OperationsManager.DefaultUser.xml file with your editor of choice. I use
XML Notepad
.
-
Find the References tags at the beginning of the XML . If you're using XML Notepad, you'll find it on the left side under
Management Pack
->
Manifest
->
References
.
-
Remove all Reference tags that point to
MPToRemove
. In this example, I'm unlinking the Active Directory Management Pack, and you can see the text on the right refers to AD.
-
Save and close the file.
-
Import the Default Management Pack back into Operations Manager:
-
In the console, go to the Administration pane.
-
Right click
Management Packs
and choose
Import Management Packs...
-
Follow the instructions to import the Management Pack. The file name is Microsoft.SystemCenter.OperationsManager.DefaultUser.xml.
-
If the import fails, rename your backup copy of the Default Management Pack to its original name, import it, import
MPToRemove
, and verify that you've manually deleted all the overrides. Then try this procedure again.