+ Reply to Thread
Results 1 to 11 of 11

Thread: Set Google as search provider in IE7.

  Share/Bookmark
  1. #1

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation
    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    Rochdale, Lancashire
    Posts
    8,826
    Thank Post
    309
    Thanked 612 Times in 555 Posts
    Rep Power
    120

    Default 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; 25-06-2008 at 02:47 PM.

  2. Thanks to FN-GM from:

    ngreenwood (10-11-2009)

  3. #2

    Reputation
    Reputation Reputation Reputation Reputation Reputation Reputation
    elsiegee40's Avatar
    Join Date
    Jan 2007
    Location
    Kent
    Posts
    4,121
    Thank Post
    574
    Thanked 514 Times in 384 Posts
    Rep Power
    136

    Default

    Zack, why are you doing this with a script? Isn't GPO enough?

  4. #3

    Reputation Reputation Reputation
    Iain's Avatar
    Join Date
    Oct 2006
    Location
    Warwickshire
    Posts
    138
    Thank Post
    21
    Thanked 55 Times in 32 Posts
    Rep Power
    17

    Default

    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; 14-05-2008 at 04:32 PM.

  5. Thanks to Iain from:

    FN-GM (14-05-2008)

  6. #4

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation
    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    Rochdale, Lancashire
    Posts
    8,826
    Thank Post
    309
    Thanked 612 Times in 555 Posts
    Rep Power
    120

    Default

    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

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation
    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    Rochdale, Lancashire
    Posts
    8,826
    Thank Post
    309
    Thanked 612 Times in 555 Posts
    Rep Power
    120

    Default

    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

    Reputation Reputation Reputation Reputation
    Oops_my_bad's Avatar
    Join Date
    Jan 2007
    Location
    Man chest hair
    Posts
    1,692
    Thank Post
    401
    Thanked 48 Times in 46 Posts
    Rep Power
    21

    Default

    Let us know how you get on - would be interested if this works or not.

  9. #7

    Reputation Reputation
    Zoom7000's Avatar
    Join Date
    Feb 2006
    Location
    London
    Posts
    562
    Thank Post
    111
    Thanked 38 Times in 24 Posts
    Rep Power
    17

    Default

    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

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation
    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    Rochdale, Lancashire
    Posts
    8,826
    Thank Post
    309
    Thanked 612 Times in 555 Posts
    Rep Power
    120

    Default

    Hi that adm files works a treat, cheers.

    Z

  11. #9

    Reputation Reputation Reputation

    Join Date
    Nov 2007
    Location
    Rotherham
    Posts
    753
    Thank Post
    32
    Thanked 41 Times in 37 Posts
    Rep Power
    16

    Default

    Just to resurect this a little (sorry) how do I modify the ADM template so that search suggestions are enabled.

  12. #10

    Reputation

    Join Date
    Dec 2009
    Posts
    124
    Thank Post
    27
    Thanked 19 Times in 19 Posts
    Rep Power
    5

    Default

    Sorry, does this also work in IE8?

  13. #11

    Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation Reputation
    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    Rochdale, Lancashire
    Posts
    8,826
    Thank Post
    309
    Thanked 612 Times in 555 Posts
    Rep Power
    120

    Default

    Yes i think it does actually.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

     

Similar Threads

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

Posting Permissions

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