GPO d'Internet Explorer

De WindowsLinux.net - Astuces pour Windows et Linux !.

Cette page comprend les GPO souvent utilisées pour personnaliser, ou empêcher la modification, des paramètres les plus courants d'Internet Explorer.


Barre d'outils

Il est parfois nécessaire d'empêcher l'ajout ou la suppression de barre d'outils (Toolbar), pour diverses raisons :

  • empêcher l'apparition de fenêtre publicitaires.
  • empêcher le ralentissement du navigateur.



Il faut donc se baser sur une GPO utilisateurs, a cet emplacement :

Configuration utilisateur > Modèles d'administration > Composants Windows > Internet Explorer > Barres d'outils :

  • Désactiver la personnalisation des barres d'outils du navigateur : Activé.
  • Désactiver la personnalisation des boutons de la barre d'outils du navigateur


Mettre Google en barre de recherche

Avec Internet Explorer 8, la barre de recherche par défaut contient le moteur "Bing" de Microsoft. Avec Internet Explorer 9, cette barre de recherche est disponible en appuyant sur la touche "F4" de la barre d'adresses.

Exemples :

Image:SearchProviders-IE8.PNG

Image:SearchProviders-IE9.PNG



Copiez les deux fichiers (.admx et .adml) ci-dessous dans votre dossier : \\domaine\sysvol\domaine\Policies\PolicyDefinitions


Ce dossier est le magasin central pour vos modèles d'administration de stratégies de groupes. Lire cette page (compatible Windows server 2003 et 2008).


searchproviders.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="0">
            <value>
                <decimal value="0" />
            </value>
        </item>
        <item key="Software\Policies\Microsoft\Internet Explorer\SearchScopes\{92BEC15C-8F8B-46A6-B9E6-77B67DC5DB41}" valueName="DisplayName">
            <value>
                <string>Google</string>
            </value>
        </item>
        <item key="Software\Policies\Microsoft\Internet Explorer\SearchScopes\{92BEC15C-8F8B-46A6-B9E6-77B67DC5DB41}" valueName="URL">
            <value>
                <string>http://www.google.com/search?q={searchTerms}</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="0">
            <value>
                <decimal value="0" />
            </value>
        </item>
        <item key="Software\Policies\Microsoft\Internet Explorer\SearchScopes\{92BEC15C-8F8B-46A6-B9E6-77B67DC5DB41}" valueName="DisplayName">
            <value>
                <string>Google</string>
            </value>
        </item>
        <item key="Software\Policies\Microsoft\Internet Explorer\SearchScopes\{92BEC15C-8F8B-46A6-B9E6-77B67DC5DB41}" valueName="URL">
            <value>
                <string>http://www.google.com/search?q={searchTerms}</string>
            </value>
        </item>
      </enabledList>
      </policy>
  </policies>
</policyDefinitions>

en-US\searchproviders.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 Search</displayName>
  <description>Allow searching using 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>


Il faut ensuite modifier certains paramètres de votre GPO (aussi bien dans la partie ordinateurs qu'utilisateurs de Modèles d'administration > Composants Windows > Internet Explorer) :

  • Restreindre la modification du moteur de recherche par défaut / Restrict search providers to a specific list of search providers : Activé.
  • Populate list of search providers : Activé.
  • Ajouter une liste spécifique de fournisseurs de recherche à la liste des fournisseurs de recherche de l’utilisateur / Add a specific list of search providers : Activé.
  • Empêcher l'affichage de la liste de recherche d'Internet Explorer : Désactivé ou non configuré, afin d'afficher la zone de recherches.
Outils personnels