How to Remove Management Pack Dependencies
When you create an override and don’t save it to a custom Management Pack it will by default save to the Microsoft.SystemCenter.OperationsManager.DefaultUser.xml management pack. This will later on bite you in the ass when you want to remove the effected management pack. To avoid this of coarse you should always save changes to a custom management pack…..
But if you did not like all the rest of have done at least once, then here is how you can remove the dependencies. But first please backup you management packs.
- Download and install Microsoft’s XML Notepad
- Export the Default management pack to any folder you like. This will export it into an XML file. Back this file up before making changes to it.
- Open the XML file in XML Notepad
- Expand the management pack in the left window to \\managmentPack\Manifest\References
- Look in each sub-folder named Reference for the Management pack that you are trying to remove. Once you find it Delete the Reference folder.
- Import the Default XML file back into the console.
- Try to delete the management pack again.
Comments
7 Responses to “How to Remove Management Pack Dependencies”
Got something to say?
You must be logged in to post a comment.

excellent tool. although my problem wasnt in the default, but another MP I created.
thanks
Great stuff, I found I needed to delete a custom management pack to resolve the issue, then reconfigure everything again. I’ll be more careful next time!
haha, I know what you mean. If I hadnt messed up in the first place myself I wouldnt have been able to post this.
Excellent write up. I had a problem importing the pack. I went back and realized I had a bunch of Overrides. Under Monitoring all of my overrides were preventing the import from working. I had to delete all references to the management pack in all nodes and then it was finally successful. You saved me a complete reinstall.
Thanks. You have saved me a lot of time. I did try the overrides explorer first and removed all overlapping overrides, but still could not delete the management pack. Then exported the Default MP, removed the reference for the Citrix MP and boom – finally I was able to delete the Citrix MP and import the newer version (5.0.0.0). I knew that the things from the past would somehow come back and haunt me. ha ha
Great stuff, thanks.
One question: By deleting the “Reference folder”, does that delete any overrides saved in the MP?
Thanks,
Tom
It will remove the override as well. So you will want to keep track of what you are removing. Generally we are following this process because we are removing the management pack but cannot due to these dependencies so it is not an issue. But if you are trying to clean your management packs you will want to take care. Start with an override report focused on the “Default Management Pack” This will help keep you focused.