Configuración de directiva de aplicaciones de Win32 y Puente de dispositivo de escritorioWin32 and Desktop Bridge app policy configuration

En esta secciónIn this section

IntroducciónOverview

A partir de la versión 1703 de Windows 10, puede importar archivos ADMX (también denominado ingesta de ADMX) y establecer esas directivas respaldadas por ADMX para las aplicaciones de puente de escritorio y Win32 mediante la administración de dispositivos móviles de Windows 10 (MDM) en las SKU de escritorio.Starting in Windows 10, version 1703, you can import ADMX files (also called ADMX ingestion) and set those ADMX-backed policies for Win32 and Desktop Bridge apps by using Windows 10 Mobile Device Management (MDM) on desktop SKUs. Los archivos ADMX que definen la información de la Directiva se pueden ingesta en el dispositivo mediante el URI de ./Device/Vendor/MSFT/Policy/ConfigOperations/ADMXInstallCSP de la Directiva.The ADMX files that define policy information can be ingested to your device by using the Policy CSP URI, ./Device/Vendor/MSFT/Policy/ConfigOperations/ADMXInstall. A continuación, el archivo ADMX incorporado se procesa en las directivas de MDM.The ingested ADMX file is then processed into MDM policies.

Nota: se admite el inicio desde el siguiente comando de reemplazo de la versión de Windows 10NOTE: Starting from the following Windows 10 version Replace command is supported

  • Windows 10, versión 1903 con KB4512941 y KB4517211 instaladoWindows 10, version 1903 with KB4512941 and KB4517211 installed
  • Windows 10, versión 1809 con KB4512534 y KB instaladosWindows 10, version 1809 with KB4512534 and KB installed
  • Windows 10, versión 1803 con KB4512509 y KB instaladosWindows 10, version 1803 with KB4512509 and KB installed
  • Windows 10, versión 1709 con KB4516071 y KB instaladosWindows 10, version 1709 with KB4516071 and KB installed

Cuando se importan las directivas ADMX, las claves del registro a las que está escrita cada Directiva se comprueban para que las claves del registro del sistema conocidas o las claves del registro que se usan en las directivas de bandeja de entrada o los componentes del sistema existentes no se sobrescriban.When the ADMX policies are imported, the registry keys to which each policy is written are checked so that known system registry keys, or registry keys that are used by existing inbox policies or system components, are not overwritten. Esta precaución ayuda a evitar problemas de seguridad en relación con la apertura de todo el registro.This precaution helps to avoid security concerns over opening the entire registry. Por el momento, las directivas ingestadas no pueden escribir en ubicaciones dentro de las claves System, Software\Microsofty Software\Policies\Microsoft , excepto en las siguientes ubicaciones:Currently, the ingested policies are not allowed to write to locations within the System, Software\Microsoft, and Software\Policies\Microsoft keys, except for the following locations:

  • Software\Policies\Microsoft\OfficeSoftware\Policies\Microsoft\Office\
  • Software\Microsoft\OfficeSoftware\Microsoft\Office\
  • Software\Microsoft\Windows\CurrentVersion\ExplorerSoftware\Microsoft\Windows\CurrentVersion\Explorer\
  • Software\Microsoft\Internet Explorer Software\Microsoft\Internet Explorer\
  • software\policies\microsoft\shared tools\proofing de herramientas software\policies\microsoft\shared tools\proofing tools\
  • software\policies\microsoft\imejpsoftware\policies\microsoft\imejp\
  • software\policies\microsoft\ime\sharedsoftware\policies\microsoft\ime\shared\
  • software\policies\microsoft\shared tools\graphics software\policies\microsoft\shared tools\graphics filters\
  • software\policies\microsoft\windows\currentversion\explorersoftware\policies\microsoft\windows\currentversion\explorer\
  • software\policies\microsoft\softwareprotectionplatformsoftware\policies\microsoft\softwareprotectionplatform\
  • software\policies\microsoft\officesoftwareprotectionplatformsoftware\policies\microsoft\officesoftwareprotectionplatform\
  • software\policies\microsoft\windows\windows search\preferencessoftware\policies\microsoft\windows\windows search\preferences\
  • software\policies\microsoft\exchangesoftware\policies\microsoft\exchange\
  • Software\Microsoft\Shared tools\proofing de herramientas software\microsoft\shared tools\proofing tools\
  • Software\Microsoft\Shared tools\graphics software\microsoft\shared tools\graphics filters\
  • software\microsoft\windows\windows search\preferencessoftware\microsoft\windows\windows search\preferences\
  • software\microsoft\exchangesoftware\microsoft\exchange\
  • software\policies\microsoft\vba\securitysoftware\policies\microsoft\vba\security\
  • software\microsoft\onedrivesoftware\microsoft\onedrive
  • software\Microsoft\Edgesoftware\Microsoft\Edge
  • Software\Microsoft\EdgeUpdateSoftware\Microsoft\EdgeUpdate\

