Hi,

I'm trying to export a simple bundle with only 1 action (registry edit action) to an XML file.

The export works fine but if you read carefully the content of XML file you see the edited values are encrypted.

We want to use this exported XML as a template to create hundreds of bundles but we can't edit the registry strings.

Do you know if this is "work as designed"? Anyone knows a solution?

Thanks in advance,

Product: ZCM 11.2
Command: zman betf /Bundles/testbundle /root/testbundle.xml (tested with and without -c)
testbundle.xml (encrypted in BOLD):
Code:
<?xml version="1.0" encoding="UTF-8"?>
<ns1:Bundle xmlns:ns1="http://novell.com/zenworks/datamodel/objects/bundles" xmlns="http://novell.com/zenworks/datamodel/objects/bundles">
    <ns2:UID xmlns:ns2="http://novell.com/zenworks/datamodel/objects" xmlns="http://novell.com/zenworks/datamodel/objects">2f2707f32e25256682f2fc8a4436fc70</ns2:UID>
    <ns2:Name xmlns:ns2="http://novell.com/zenworks/datamodel/objects" xmlns="http://novell.com/zenworks/datamodel/objects">testbundle</ns2:Name>
    <ns2:InternalName xmlns:ns2="http://novell.com/zenworks/datamodel/objects" xmlns="http://novell.com/zenworks/datamodel/objects">testbundle</ns2:InternalName>
    <ns2:ParentUID xmlns:ns2="http://novell.com/zenworks/datamodel/objects" xmlns="http://novell.com/zenworks/datamodel/objects">ed75222d61202bf49e63fb4cf8f1b10b</ns2:ParentUID>
    <ns2:Path xmlns:ns2="http://novell.com/zenworks/datamodel/objects" xmlns="http://novell.com/zenworks/datamodel/objects">/Bundles/testbundle</ns2:Path>
    <ns2:InternalPath xmlns:ns2="http://novell.com/zenworks/datamodel/objects" xmlns="http://novell.com/zenworks/datamodel/objects">/~bundles~/testbundle</ns2:InternalPath>
    <ns2:AdminID xmlns:ns2="http://novell.com/zenworks/datamodel/objects" xmlns="http://novell.com/zenworks/datamodel/objects">Bundles</ns2:AdminID>
    <ns2:Description xmlns:ns2="http://novell.com/zenworks/datamodel/objects" xmlns="http://novell.com/zenworks/datamodel/objects" />
    <ns2:PrimaryType xmlns:ns2="http://novell.com/zenworks/datamodel/objects" xmlns="http://novell.com/zenworks/datamodel/objects">Bundle</ns2:PrimaryType>
    <ns2:SubType xmlns:ns2="http://novell.com/zenworks/datamodel/objects" xmlns="http://novell.com/zenworks/datamodel/objects">Windows Bundle</ns2:SubType>
    <ns2:GeneralType xmlns:ns2="http://novell.com/zenworks/datamodel/objects" xmlns="http://novell.com/zenworks/datamodel/objects">2</ns2:GeneralType>
    <ns2:Deletable xmlns:ns2="http://novell.com/zenworks/datamodel/objects" xmlns="http://novell.com/zenworks/datamodel/objects">true</ns2:Deletable>
    <ns2:Undeletable xmlns:ns2="http://novell.com/zenworks/datamodel/objects" xmlns="http://novell.com/zenworks/datamodel/objects">false</ns2:Undeletable>
    <ns2:ErrorWarningStatus xmlns:ns2="http://novell.com/zenworks/datamodel/objects" xmlns="http://novell.com/zenworks/datamodel/objects">1</ns2:ErrorWarningStatus>
    <ns2:ComplianceStatus xmlns:ns2="http://novell.com/zenworks/datamodel/objects" xmlns="http://novell.com/zenworks/datamodel/objects">1</ns2:ComplianceStatus>
    <ns2:IsEnabled xmlns:ns2="http://novell.com/zenworks/datamodel/objects/assignablecontent" xmlns="http://novell.com/zenworks/datamodel/objects/assignablecontent">true</ns2:IsEnabled>
    <ns2:Version xmlns:ns2="http://novell.com/zenworks/datamodel/objects/assignablecontent" xmlns="http://novell.com/zenworks/datamodel/objects/assignablecontent">2</ns2:Version>
    <ns2:Revision xmlns:ns2="http://novell.com/zenworks/datamodel/objects/assignablecontent" xmlns="http://novell.com/zenworks/datamodel/objects/assignablecontent">0</ns2:Revision>
    <ns2:ContentInfoVer xmlns:ns2="http://novell.com/zenworks/datamodel/objects/assignablecontent" xmlns="http://novell.com/zenworks/datamodel/objects/assignablecontent">0</ns2:ContentInfoVer>
    <ns2:ContentPriority xmlns:ns2="http://novell.com/zenworks/datamodel/objects/assignablecontent" xmlns="http://novell.com/zenworks/datamodel/objects/assignablecontent">0</ns2:ContentPriority>
    <ns2:NextRevision xmlns:ns2="http://novell.com/zenworks/datamodel/objects/assignablecontent" xmlns="http://novell.com/zenworks/datamodel/objects/assignablecontent">0</ns2:NextRevision>
    <ns2:Replication xmlns:ns2="http://novell.com/zenworks/datamodel/objects/assignablecontent" xmlns="http://novell.com/zenworks/datamodel/objects/assignablecontent">2</ns2:Replication>
    <ns2:Sandbox xmlns:ns2="http://novell.com/zenworks/datamodel/objects/assignablecontent" xmlns="http://novell.com/zenworks/datamodel/objects/assignablecontent">false</ns2:Sandbox>
    <ns2:SatelliteRep xmlns:ns2="http://novell.com/zenworks/datamodel/objects/assignablecontent" xmlns="http://novell.com/zenworks/datamodel/objects/assignablecontent">1</ns2:SatelliteRep>
    <ns2:Inheritance xmlns:ns2="http://novell.com/zenworks/datamodel/objects/assignablecontent" xmlns="http://novell.com/zenworks/datamodel/objects/assignablecontent">15</ns2:Inheritance>
    <ns2:ContentTypeTags xmlns:ns2="http://novell.com/zenworks/datamodel/objects/assignablecontent" xmlns="http://novell.com/zenworks/datamodel/objects/assignablecontent">Windows-Bundle</ns2:ContentTypeTags>
    <ns2:ActionSets xmlns:ns2="http://novell.com/zenworks/datamodel/objects/actions" xmlns="http://novell.com/zenworks/datamodel/objects/actions">
        <Id>3c79e3b763b31004493f6c108bc25148</Id>
        <Type>Uninstall</Type>
        <Version>1</Version>
        <Modified>false</Modified>
        <Data>
            <ns1:Uninstall xmlns:ns1="http://novell.com/zenworks/apps/appSchema">
                <Enabled xmlns="http://novell.com/zenworks/apps/appSchema">false</Enabled>
                <AllowManual xmlns="http://novell.com/zenworks/apps/appSchema">false</AllowManual>
                <DaysBeforeUninstallWhenNotUsed xmlns="http://novell.com/zenworks/apps/appSchema">-1</DaysBeforeUninstallWhenNotUsed>
                <IgnoreChainedDependencies xmlns="http://novell.com/zenworks/apps/appSchema">false</IgnoreChainedDependencies>
            </ns1:Uninstall>
        </Data>
        <Actions>
            <Id>ba922bbd090fb6a0c28b14a627d23296</Id>
            <Type>Undo Install</Type>
            <ContinueOnFailure>false</ContinueOnFailure>
            <Enabled>true</Enabled>
            <actionUniqueId>268d6145f233744da575e166c463dff2</actionUniqueId>
        </Actions>
    </ns2:ActionSets>
    <ns2:ActionSets xmlns:ns2="http://novell.com/zenworks/datamodel/objects/actions" xmlns="http://novell.com/zenworks/datamodel/objects/actions">
        <Id>63bfe780765c46b50a0cc20cfb2d8c75</Id>
        <Type>Verify</Type>
        <Version>1</Version>
        <Modified>false</Modified>
        <Data>
            <ns1:Install xmlns:ns1="http://novell.com/zenworks/apps/appSchema">
                <InstallOption xmlns="http://novell.com/zenworks/apps/appSchema">InstallPerMachine</InstallOption>
                <AllowedPostpones xmlns="http://novell.com/zenworks/apps/appSchema">3</AllowedPostpones>
            </ns1:Install>
        </Data>
        <Actions>
            <Id>a0c348d1cfb3d967cd1a90578307dbe5</Id>
            <Type>Verify Install</Type>
            <ContinueOnFailure>false</ContinueOnFailure>
            <Enabled>true</Enabled>
            <actionUniqueId>24b7779ab629b528527e861a8130a28e</actionUniqueId>
        </Actions>
    </ns2:ActionSets>
    <ns2:ActionSets xmlns:ns2="http://novell.com/zenworks/datamodel/objects/actions" xmlns="http://novell.com/zenworks/datamodel/objects/actions">
        <Id>83809f379d718bba80dbc1c9e4542ef2</Id>
        <Type>Terminate</Type>
        <Version>1</Version>
        <Modified>false</Modified>
        <Data>
            <ns1:Terminate xmlns:ns1="http://novell.com/zenworks/apps/appSchema">
                <Enabled xmlns="http://novell.com/zenworks/apps/appSchema">true</Enabled>
            </ns1:Terminate>
        </Data>
        <Actions>
            <Id>1d41280ff41128b723eb529b13332de0</Id>
            <Type>Terminate Action Prompt</Type>
            <ContinueOnFailure>false</ContinueOnFailure>
            <Enabled>true</Enabled>
            <actionUniqueId>bd0e02d50cab168b69eb195f8528a17a</actionUniqueId>
        </Actions>
        <Actions>
            <Id>1fe55d9856ff047cdcbe0a00ca73caa1</Id>
            <Type>Terminate Action</Type>
            <ContinueOnFailure>false</ContinueOnFailure>
            <Enabled>true</Enabled>
            <actionUniqueId>365606d075e406bf13d8acd1b6bd2cd0</actionUniqueId>
        </Actions>
    </ns2:ActionSets>
    <ns2:ActionSets xmlns:ns2="http://novell.com/zenworks/datamodel/objects/actions" xmlns="http://novell.com/zenworks/datamodel/objects/actions">         <Id>92aebb85457b5b709a14df38a0651998</Id>
        <Type>Install</Type>
        <Version>2</Version>
        <Modified>false</Modified>
        <Data>
            <ns1:Install xmlns:ns1="http://novell.com/zenworks/apps/appSchema">
                <InstallOption xmlns="http://novell.com/zenworks/apps/appSchema">InstallPerMachine</InstallOption>
                <AllowedPostpones xmlns="http://novell.com/zenworks/apps/appSchema">3</AllowedPostpones>
            </ns1:Install>
        </Data>
        <Actions>
            <Id>9da998de88bbf597176fd70050ca0e20</Id>
            <Name>Registry Edit</Name>
            <Type>Registry Edit Action</Type>
            <Data>
                <ns1:RegistryEditData xmlns:ns1="http://www.novell.com/ZENworks/Actions/v1.0/RegistryEdit">
                    <RegistryEditOperation xmlns="http://www.novell.com/ZENworks/Actions/v1.0/RegistryEdit">
                        <KeyName>HKEY_LOCAL_MACHINE\HARDWARE</KeyName>
                        <KeyOperation>
                            <OperationForKey>NONE</OperationForKey>
                        </KeyOperation>
                    </RegistryEditOperation>
                    <RegistryEditOperation xmlns="http://www.novell.com/ZENworks/Actions/v1.0/RegistryEdit">
                        <KeyName>HKEY_LOCAL_MACHINE\SOFTWARE</KeyName>
                        <KeyOperation>
                            <OperationForKey>NONE</OperationForKey>
                        </KeyOperation>
                    </RegistryEditOperation>
                    <RegistryEditOperation xmlns="http://www.novell.com/ZENworks/Actions/v1.0/RegistryEdit">
                        <KeyName>HKEY_LOCAL_MACHINE\SYSTEM</KeyName>
                        <KeyOperation>
                            <OperationForKey>CREATE</OperationForKey>
                        </KeyOperation>
                    </RegistryEditOperation>
                    <RegistryEditOperation xmlns="http://www.novell.com/ZENworks/Actions/v1.0/RegistryEdit">
                        <KeyName>HKEY_LOCAL_MACHINE\SYSTEM</KeyName>
                        <ValueOperation>
                            <ValueName>provavalor</ValueName>
                            <OperationForValue>CREATE</OperationForValue>
                            <ValueData>
                                <String>
                                    <Data>AEYAVQBOAEMASQBPAE4AQQ==</Data>
                                    <Type>String</Type>
                                </String>
                            </ValueData>
                        </ValueOperation>
                    </RegistryEditOperation>
                    <RegistryEditOperation xmlns="http://www.novell.com/ZENworks/Actions/v1.0/RegistryEdit">
                        <KeyName>HKEY_LOCAL_MACHINE\SAM</KeyName>
                        <KeyOperation>
                            <OperationForKey>NONE</OperationForKey>
                        </KeyOperation>
                    </RegistryEditOperation>
                    <RegistryEditOperation xmlns="http://www.novell.com/ZENworks/Actions/v1.0/RegistryEdit">
                        <KeyName>HKEY_LOCAL_MACHINE\SECURITY</KeyName>
                        <KeyOperation>
                            <OperationForKey>NONE</OperationForKey>
                        </KeyOperation>
                    </RegistryEditOperation>
                    <BackupOption xmlns="http://www.novell.com/ZENworks/Actions/v1.0/RegistryEdit">false</BackupOption>
                    <HkcuOption xmlns="http://www.novell.com/ZENworks/Actions/v1.0/RegistryEdit">false</HkcuOption>
                </ns1:RegistryEditData>
            </Data>
            <ContinueOnFailure>false</ContinueOnFailure>
            <Enabled>true</Enabled>
            <Properties>Impersonation=SYSTEM;</Properties>
            <reqsFailAction>0</reqsFailAction>
            <actionUniqueId>a92959beee0293179b863e3bbaf64b68</actionUniqueId>
        </Actions>
    </ns2:ActionSets>
    <ns2:ActionSets xmlns:ns2="http://novell.com/zenworks/datamodel/objects/actions" xmlns="http://novell.com/zenworks/datamodel/objects/actions">
        <Id>d90e1f23bd8bddc1f34f04662cfeb184</Id>
        <Type>Distribution</Type>
        <Version>1</Version>
        <Modified>false</Modified>
        <Data>
            <ns1:Uninstall xmlns:ns1="http://novell.com/zenworks/apps/appSchema">
                <Enabled xmlns="http://novell.com/zenworks/apps/appSchema">false</Enabled>
                <AllowManual xmlns="http://novell.com/zenworks/apps/appSchema">false</AllowManual>
                <DaysBeforeUninstallWhenNotUsed xmlns="http://novell.com/zenworks/apps/appSchema">-1</DaysBeforeUninstallWhenNotUsed>
                <IgnoreChainedDependencies xmlns="http://novell.com/zenworks/apps/appSchema">false</IgnoreChainedDependencies>
            </ns1:Uninstall>
        </Data>
        <Actions>
            <Id>13a8724f63c880b16be93272c996ced2</Id>
            <Type>Distribute Action</Type>
            <ContinueOnFailure>false</ContinueOnFailure>
            <Enabled>true</Enabled>
            <actionUniqueId>223d4ea5d58a3b3383e3446d0c1fadc1</actionUniqueId>
        </Actions>
    </ns2:ActionSets>
    <ns2:ActionSets xmlns:ns2="http://novell.com/zenworks/datamodel/objects/actions" xmlns="http://novell.com/zenworks/datamodel/objects/actions">
        <Id>f44c575ca5dc64c925312f86f7ad1176</Id>
        <Type>Launch</Type>
        <Version>1</Version>
        <Modified>false</Modified>
        <Data>
            <ns1:Launch xmlns:ns1="http://novell.com/zenworks/apps/appSchema" />
        </Data>
    </ns2:ActionSets>
    <DisplayName>testbundle</DisplayName>
    <CreationDate>2012-07-02T18:08:06</CreationDate>
</ns1:Bundle>