none
Set Default Search Provider RRS feed

  • Question

  •  

     We have just deploy IE7 via Group Policy - using the inetres.adm and have also created the searchprovider.adm file - to include lists of search providers and restrict users from changing the search provider.

     

     However, we would also want to set the user configuration so that the DEFAULT provider will be google.com.

     

     Does anyone know how the above can be achive - is this configuration available in the adm template?

     

     Appreciate your help

     

    Regards,

    Thursday, April 5, 2007 4:37 AM

Answers

  • Hi Blueberries,

     

    You need to make 2 entries to the Registry

     

    Under

    HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes

    and

    HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\SearchScopes

     

    You need to add a string value 'DefaultScope' that will hold the UID value of the SearchScope that you want to make as your default.

    The UID you choose has to be in the list under the Key HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes

     

    Note also that when a user chooses 'Reset Defaults' from Internet Options the search scope settings under the HKCU key will be deleted and replaced by those under the HKLM key. So in you Admin scripts it would be a good idea to write the list to both the HKCU and HKLM keys.

     

    Regards.

    Friday, April 6, 2007 6:06 AM

All replies

  • Hi Blueberries,

     

    You need to make 2 entries to the Registry

     

    Under

    HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes

    and

    HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\SearchScopes

     

    You need to add a string value 'DefaultScope' that will hold the UID value of the SearchScope that you want to make as your default.

    The UID you choose has to be in the list under the Key HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes

     

    Note also that when a user chooses 'Reset Defaults' from Internet Options the search scope settings under the HKCU key will be deleted and replaced by those under the HKLM key. So in you Admin scripts it would be a good idea to write the list to both the HKCU and HKLM keys.

     

    Regards.

    Friday, April 6, 2007 6:06 AM
  • As far as the appropriate registry location goes, you really only need to use one or the other, HKCU (personalized) or HKLM (recommended for system wide use). Otherwise, the SearchScopes layout is pretty simple.

     

    SearchScopes

        DefaultScope = {UniqueID}

        {UniqueID}

            DisplayName = (REG_SZ)

            URL = (REG_SZ)

    • The {UniqueID} values that IE7 creates are random GUIDs, but you can use any unique identifier you wish.
    • If the DisplayName value starts with an @ symbol, the rest of the line is interpreted as a string resource from a DLL in the format "@named.dll,string_id#."
    • URL contains tokens as defined by the OpenSearch Description format, but the most important is {searchTerms}.

    Here's a Google URL for example: http://www.google.com/search?q={searchTerms}

    Saturday, April 7, 2007 5:31 AM
    Moderator
  • Quote:
          If the DisplayName value starts with an @ symbol, the rest of the line is interpreted as a string resource from a DLL in the format "@named.dll,string_id#."

      
      I saw the DisplayName value in my PC is the following string,
        DisplayName    String    @ieframe.dll,-12512

    However, ieframe.dll doesn't contain any string resource (I use VS2008 to open ieframe.dll), let alone the string ID 12512.

    Could you give some explanations ?
    Thx.
    Matthew
    Monday, February 1, 2010 9:46 AM