Advertencia

Algunos componentes del sistema operativo tienen una funcionalidad integrada para comprobar la pertenencia al dominio de los dispositivos.Some operating system components have built in functionality to check devices for domain membership. MDM exige los valores de directiva configurados solo si los dispositivos están Unidos al dominio; de lo contrario, no lo hace.MDM enforces the configured policy values only if the devices are domain joined, otherwise it does not. Sin embargo, aún puede importar archivos ADMX y establecer directivas de seguridad de ADMX independientemente de si el dispositivo está unido a un dominio o no.However, you can still import ADMX files and set ADMX-backed policies regardless of whether the device is domain joined or non-domain joined.

Nota

La configuración que no se puede configurar mediante la recopilación de directivas personalizada debe establecerse mediante la inserción de las claves de registro correspondientes directamente (por ejemplo, mediante script de PowerShell).Settings that cannot be configured using custom policy ingestion have to be set by pushing the appropriate registry keys directly (for example, by using PowerShell script).

Ingesta de un archivo ADMX de aplicaciónIngesting an app ADMX file

En el siguiente ejemplo de archivo ADMX se muestra cómo ingesta de un archivo ADMX de la aplicación de puente de escritorio o Win32, y cómo establecer directivas a partir del archivo.The following ADMX file example shows how to ingest a Win32 or Desktop Bridge app ADMX file and set policies from the file. El archivo ADMX define ocho directivas.The ADMX file defines eight policies.

EncapsulaPayload

