FN-GM Posted May 14, 2008 Posted May 14, 2008 Set Google as search provider in Google. I have tried to follow these instructions to make the ADM template to set google as the IE7 search provider. How to create custom .adm or .admx files to add search providers to the toolbar search box in Internet Explorer 7 This is my code: CLASS USER CATEGORY !!WindowsComponents CATEGORY !!InternetExplorer POLICY !!PopulateSearchProviderList #if version >= 4 SUPPORTED !!SUPPORTED_IE7 #endif EXPLAIN !!IE_Explain_PopulateSearchProviderList KEYNAME "Software\Policies\Microsoft\Internet Explorer\SearchScopes" VALUENAME Version VALUEON NUMERIC <1> ACTIONLISTON KEYNAME "Software\Policies\Microsoft\Internet Explorer\SearchScopes" VALUENAME DefaultScope VALUE "" KEYNAME "Software\Policies\Microsoft\Internet Explorer\SearchScopes\" VALUENAME DisplayName VALUE "" VALUENAME URL VALUE "" END ACTIONLISTON END POLICY END CATEGORY END CATEGORY CLASS MACHINE CATEGORY !!WindowsComponents CATEGORY !!InternetExplorer END CATEGORY END CATEGORY [strings] SUPPORTED_IE7="At least Internet Explorer 7.0" WindowsComponents="Windows Components" InternetExplorer="Internet Explorer" PopulateSearchProviderList="Populate List of search providers" IE_Explain_PopulateSearchProviderList="This policy setting will allow you to populate a list of search providers that will be displayed in the Internet Explorer search box.\n\n 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.\n\n If you disable this policy setting or do not configure it, users will have complete freedom to create their own search provider list." But it doesn’t work, I have attached a screenshot of the error message I get when I try to import it into group policy. What have I done wrong please? 2
elsiegee40 Posted May 14, 2008 Posted May 14, 2008 Zack, why are you doing this with a script? Isn't GPO enough?
Popular Post Iain Posted May 14, 2008 Popular Post Posted May 14, 2008 (edited) There are a couple of errors in your adm file. You need to replace all the in the template from the Microsoft site e.g. replace with 1, with the guid of the google search provider {2BC28A1E-D072-420F-9746-3CE8DC279237}. You also need to copy the entire policy in the user section and paste it into the machine section. It should end up looking something like: CLASS USER CATEGORY !!WindowsComponents CATEGORY !!InternetExplorer POLICY !!PopulateSearchProviderList #if version >= 4 SUPPORTED !!SUPPORTED_IE7 #endif EXPLAIN !!IE_Explain_PopulateSearchProviderList KEYNAME "Software\Policies\Microsoft\Internet Explorer\SearchScopes" VALUENAME Version VALUEON NUMERIC 1 ACTIONLISTON KEYNAME "Software\Policies\Microsoft\Internet Explorer\SearchScopes" VALUENAME DefaultScope VALUE "{2BC28A1E-D072-420F-9746-3CE8DC279237}" KEYNAME "Software\Policies\Microsoft\Internet Explorer\SearchScopes\{2BC28A1E-D072-420F-9746-3CE8DC279237}" VALUENAME DisplayName VALUE "Google" VALUENAME URL VALUE "http://www.google.co.uk/search?hl=en&q={searchTerms}&meta=" END ACTIONLISTON END POLICY END CATEGORY END CATEGORY CLASS MACHINE CATEGORY !!WindowsComponents CATEGORY !!InternetExplorer POLICY !!PopulateSearchProviderList #if version >= 4 SUPPORTED !!SUPPORTED_IE7 #endif EXPLAIN !!IE_Explain_PopulateSearchProviderList KEYNAME "Software\Policies\Microsoft\Internet Explorer\SearchScopes" VALUENAME Version VALUEON NUMERIC 1 ACTIONLISTON KEYNAME "Software\Policies\Microsoft\Internet Explorer\SearchScopes" VALUENAME DefaultScope VALUE "{2BC28A1E-D072-420F-9746-3CE8DC279237}" KEYNAME "Software\Policies\Microsoft\Internet Explorer\SearchScopes\{2BC28A1E-D072-420F-9746-3CE8DC279237}" VALUENAME DisplayName VALUE "Google" VALUENAME URL VALUE "http://www.google.co.uk/search?hl=en&q={searchTerms}&meta=" END ACTIONLISTON END POLICY END CATEGORY END CATEGORY [strings] SUPPORTED_IE7="At least Internet Explorer 7.0" WindowsComponents="Windows Components" InternetExplorer="Internet Explorer" PopulateSearchProviderList="Populate List of search providers" IE_Explain_PopulateSearchProviderList="This policy setting will allow you to populate a list of search providers that will be displayed in the Internet Explorer search box.\n\n 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.\n\n If you disable this policy setting or do not configure it, users will have complete freedom to create their own search provider list." Hope that is of some help, Iain. Edited May 14, 2008 by Iain 5
FN-GM Posted May 14, 2008 Author Posted May 14, 2008 Zack, why are you doing this with a script? Isn't GPO enough? If you read the article it is a .adm file to go into group policy. PS: there is no “c” in my name
FN-GM Posted May 14, 2008 Author Posted May 14, 2008 There are a couple of errors in your adm file. You need to replace all the in the template from the Microsoft site e.g. replace with 1, with the guid of the google search provider {2BC28A1E-D072-420F-9746-3CE8DC279237}. You also need to copy the entire policy in the user section and paste it into the machine section. It should end up looking something like: CLASS USER CATEGORY !!WindowsComponents CATEGORY !!InternetExplorer POLICY !!PopulateSearchProviderList #if version >= 4 SUPPORTED !!SUPPORTED_IE7 #endif EXPLAIN !!IE_Explain_PopulateSearchProviderList KEYNAME "Software\Policies\Microsoft\Internet Explorer\SearchScopes" VALUENAME Version VALUEON NUMERIC 1 ACTIONLISTON KEYNAME "Software\Policies\Microsoft\Internet Explorer\SearchScopes" VALUENAME DefaultScope VALUE "{2BC28A1E-D072-420F-9746-3CE8DC279237}" KEYNAME "Software\Policies\Microsoft\Internet Explorer\SearchScopes\{2BC28A1E-D072-420F-9746-3CE8DC279237}" VALUENAME DisplayName VALUE "Google" VALUENAME URL VALUE "http://www.google.co.uk/search?hl=en&q={searchTerms}&meta=" END ACTIONLISTON END POLICY END CATEGORY END CATEGORY CLASS MACHINE CATEGORY !!WindowsComponents CATEGORY !!InternetExplorer POLICY !!PopulateSearchProviderList #if version >= 4 SUPPORTED !!SUPPORTED_IE7 #endif EXPLAIN !!IE_Explain_PopulateSearchProviderList KEYNAME "Software\Policies\Microsoft\Internet Explorer\SearchScopes" VALUENAME Version VALUEON NUMERIC 1 ACTIONLISTON KEYNAME "Software\Policies\Microsoft\Internet Explorer\SearchScopes" VALUENAME DefaultScope VALUE "{2BC28A1E-D072-420F-9746-3CE8DC279237}" KEYNAME "Software\Policies\Microsoft\Internet Explorer\SearchScopes\{2BC28A1E-D072-420F-9746-3CE8DC279237}" VALUENAME DisplayName VALUE "Google" VALUENAME URL VALUE "http://www.google.co.uk/search?hl=en&q={searchTerms}&meta=" END ACTIONLISTON END POLICY END CATEGORY END CATEGORY [strings] SUPPORTED_IE7="At least Internet Explorer 7.0" WindowsComponents="Windows Components" InternetExplorer="Internet Explorer" PopulateSearchProviderList="Populate List of search providers" IE_Explain_PopulateSearchProviderList="This policy setting will allow you to populate a list of search providers that will be displayed in the Internet Explorer search box.\n\n 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.\n\n If you disable this policy setting or do not configure it, users will have complete freedom to create their own search provider list." Hope that is of some help, Iain. Thanks i will give that a go.
Oops_my_bad Posted May 15, 2008 Posted May 15, 2008 Let us know how you get on - would be interested if this works or not.
Zoom7000 Posted May 15, 2008 Posted May 15, 2008 Does it have to be an ADM? Can you not just deploy the default search using the registry? Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\SearchScopes] "DefaultScope"=- [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\SearchScopes\{0633EE93-D776-472f-A0FF-E1416B8B2E3A}] [HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\SearchScopes] "DefaultScope"="{D9086831-1612-4AC3-AB8D-8036EE46041D}" "Version"=dword:00000001 [HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\SearchScopes\{D9086831-1612-4AC3-AB8D-8036EE46041D}] "DisplayName"="Google" "URL"="http://www.google.co.uk/search?hl=en&q={searchTerms}&meta=" [HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\SearchUrl] "provider"="" [HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\SearchUrl\g] @="http://www.google.co.uk/search?q=%s" " "="+" "#"="%23" "&"="%26" "?"="%3F" "+"="%2B" "="="%3D" [HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main] "Search Page"="http://www.google.co.uk" "Search Bar"="http://www.google.co.uk/ie" [HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\SearchURL] ""="http://www.google.co.uk/keyword/%s" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Search] "SearchAssistant"="http://www.google.co.uk/ie"
Stuart_C Posted December 11, 2009 Posted December 11, 2009 Just to resurect this a little (sorry) how do I modify the ADM template so that search suggestions are enabled.
fawkers Posted November 1, 2010 Posted November 1, 2010 Hello Everyone, Trying to create a ADMX template for this can anyone see where this is going wrong? around line 32, the error that i get is: Expected one of the following possible elements(s), ,,, but found The erros is sounds good but i've been following How to create custom .adm or .admx files to add search providers to the toolbar search box in Internet Explorer 7 exactly. Google http://www.google.com/search?q={searchTerms}&sourceid=ie7&rls=com.microsoft:{language}:{referrer:source}&ie={inputEncoding?}&oe={outputEncoding?} Google http://www.google.com/search?q={searchTerms}&sourceid=ie7&rls=com.microsoft:{language}:{referrer:source}&ie={inputEncoding?}&oe={outputEncoding?}
Steve21 Posted May 23, 2011 Posted May 23, 2011 Has anyone got this working on IE9 please? If it's just the default search, can't you just set the reg keys? (Not using 9, but assuming it hasn't changed) HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\SearchScopes Should have a setting for unique ID, display name, and URL Steve
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now