This is my first post. Please tell me if i am posting in a wrong section.
I am trying to create Custom .admx file to add search provider "google".
I tried to follow this link:
How to create custom .adm or .admx files to add search providers to the toolbar search box in Internet Explorer 7
And created a file, but when i copy my files to the local machine for testing.
%windir%\policydefinitions and open gpedit i get the following error:
Encountered an error while parsing. Line 2, column 38
Here is a script that i created:
<?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_PopulateSearchPro viderList)" 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\{51FBBBAD-F020-4402-8D0F-8BBE16F168DB}" valueName="DisplayName">
<value>
<string>Google</string>
</value>
</item>
<item key="Software\Policies\Microsoft\Internet Explorer\SearchScopes\{51FBBBAD-F020-4402-8D0F-8BBE16F168DB}" valueName="URL">
<value>
<string>http://www.google.co.uk/search?hl=en&q={searchTerms}&meta=</string>
</value>
</item>
</enabledList>
</policy>
<policy name="PopulateSearchProviderList_2" class="Machine" displayName="$(string.PopulateSearchProviderList)" explainText="$(string.IE_Explain_PopulateSearchPro viderList)" key="Software\Policies\Microsoft\Internet Explorer\SearchScopes">
<parentCategory ref="inetres:InternetExplorer" />
<enabledList> Insert same as user policy above </enabledList>
</policy>
</policies>
</policyDefinitions>