<policyDefinitions revision="1.0" schemaVersion="1.0">
  <categories>
    <category name="ParentCategoryArea"/>
    <category name="Category1">
      <parentCategory ref="ParentCategoryArea" />
    </category>
    <category name="Category2">
      <parentCategory ref="ParentCategoryArea" />
    </category>
    <category name="Category3">
      <parentCategory ref="Category2" />
    </category>
  </categories>
  <policies>
    <policy name="L_PolicyConfigurationMode" class="Machine" displayName="$(string.L_PolicyConfigurationMode)" explainText="$(string.L_ExplainText_ConfigurationMode)" presentation="$(presentation.L_PolicyConfigurationMode)" key="software\policies\contoso\companyApp" valueName="configurationmode">
      <parentCategory ref="Category1" />
      <supportedOn ref="windows:SUPPORTED_Windows7" />
      <enabledValue>
        <decimal value="1" />
      </enabledValue>
      <disabledValue>
        <decimal value="0" />
      </disabledValue>
      <elements>
        <text id="L_ServerAddressInternal_VALUE" key="software\policies\contoso\companyApp" valueName="serveraddressinternal" required="true" />
        <text id="L_ServerAddressExternal_VALUE" key="software\policies\contoso\companyApp" valueName="serveraddressexternal" required="true" />
      </elements>
    </policy>
    <policy name="L_PolicyEnableSIPHighSecurityMode" class="Machine" displayName="$(string.L_PolicyEnableSIPHighSecurityMode)" explainText="$(string.L_ExplainText_EnableSIPHighSecurityMode)" presentation="$(presentation.L_PolicyEnableSIPHighSecurityMode)" key="software\policies\contoso\companyApp" valueName="enablesiphighsecuritymode">
      <parentCategory ref="Category1" />
      <supportedOn ref="windows:SUPPORTED_Windows7" />
      <enabledValue>
        <decimal value="1" />
      </enabledValue>
      <disabledValue>
        <decimal value="0" />
      </disabledValue>
    </policy>
    <policy name="L_PolicySipCompression" class="Machine" displayName="$(string.L_PolicySipCompression)" explainText="$(string.L_ExplainText_SipCompression)" presentation="$(presentation.L_PolicySipCompression)" key="software\policies\contoso\companyApp">
      <parentCategory ref="Category1" />
      <supportedOn ref="windows:SUPPORTED_Windows7" />
      <elements>
        <enum id="L_PolicySipCompression" valueName="sipcompression">
          <item displayName="$(string.L_SipCompressionVal0)">
            <value>
              <decimal value="0" />
            </value>
          </item>
          <item displayName="$(string.L_SipCompressionVal1)">
            <value>
              <decimal value="1" />
            </value>
          </item>
          <item displayName="$(string.L_SipCompressionVal2)">
            <value>
              <decimal value="2" />
            </value>
          </item>
          <item displayName="$(string.L_SipCompressionVal3)">
            <value>
              <decimal value="3" />
            </value>
          </item>
        </enum>
      </elements>
    </policy>
    <policy name="L_PolicyPreventRun" class="Machine" displayName="$(string.L_PolicyPreventRun)" explainText="$(string.L_ExplainText_PreventRun)" presentation="$(presentation.L_PolicyPreventRun)" key="software\policies\contoso\companyApp" valueName="preventrun">
      <parentCategory ref="Category1" />
      <supportedOn ref="windows:SUPPORTED_Windows7" />
      <enabledValue>
        <decimal value="1" />
      </enabledValue>
      <disabledValue>
        <decimal value="0" />
      </disabledValue>
    </policy>
    <policy name="L_PolicyConfiguredServerCheckValues" class="Machine" displayName="$(string.L_PolicyConfiguredServerCheckValues)" explainText="$(string.L_ExplainText_ConfiguredServerCheckValues)" presentation="$(presentation.L_PolicyConfiguredServerCheckValues)" key="software\policies\contoso\companyApp">
      <parentCategory ref="Category2" />
      <supportedOn ref="windows:SUPPORTED_Windows7" />
      <elements>
        <text id="L_ConfiguredServerCheckValues_VALUE" valueName="configuredservercheckvalues" required="true" />
      </elements>
    </policy>
    <policy name="L_PolicySipCompression_1" class="User" displayName="$(string.L_PolicySipCompression)" explainText="$(string.L_ExplainText_SipCompression)" presentation="$(presentation.L_PolicySipCompression_1)" key="software\policies\contoso\companyApp">
      <parentCategory ref="Category2" />
      <supportedOn ref="windows:SUPPORTED_Windows7" />
      <elements>
        <enum id="L_PolicySipCompression" valueName="sipcompression">
          <item displayName="$(string.L_SipCompressionVal0)">
            <value>
              <decimal value="0" />
            </value>
          </item>
          <item displayName="$(string.L_SipCompressionVal1)">
            <value>
              <decimal value="1" />
            </value>
          </item>
          <item displayName="$(string.L_SipCompressionVal2)">
            <value>
              <decimal value="2" />
            </value>
          </item>
          <item displayName="$(string.L_SipCompressionVal3)">
            <value>
              <decimal value="3" />
            </value>
          </item>
        </enum>
      </elements>
    </policy>
    <policy name="L_PolicyPreventRun_1" class="User" displayName="$(string.L_PolicyPreventRun)" explainText="$(string.L_ExplainText_PreventRun)" presentation="$(presentation.L_PolicyPreventRun_1)" key="software\policies\contoso\companyApp" valueName="preventrun">
      <parentCategory ref="Category3" />
      <supportedOn ref="windows:SUPPORTED_Windows7" />
      <enabledValue>
        <decimal value="1" />
      </enabledValue>
      <disabledValue>
        <decimal value="0" />
      </disabledValue>
    </policy>
    <policy name="L_PolicyGalDownloadInitialDelay_1" class="User" displayName="$(string.L_PolicyGalDownloadInitialDelay)" explainText="$(string.L_ExplainText_GalDownloadInitialDelay)" presentation="$(presentation.L_PolicyGalDownloadInitialDelay_1)" key="software\policies\contoso\companyApp">
      <parentCategory ref="Category3" />
      <supportedOn ref="windows:SUPPORTED_Windows7" />
      <elements>
        <decimal id="L_GalDownloadInitialDelay_VALUE" valueName="galdownloadinitialdelay" minValue="0" required="true" />
      </elements>
    </policy>
  </policies>
