+ Post New Thread
Results 1 to 14 of 14
Windows Thread, Set Google as search provider in IE7. in Technical; Set Google as search provider in Google. I have tried to follow these instructions to make the ADM template to ...
  1. #1

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,821
    Thank Post
    873
    Thanked 1,675 Times in 1,458 Posts
    Blog Entries
    12
    Rep Power
    444

    Set Google as search provider in IE7.

    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:

    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 "<DEFAULTSUBKEY>"
    
    				KEYNAME "Software\Policies\Microsoft\Internet Explorer\SearchScopes\<HKEY_CURRENT_USER\Software\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 ... END POLICY Insert the same policy that is under class user>
       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?
    Last edited by FN-GM; 25th June 2008 at 02:47 PM.

  2. 2 Thanks to FN-GM:

    ngreenwood (10th November 2009), reggiep (19th May 2011)

  3. #2

    elsiegee40's Avatar
    Join Date
    Jan 2007
    Location
    Kent
    Posts
    10,701
    Thank Post
    1,783
    Thanked 2,168 Times in 1,603 Posts
    Rep Power
    769
    Zack, why are you doing this with a script? Isn't GPO enough?

  4. #3
    Iain's Avatar
    Join Date
    Oct 2006
    Location
    Warwickshire
    Posts
    187
    Thank Post
    28
    Thanked 93 Times in 53 Posts
    Rep Power
    31
    There are a couple of errors in your adm file. You need to replace all the <variables> in the template from the Microsoft site e.g. replace <VERSION> with 1, <SUBKEY1> 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:

    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 "{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.
    Last edited by Iain; 14th May 2008 at 04:32 PM.

  5. 4 Thanks to Iain:

    Alis_Klar (29th July 2011), FN-GM (14th May 2008), linkazoid (12th October 2010), reggiep (19th May 2011)

  6. #4

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,821
    Thank Post
    873
    Thanked 1,675 Times in 1,458 Posts
    Blog Entries
    12
    Rep Power
    444
    Quote Originally Posted by elsiegee40 View Post
    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

  7. #5

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,821
    Thank Post
    873
    Thanked 1,675 Times in 1,458 Posts
    Blog Entries
    12
    Rep Power
    444
    Quote Originally Posted by Iain View Post
    There are a couple of errors in your adm file. You need to replace all the <variables> in the template from the Microsoft site e.g. replace <VERSION> with 1, <SUBKEY1> 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:

    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 "{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.

  8. #6
    Oops_my_bad's Avatar
    Join Date
    Jan 2007
    Location
    Man chest hair
    Posts
    1,738
    Thank Post
    438
    Thanked 53 Times in 50 Posts
    Rep Power
    30
    Let us know how you get on - would be interested if this works or not.

  9. #7
    Zoom7000's Avatar
    Join Date
    Feb 2006
    Location
    London
    Posts
    927
    Thank Post
    303
    Thanked 79 Times in 52 Posts
    Rep Power
    32
    Does it have to be an ADM? Can you not just deploy the default search using the registry?

    Code:
    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"

  10. #8

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,821
    Thank Post
    873
    Thanked 1,675 Times in 1,458 Posts
    Blog Entries
    12
    Rep Power
    444
    Hi that adm files works a treat, cheers.

    Z

  11. #9

    Join Date
    Nov 2007
    Location
    Rotherham
    Posts
    1,675
    Thank Post
    122
    Thanked 126 Times in 102 Posts
    Rep Power
    45
    Just to resurect this a little (sorry) how do I modify the ADM template so that search suggestions are enabled.

  12. #10

    Join Date
    Dec 2009
    Posts
    914
    Thank Post
    98
    Thanked 184 Times in 159 Posts
    Rep Power
    54
    Sorry, does this also work in IE8?

  13. #11

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,821
    Thank Post
    873
    Thanked 1,675 Times in 1,458 Posts
    Blog Entries
    12
    Rep Power
    444
    Yes i think it does actually.

  14. #12
    fawkers's Avatar
    Join Date
    Jun 2007
    Location
    Southend
    Posts
    193
    Thank Post
    32
    Thanked 22 Times in 21 Posts
    Blog Entries
    2
    Rep Power
    31
    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), <parent Category>,<seealso>,<keywords>,<supporton> but found <enabledList>

    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.

    Code:
    <?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\{F8BB57CE-3C54-4D8C-B882-0DB38615BAC8}" valueName="DisplayName">
                <value>
                    <string>Google</string>
                </value>	
            </item>	
            <item key="Software\Policies\Microsoft\Internet Explorer\SearchScopes\{F8BB57CE-3C54-4D8C-B882-0DB38615BAC8}" valueName="URL">
                <value>
                    <string>http://www.google.com/search?q={searchTerms}&amp;sourceid=ie7&amp;rls=com.microsoft:{language}:{referrer:source}&amp;ie={inputEncoding?}&amp;oe={outputEncoding?}</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\{F8BB57CE-3C54-4D8C-B882-0DB38615BAC8}" valueName="DisplayName">
    			<value>
    				<string>Google</string>
    			</value>	
    		</item>	
    		<item key="Software\Policies\Microsoft\Internet Explorer\SearchScopes\{F8BB57CE-3C54-4D8C-B882-0DB38615BAC8}" valueName="URL">
    			<value>
    				<string>http://www.google.com/search?q={searchTerms}&amp;sourceid=ie7&amp;rls=com.microsoft:{language}:{referrer:source}&amp;ie={inputEncoding?}&amp;oe={outputEncoding?}</string>
    			</value>
    		</item>
    		</enabledList> 
          </policy> 
      </policies>
    </policyDefinitions>

  15. #13

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,821
    Thank Post
    873
    Thanked 1,675 Times in 1,458 Posts
    Blog Entries
    12
    Rep Power
    444
    Has anyone got this working on IE9 please?

  16. #14

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,689
    Thank Post
    334
    Thanked 515 Times in 483 Posts
    Rep Power
    179
    Quote Originally Posted by FN-GM View Post
    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

SHARE:
+ Post New Thread

Similar Threads

  1. Cannot search Google unless we type a code in
    By FN-GM in forum General Chat
    Replies: 7
    Last Post: 22nd March 2009, 02:03 PM
  2. Google search engine problem PLEASE HELP
    By bats in forum Windows
    Replies: 6
    Last Post: 16th December 2007, 09:56 AM
  3. IE7 default search provider?
    By Oops_my_bad in forum Windows
    Replies: 7
    Last Post: 6th November 2007, 08:47 AM
  4. edugeek Google face search
    By mark in forum Jokes/Interweb Things
    Replies: 0
    Last Post: 31st May 2007, 04:50 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •