I need to understand how each of the tags in the MCS XML files works. Example:
<fields>
<type>checkbox</type>
<name>Reportonly</name>
<cfgkey>/setup/report_only</cfgkey>
<validation>yes|no</validation>
<datatype>string</datatype>
<position>10</position>
<label>Report Only</label>
<helptext>Select to generate an alarm regardless of the Action configured for new services. This option can be useful when testing new Windows Services configuration profiles in a live environment.</helptext>
<length>1</length>
<required>false</required>
<value>no</value>
<readonly>false</readonly>
<immutable>false</immutable>
<editable>false</editable>
<hidden>false</hidden>
<containerpath>/Setup Definition</containerpath>
<template>41</template>
<legacyVariable>%%REPORT_ONLY1%%</legacyVariable>
<persist>true</persist>
<defaultvalue>no</defaultvalue>
</fields>
I understand what some of these fields do, but some things aren't obvious. What is the difference between defaultvalue and value?
Background: I would like to set the /setup/delete_profile_section in Setup ntservices.xml to yes; however, I know that the probe will clear the services section and then automatically set the value back to no. If you run the
Find Configuration Profile Differences Using the Find-Profile-Diffs Tool it will report a discrepancy. I would prefer if it set the value once, but if it was OK with the value reverting to no later. I'm hoping that a better understanding of the fields above will facilitate my goal.
------------------------------
Dan Gill
------------------------------