</policyDefinitions>

Solicitar SyncMLRequest Syncml

El archivo ADMX se pasa por secuencias de escape y se envía en formato de SyncML ./Vendor/MSFT/Policy/ConfigOperations/ADMXInstall/{AppName}/{SettingType}/{FileUid or AdmxFileName}a través del URI de CSP de la Directiva.The ADMX file is escaped and sent in SyncML format through the Policy CSP URI, ./Vendor/MSFT/Policy/ConfigOperations/ADMXInstall/{AppName}/{SettingType}/{FileUid or AdmxFileName}. Cuando se importa el archivo ADMX, los Estados de directiva de cada nueva Directiva son los mismos que en una directiva MDM normal: habilitado, deshabilitado o no configurado.When the ADMX file is imported, the policy states for each new policy are the same as those in a regular MDM policy: Enabled, Disabled, or Not Configured.

En el ejemplo siguiente se muestra un archivo ADMX en formato SyncML:The following example shows an ADMX file in SyncML format:

<SyncML xmlns="SYNCML:SYNCML1.2">
  <SyncBody>
    <Add>
      <CmdID>102</CmdID>
      <Item>
        <Meta>
          <Format>chr</Format>
          <Type>text/plain</Type>
        </Meta>
        <Target>
          <LocURI>./Vendor/MSFT/Policy/ConfigOperations/ADMXInstall/ContosoCompanyApp/Policy/AppAdmxFile01</LocURI>
        </Target>
        <Data>
        <![CDATA[<policyDefinitions revision="1.0" schemaVersion="1.0">
          <categories>
          <category name="ParentCategoryArea"/>
          <category name="Category1">
          <parentCategory ref="ParentCategoryArea" />
          </category>
          <category name="Category2">
          <parentCategory ref="ParentCategoryArea" />
          </category>
          <category name="Category3">
          <parentCategory ref="Category2" />
          </category>
          </categories>
          <policies>
          <policy name="L_PolicyConfigurationMode" class="Machine" displayName="$(string.L_PolicyConfigurationMode)" explainText="$(string.L_ExplainText_ConfigurationMode)" presentation="$(presentation.L_PolicyConfigurationMode)" key="software\policies\contoso\companyApp" valueName="configurationmode">
          <parentCategory ref="Category1" />
          <supportedOn ref="windows:SUPPORTED_Windows7" />
          <enabledValue>
          <decimal value="1" />
          </enabledValue>
          <disabledValue>
          <decimal value="0" />
          </disabledValue>
          <elements>
          <text id="L_ServerAddressInternal_VALUE" key="software\policies\contoso\companyApp" valueName="serveraddressinternal" required="true" />
          <text id="L_ServerAddressExternal_VALUE" key="software\policies\contoso\companyApp" valueName="serveraddressexternal" required="true" />
          </elements>
          </policy>
          <policy name="L_PolicyEnableSIPHighSecurityMode" class="Machine" displayName="$(string.L_PolicyEnableSIPHighSecurityMode)" explainText="$(string.L_ExplainText_EnableSIPHighSecurityMode)" presentation="$(presentation.L_PolicyEnableSIPHighSecurityMode)" key="software\policies\contoso\companyApp" valueName="enablesiphighsecuritymode">
          <parentCategory ref="Category1" />
          <supportedOn ref="windows:SUPPORTED_Windows7" />
          <enabledValue>
          <decimal value="1" />
          </enabledValue>
          <disabledValue>
          <decimal value="0" />
          </disabledValue>
          </policy>
          <policy name="L_PolicySipCompression" class="Machine" displayName="$(string.L_PolicySipCompression)" explainText="$(string.L_ExplainText_SipCompression)" presentation="$(presentation.L_PolicySipCompression)" key="software\policies\contoso\companyApp">
          <parentCategory ref="Category1" />
          <supportedOn ref="windows:SUPPORTED_Windows7" />
          <elements>
          <enum id="L_PolicySipCompression" valueName="sipcompression">
          <item displayName="$(string.L_SipCompressionVal0)">
          <value>
          <decimal value="0" />
          </value>
          </item>
          <item displayName="$(string.L_SipCompressionVal1)">
          <value>
          <decimal value="1" />
          </value>
          </item>
          <item displayName="$(string.L_SipCompressionVal2)">
          <value>
          <decimal value="2" />
          </value>
          </item>
          <item displayName="$(string.L_SipCompressionVal3)">
          <value>
          <decimal value="3" />
          </value>
          </item>
          </enum>
          </elements>
          </policy>
          <policy name="L_PolicyPreventRun" class="Machine" displayName="$(string.L_PolicyPreventRun)" explainText="$(string.L_ExplainText_PreventRun)" presentation="$(presentation.L_PolicyPreventRun)" key="software\policies\contoso\companyApp" valueName="preventrun">
          <parentCategory ref="Category1" />
          <supportedOn ref="windows:SUPPORTED_Windows7" />
          <enabledValue>
          <decimal value="1" />
          </enabledValue>
          <disabledValue>
          <decimal value="0" />
          </disabledValue>
          </policy>
          <policy name="L_PolicyConfiguredServerCheckValues" class="Machine" displayName="$(string.L_PolicyConfiguredServerCheckValues)" explainText="$(string.L_ExplainText_ConfiguredServerCheckValues)" presentation="$(presentation.L_PolicyConfiguredServerCheckValues)" key="software\policies\contoso\companyApp">
          <parentCategory ref="Category2" />
          <supportedOn ref="windows:SUPPORTED_Windows7" />
          <elements>
          <text id="L_ConfiguredServerCheckValues_VALUE" valueName="configuredservercheckvalues" required="true" />
          </elements>
          </policy>
          <policy name="L_PolicySipCompression_1" class="User" displayName="$(string.L_PolicySipCompression)" explainText="$(string.L_ExplainText_SipCompression)" presentation="$(presentation.L_PolicySipCompression_1)" key="software\policies\contoso\companyApp">
          <parentCategory ref="Category2" />
          <supportedOn ref="windows:SUPPORTED_Windows7" />
          <elements>
          <enum id="L_PolicySipCompression" valueName="sipcompression">
          <item displayName="$(string.L_SipCompressionVal0)">
          <value>
          <decimal value="0" />
          </value>
          </item>
          <item displayName="$(string.L_SipCompressionVal1)">
          <value>
          <decimal value="1" />
          </value>
          </item>
          <item displayName="$(string.L_SipCompressionVal2)">
          <value>
          <decimal value="2" />
          </value>
          </item>
          <item displayName="$(string.L_SipCompressionVal3)">
          <value>
          <decimal value="3" />
          </value>
          </item>
          </enum>
          </elements>
          </policy>
          <policy name="L_PolicyPreventRun_1" class="User" displayName="$(string.L_PolicyPreventRun)" explainText="$(string.L_ExplainText_PreventRun)" presentation="$(presentation.L_PolicyPreventRun_1)" key="software\policies\contoso\companyApp" valueName="preventrun">
          <parentCategory ref="Category3" />
          <supportedOn ref="windows:SUPPORTED_Windows7" />
          <enabledValue>
          <decimal value="1" />
          </enabledValue>
          <disabledValue>
          <decimal value="0" />
          </disabledValue>
          </policy>
          <policy name="L_PolicyGalDownloadInitialDelay_1" class="User" displayName="$(string.L_PolicyGalDownloadInitialDelay)" explainText="$(string.L_ExplainText_GalDownloadInitialDelay)" presentation="$(presentation.L_PolicyGalDownloadInitialDelay_1)" key="software\policies\contoso\companyApp">
          <parentCategory ref="Category3" />
          <supportedOn ref="windows:SUPPORTED_Windows7" />
          <elements>
          <decimal id="L_GalDownloadInitialDelay_VALUE" valueName="galdownloadinitialdelay" minValue="0" required="true" />
          </elements>
          </policy>
          </policies>
          </policyDefinitions>]]>
        </Data>
      </Item>
    </Add>
    <Final/>
  </SyncBody>
