<?xml version="1.0" encoding="utf-8"?>
<policyDefinitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" revision="11.0" schemaVersion="1.0" xmlns="http://schemas.microsoft.com/GroupPolicy/2006/07/PolicyDefinitions">
  <policyNamespaces>
    <target prefix="MicrosoftEdge" namespace="Microsoft.Policies.MicrosoftEdge" />
    <using prefix="windows" namespace="Microsoft.Policies.Windows" />
  </policyNamespaces>
  <resources minRequiredRevision="1.0" />
  <supportedOn>
    <definitions>
      <!--Only VERSION 1.0 -->
      <definition name="SUPPORTED_INTERNET_BROWSER_1" displayName="$(string.SUPPORTED_INTERNET_BROWSER_1_DisplayName)">
        <or>
          <range ref="products:MicrosoftEdge" minVersionIndex="1" maxVersionIndex="1"/>
        </or>
      </definition>
    </definitions>
  </supportedOn>
  <categories>
    <category name="MicrosoftEdge" displayName="$(string.InternetBrowser_DisplayName)" explainText="$(string.InternetBrowser_ExplainCat)">
      <parentCategory ref="windows:WindowsComponents" />
    </category>
  </categories>
  <!-- NOTE: Please try to keep this list sorted by the Policy name="" field -->
  <policies>
    <policy name="AllowActiveScripting"
            class="Both"
            displayName="$(string.AllowActiveScripting)"
            explainText="$(string.AllowActiveScripting_Explain)"
            key="Software\Policies\Microsoft\MicrosoftEdge\Internet Settings\Zones\3"
            valueName="1400">
      <parentCategory ref="MicrosoftEdge" />
      <supportedOn ref="SUPPORTED_INTERNET_BROWSER_1" />
      <enabledValue>
        <decimal value="0" />
      </enabledValue>
      <disabledValue>
        <decimal value="2" />
      </disabledValue>
    </policy>
    <policy name="AllowAutofill"
            class="Both"
            displayName="$(string.AllowAutofill)"
            explainText="$(string.AllowAutofill_Explain)"
            key="Software\Policies\Microsoft\MicrosoftEdge\Main"
            valueName="Use FormSuggest">
      <parentCategory ref="MicrosoftEdge" />
      <supportedOn ref="SUPPORTED_INTERNET_BROWSER_1" />
      <enabledValue>
        <string>yes</string>
      </enabledValue>
      <disabledValue>
        <string>no</string>
      </disabledValue>
    </policy>
    <policy name="AllowDoNotTrack"
            class="Both"
            displayName="$(string.AllowDoNotTrack)"
            explainText="$(string.AllowDoNotTrack_Explain)"
            key="Software\Policies\Microsoft\MicrosoftEdge\Main"
            valueName="DoNotTrack">
      <parentCategory ref="MicrosoftEdge" />
      <supportedOn ref="SUPPORTED_INTERNET_BROWSER_1" />
      <enabledValue>
        <decimal value="1" />
      </enabledValue>
      <disabledValue>
        <decimal value="0" />
      </disabledValue>
    </policy>
    <policy name="AllowPasswordManager"
            class="Both"
            displayName="$(string.AllowPasswordManager)"
            explainText="$(string.AllowPasswordManager_Explain)"
            key="Software\Policies\Microsoft\MicrosoftEdge\Main"
            valueName="FormSuggest Passwords">
      <parentCategory ref="MicrosoftEdge" />
      <supportedOn ref="SUPPORTED_INTERNET_BROWSER_1" />
      <enabledValue>
        <string>yes</string>
      </enabledValue>
      <disabledValue>
        <string>no</string>
      </disabledValue>
    </policy>
    <policy name="AllowPopups"
            class="Both"
            displayName="$(string.AllowPopups)"
            explainText="$(string.AllowPopups_Explain)"
            key="Software\Policies\Microsoft\MicrosoftEdge\Main"
            valueName="AllowPopups">
      <parentCategory ref="MicrosoftEdge" />
      <supportedOn ref="SUPPORTED_INTERNET_BROWSER_1" />
      <enabledValue>
        <string>yes</string>
      </enabledValue>
      <disabledValue>
        <string>no</string>
      </disabledValue>
    </policy>
    <policy name="AllowSearchSuggestionsinAddressBar"
            class="Both"
            displayName="$(string.AllowSearchSuggestionsinAddressBar)"
            explainText="$(string.AllowSearchSuggestionsinAddressBar_Explain)"
            key="Software\Policies\Microsoft\MicrosoftEdge\SearchScopes"
            valueName="ShowSearchSuggestionsGlobal">
      <parentCategory ref="MicrosoftEdge" />
      <supportedOn ref="SUPPORTED_INTERNET_BROWSER_1" />
      <enabledValue>
        <decimal value="1" />
      </enabledValue>
      <disabledValue>
        <decimal value="0" />
      </disabledValue>
    </policy>
    <policy name="AllowSmartScreen"
            class="Both"
            displayName="$(string.AllowSmartScreen)"
            explainText="$(string.AllowSmartScreen_Explain)"
            key="Software\Policies\Microsoft\MicrosoftEdge\PhishingFilter"
            valueName="EnabledV9">
      <parentCategory ref="MicrosoftEdge" />
      <supportedOn ref="SUPPORTED_INTERNET_BROWSER_1" />
      <enabledValue>
        <decimal value="1" />
      </enabledValue>
      <disabledValue>
        <decimal value="0" />
      </disabledValue>
    </policy>
    <policy name="Cookies"
            class="Both"
            displayName="$(string.Cookies)"
            explainText="$(string.Cookies_Explain)"
            presentation="$(presentation.Cookies)"
            key="Software\Policies\Microsoft\MicrosoftEdge\Main">
      <parentCategory ref="MicrosoftEdge" />
      <supportedOn ref="SUPPORTED_INTERNET_BROWSER_1" />
      <elements>
        <enum id="CookiesListBox" valueName="Cookies" required="true">
          <item displayName="$(string.CookiesList_Block_All)">
            <value>
              <decimal value="0" />
            </value>
          </item>
          <item displayName="$(string.CookiesList_Block_ThirdParty)">
            <value>
              <decimal value="1" />
            </value>
          </item>
          <item displayName="$(string.CookiesList_Block_None)">
            <value>
              <decimal value="2" />
            </value>
          </item>
        </enum>
      </elements>
    </policy>
    <policy name="EnterpriseModeSiteList"
            class="Both"
            displayName="$(string.EnterpriseModeSiteList)"
            explainText="$(string.EnterpriseModeSiteList_Explain)"
            presentation="$(presentation.EnterpriseModeSiteList_Presentation)"
            key="Software\Policies\Microsoft\MicrosoftEdge\Main\EnterpriseMode"
            >
      <parentCategory ref="MicrosoftEdge" />
      <supportedOn ref="SUPPORTED_INTERNET_BROWSER_1" />
      <elements>
        <text id="EnterSiteListPrompt" valueName="SiteList" required="true" />
      </elements>
    </policy>
    <policy name="SendIntranetTraffictoInternetExplorer"
            class="Both"
            displayName="$(string.SendIntranetTraffictoInternetExplorer)"
            explainText="$(string.SendIntranetTraffictoInternetExplorer_Explain)"
            key="Software\Policies\Microsoft\MicrosoftEdge\Main"
            valueName="SendIntranetTraffictoInternetExplorer">
      <parentCategory ref="MicrosoftEdge" />
      <supportedOn ref="SUPPORTED_INTERNET_BROWSER_1" />
      <enabledValue>
        <decimal value="1" />
      </enabledValue>
      <disabledValue>
        <decimal value="0" />
      </disabledValue>
    </policy>
  </policies>
</policyDefinitions>
