Задайте вопросЗадайте вопрос
 

ОтвеченоSearch Providers ADMX & ADML

  • 1 июля 2009 г. 23:04DJXMMX Медали пользователяМедали пользователяМедали пользователяМедали пользователяМедали пользователя
     С кодом

    I'm tring to get the Search Providers ADMX working in my group policy but when ever I build the ADMX and ADML files, I never see my proivder populated in the GP setting. It just has the "Enable", "Disable", "Not Configured" with nothing below. Can some one please see if I messed the ADMX or ADML files up?

    Here is the ADMX:

    <?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="1.0" schemaVersion="1.0" xmlns="http://www.microsoft.com/GroupPolicy/PolicyDefinitions">
      <policyNamespaces>
        <target prefix="search" namespace="Microsoft.Policies.search" />
        <using prefix="inetres" namespace="Microsoft.Policies.InternetExplorer" />
      </policyNamespaces>
      <resources minRequiredRevision="1.0" />
      <policies>
          <policy name="PopulateSearchProviderList_1" class="User" displayName="$(string.PopulateSearchProviderList)" explainText="$(string.IE_Explain_PopulateSearchProviderList)"  key="Software\Policies\Microsoft\Internet Explorer\SearchScopes">
          <parentCategory ref="inetres:InternetExplorer" />
          <supportedOn ref="inetres:SUPPORTED_IE7Vista"/>
          <enabledList>
            <item key="Software\Policies\Microsoft\Internet Explorer\SearchScopes" valueName="Version">
                <value>
                    <decimal value="2" />
                </value>
            </item>
            <item key="Software\Policies\Microsoft\Internet Explorer\SearchScopes\{E500F69F-8C85-4D09-A822-09870C151594}" valueName="DisplayName">
                <value>
                    <string>Google</string>
                </value> 
            </item> 
            <item key=" Software\Policies\Microsoft\Internet Explorer\SearchScopes\{E500F69F-8C85-4D09-A822-09870C151594}" valueName="URL">
                <value>
                    <string>http://www.google.com/search?q={searchTerms}&amp;rls=com.microsoft:{language}&amp;ie={inputEncoding}&amp;oe={outputEncoding}&amp;startIndex={startIndex?}&amp;startPage={startPage}</string>
                </value>
            </item>
          </enabledList>
          </policy>
          <policy name="PopulateSearchProviderList_2" class="Machine" displayName="$(string.PopulateSearchProviderList)" explainText="$(string.IE_Explain_PopulateSearchProviderList)" key="Software\Policies\Microsoft\Internet Explorer\SearchScopes">
         <parentCategory ref="inetres:InternetExplorer" />
          <supportedOn ref="inetres:SUPPORTED_IE7Vista"/>
          <enabledList>
            <item key="Software\Policies\Microsoft\Internet Explorer\SearchScopes" valueName="Version">
                <value>
                    <decimal value="2" />
                </value>
            </item>
            <item key="Software\Policies\Microsoft\Internet Explorer\SearchScopes\{E500F69F-8C85-4D09-A822-09870C151594}" valueName="DisplayName">
                <value>
                    <string>Google</string>
                </value> 
            </item> 
            <item key=" Software\Policies\Microsoft\Internet Explorer\SearchScopes\{E500F69F-8C85-4D09-A822-09870C151594}" valueName="URL">
                <value>
                    <string>http://www.google.com/search?q={searchTerms}&amp;rls=com.microsoft:{language}&amp;ie={inputEncoding}&amp;oe={outputEncoding}&amp;startIndex={startIndex?}&amp;startPage={startPage}</string>
                </value>
            </item>
          </enabledList>
          </policy> 
      </policies>
    </policyDefinitions>
    



    Here is the ADML:

    <?xml version="1.0" encoding="utf-8"?>
    <policyDefinitionResources xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" revision="1.0" schemaVersion="1.0" xmlns="http://www.microsoft.com/GroupPolicy/PolicyDefinitions">
      <displayName>Google</displayName>
      <description>Get search suggestions with Google</description>
      <resources>
        <stringTable>
          <string id="PopulateSearchProviderList">Populate List of search providers</string>
          <string id="IE_Explain_PopulateSearchProviderList">This policy setting will let you populate a list of search providers that will be displayed in Internet Explorer's search box.
    
    If you enable this policy setting and if the "Restrict search providers to a specific list of search providers" Group Policy setting is enabled, this list will be the only list that appears in the Internet Explorer drop-down list. If the "Add a specific list of search providers to the user's search provider list" Group Policy setting is enabled, this list will be added to the user's list of search providers.
    
    If you disable this policy setting or do not configure it, users will have complete freedom to create their own search provider list.</string>
        </stringTable>
      </resources>
    </policyDefinitionResources>
    
    

Все ответы