</SyncML>

Respuesta SyncMLResponse Syncml

<Status><CmdID>2</CmdID><MsgRef>1</MsgRef><CmdRef>102</CmdRef><Cmd>Add</Cmd><Data>200</Data></Status>

Formato de URI para configurar una directiva de aplicaciónURI format for configuring an app policy

En el siguiente ejemplo se muestra cómo derivar un nombre de directiva de aplicación de puente de escritorio o Win32The following example shows how to derive a Win32 or Desktop Bridge app policy name and policy area name:

<categories>
    <category name="ParentCategoryArea"/>
    <category name="Category1">
      <parentCategory ref="ParentCategoryArea" />
    </category>
    <category name="Category2">
      <parentCategory ref="ParentCategoryArea" />
    </category>
    <category name="Category3">
      <parentCategory ref="Category2" />
    </category>
  </categories>
<policy name="L_PolicyPreventRun_1" class="User" displayName="$(string.L_PolicyPreventRun)" explainText="$(string.L_ExplainText_PreventRun)" presentation="$(presentation.L_PolicyPreventRun_1)" key="software\policies\contoso\companyApp" valueName="preventrun">
      <parentCategory ref="Category3" />
      <supportedOn ref="windows:SUPPORTED_Windows7" />
      <enabledValue>
        <decimal value="1" />
      </enabledValue>
      <disabledValue>
        <decimal value="0" />
      </disabledValue>
    </policy>

