Renaming Unsealed Management Packs

I have had to rename all of the override MP’s in a deployment to standardise the naming convention. All you have to do is export all of your unsealed override packs and edit the MP directly in XML.  Remember you only rename the Display name in the Operations Console and you cannot modify the Element ID

You can edit the XML in notepad or Download XML Notepad 2007 Link Here

For this post I have just used notepad.

So the key items to change are <Name> ,  <ID> & <LanguagePack Details ElementID= and <Name>

The Original Override MP Element ID name was: Override.GroupPolicy.xml

And the old display name was: Override GroupPolicy

The New Element ID name will be: CUSTOM.Microsoft.Windows.Server.GroupPolicy.2003

and the New Display name will be: CUSTOM.Microsoft.Windows.Server.GroupPolicy.2003

I have highlighted the changes made in the XML of the Group Policy Override Management Pack as an example.

Note: Also note that once you have made and saved the changes you must make sure the MP filename is the same as the Element ID name so the filename for this pack will be CUSTOM.Microsoft.Windows.Server.GroupPolicy.2003.xml

<?xml version=”1.0″ encoding=”utf-8″?>
<ManagementPack ContentReadable=”true” xmlns:xsd=”http://www.w3.org/2001/XMLSchema&#8221; xmlns:xsl=”http://www.w3.org/1999/XSL/Transform”&gt;
<Manifest>
<Identity>
<ID>CUSTOM.Microsoft.Windows.Server.GroupPolicy.2003</ID>
<Version>2.0.0.0</Version>
</Identity>
<Name>CUSTOM Microsoft.Windows.Server.GroupPolicy.2003</Name>
<References>
<Reference Alias=”SystemCenter”>
<ID>Microsoft.SystemCenter.Library</ID>
<Version>6.0.6278.0</Version>
<PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
</Reference>
<Reference Alias=”Windows”>
<ID>Microsoft.Windows.Library</ID>
<Version>6.0.6278.0</Version>
<PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
</Reference>
<Reference Alias=”Windows1″>
<ID>Microsoft.Windows.Server.GroupPolicy.2003</ID>
<Version>6.0.6278.22</Version>
<PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
</Reference>
</References>
</Manifest>
<Monitoring>
</Monitoring>
<LanguagePacks>
<LanguagePack ID=”ENG” IsDefault=”false”>
<DisplayStrings>
<DisplayString ElementID=”CUSTOM.Microsoft.Windows.Server.GroupPolicy.2003“>
<Name>CUSTOM Microsoft Windows Server GroupPolicy 2003</Name>
<!–DisplayString>
</DisplayStrings>
<!–LanguagePack>
<LanguagePack ID=”ENU” IsDefault=”false”>
<DisplayStrings>
ElementID=”CUSTOM.Microsoft.Windows.Server.GroupPolicy.2003“>
<Name>CUSTOM Microsoft Windows Server GroupPolicy 2003</Name>
</DisplayString>
</DisplayStrings>
</LanguagePack>
</LanguagePacks>
</ManagementPack>

Advertisements
This entry was posted in Authoring, Management Packs. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s