Como se documenta en CSP de directiva, el formato de URI para configurar una directiva a través de CSP de directiva es: './{user o dispositivo}/Vendor/msft/Policy/config/{AreaName}/{PolicyName} '.As documented in Policy CSP, the URI format to configure a policy via Policy CSP is: './{user or device}/Vendor/MSFT/Policy/Config/{AreaName}/{PolicyName}'.

Directiva de usuario o de dispositivoUser or device policy

En la clase de Directiva, el atributo se define como "usuario" y el URI tiene el prefijo ./user.In the policy class, the attribute is defined as "User" and the URI is prefixed with ./user. Si el valor del atributo es "Machine", el URI tiene el prefijo ./device.If the attribute value is "Machine", the URI is prefixed with ./device. Si el valor del atributo es "both", la Directiva se puede configurar como un usuario o una directiva de dispositivo.If the attribute value is "Both", the policy can be configured either as a user or a device policy.

El formato de la Directiva {AreaName} es {AppName} ~ {SettingType} ~ {CategoryPathFromAdmx}.The policy {AreaName} format is {AppName}~{SettingType}~{CategoryPathFromAdmx}. {AppName} y {SettingType} se derivan del URI que se usa para importar el archivo ADMX.{AppName} and {SettingType} are derived from the URI that is used to import the ADMX file. En este ejemplo, el URI es: ./Vendor/MSFT/Policy/ConfigOperations/ADMXInstall/ContosoCompanyApp/Policy/AppAdmxFile01.In this example, the URI is: ./Vendor/MSFT/Policy/ConfigOperations/ADMXInstall/ContosoCompanyApp/Policy/AppAdmxFile01.

{CategoryPathFromAdmx} se deriva recorriendo el parámetro parentCategory.{CategoryPathFromAdmx} is derived by traversing the parentCategory parameter. En este ejemplo, {CategoryPathFromAdmx} es ParentCategoryArea ~ Category2 ~ Category3.In this example, {CategoryPathFromAdmx} is ParentCategoryArea~Category2~Category3. Por lo tanto, {AreaName} es ContosoCompanyApp ~ Policy ~ ParentCategoryArea ~ Category2 ~ Category3.Therefore, {AreaName} is ContosoCompanyApp~ Policy~ ParentCategoryArea~Category2~Category3.

Por lo tanto, a partir del ejemplo:Therefore, from the example:

  • Clase: usuarioClass: User
  • Nombre de la Directiva: L_PolicyPreventRun_1Policy name: L_PolicyPreventRun_1
  • Nombre de área de directiva: ContosoCompanyApp ~ Policy ~ ParentCategoryArea ~ Category2 ~ Category3Policy area name: ContosoCompanyApp~Policy~ParentCategoryArea~Category2~Category3
  • URLURI: ./user/Vendor/MSFT/Policy/Config/ContosoCompanyApp~Policy~ParentCategoryArea~Category2~Category3/L_PolicyPreventRun_1

Ejemplos de directiva de aplicaciones respaldadas por ADMXADMX-backed app policy examples

En los siguientes ejemplos se describe cómo establecer una directiva de aplicaciones integradas de ADMX.The following examples describe how to set an ADMX-ingested app policy.

Habilitar una directiva de aplicaciónEnabling an app policy

EncapsulaPayload

<enabled/>
<data id="L_ServerAddressInternal_VALUE" value="TextValue1"/>
<data id="L_ServerAddressExternal_VALUE" value="TextValue2"/>

Solicitar SyncMLRequest Syncml

<SyncML xmlns="SYNCML:SYNCML1.1">
  <SyncBody>
    <Replace>
      <CmdID>103</CmdID>
      <Item>
        <Meta>
          <Format>chr</Format>
          <Type>text/plain</Type>
        </Meta>
        <Target>
          <LocURI>./Device/Vendor/MSFT/Policy/Config/ContosoCompanyApp~ Policy~ParentCategoryArea~Category1/L_PolicyConfigurationMode</LocURI>
        </Target>
        <Data><![CDATA[<enabled/><data id="L_ServerAddressInternal_VALUE" value="TextValue1"/><data id="L_ServerAddressExternal_VALUE" value="TextValue2"/>]]></Data>
      </Item>
    </Replace>
    <Final/>
  </SyncBody>
</SyncML>

Respuesta SyncMLResponse SyncML

<Status><CmdID>2</CmdID><MsgRef>1</MsgRef><CmdRef>103</CmdRef><Cmd>Replace</Cmd><Data>200</Data></Status>

Deshabilitar una directiva de aplicaciónDisabling an app policy

EncapsulaPayload

<disabled/>

Solicitar SyncMLRequest SyncML

<SyncML xmlns="SYNCML:SYNCML1.1">
  <SyncBody>
    <Replace>
      <CmdID>104</CmdID>
      <Item>
        <Meta>
          <Format>chr</Format>
          <Type>text/plain</Type>
        </Meta>
        <Target>
          <LocURI>./Device/Vendor/MSFT/Policy/Config/ContosoCompanyApp~ Policy~ParentCategoryArea~Category1/L_PolicyConfigurationMode</LocURI>
        </Target>
        <Data><![CDATA[<disabled/>]]></Data>
      </Item>
    </Replace>
    <Final/>
  </SyncBody>
</SyncML>

Respuesta SyncMLResponse SyncML

<Status><CmdID>2</CmdID><MsgRef>1</MsgRef><CmdRef>104</CmdRef><Cmd>Replace</Cmd><Data>200</Data></Status>

Establecer una directiva de aplicación como no configuradaSetting an app policy to not configured

EncapsulaPayload

(Ninguno)(None)

Solicitar SyncMLRequest SyncML

<SyncML xmlns="SYNCML:SYNCML1.1">
  <SyncBody>
    <Delete>
      <CmdID>105</CmdID>
      <Item>
        <Target>
          <LocURI>./Device/Vendor/MSFT/Policy/Config/ContosoCompanyApp~ Policy~ParentCategoryArea~Category1/L_PolicyConfigurationMode</LocURI>
        </Target>
      </Item>
    </Delete>
    <Final/>
  </SyncBody>
</SyncML>

Respuesta SyncMLResponse SyncML

<Status><CmdID>2</CmdID><MsgRef>1</MsgRef><CmdRef>105</CmdRef><Cmd>Delete</Cmd><Data>200</Data></Status>