StevensNet.com

...Because someone's gotta tell the story...

Blogs

To return to the main Blog List, click Full Blog Listing.

Tags

Google
Group Policy
Internet Explorer
Registry
SCOM
Technical
Windows

Choosing your search engine via GPO

Monday, May 3, 2010 in Technical Articles (Views: 4457)
One thing that never ceases to amaze me is sometimes how difficult it can be to configure the most simple of tasks. One such example is configuring the default search engine in Internet Explorer.

The default engine is Bing, Live, or whatever name it has. But, what about for the Google fans, or the enterprise I work in that wants the default at Google?

Well, you could set it through the default profile, or take this custom ADM approach...

First, if you want to keep people from changing the list, you can select the GPO object "Restrict search providers to a specific list of providers", under Windows Components\Internet Explorer.

Second, copy the following text into an ADM file...

Note: The policy can be converted to a machine policy by changing "Class User" to "Class Machine"



CLASS User

CATEGORY !!WindowsComponents

CATEGORY !!InternetExplorer

POLICY "Select search providers to be included in policy-based search list"

#if version >= 4

SUPPORTED !!SUPPORTED_IE7

#endif

EXPLAIN !!Search_Explain

KEYNAME "Software\Policies\Microsoft\Internet Explorer\SearchScopes"

PART "Live Search" CHECKBOX

VALUENAME LiveChoice

ACTIONLISTON

KEYNAME "Software\Policies\Microsoft\Internet Explorer\SearchScopes\{0633EE93-D776-472f-A0FF-E1416B8B2E3A}"

VALUENAME DisplayName VALUE "@ieframe.dll,-12512"

VALUENAME URL VALUE "http://search.live.com/results.aspx?q={searchTerms}&src={referrer:source?}"

END ACTIONLISTON

END PART

PART "Google" CHECKBOX

VALUENAME GoogleChoice

ACTIONLISTON

KEYNAME "Software\Policies\Microsoft\Internet Explorer\SearchScopes\{C4CB4A26-C3A7-43D9-B587-A3A089E39EFE}"

VALUENAME DisplayName

VALUE "Google"

VALUENAME URL

VALUE "http://www.google.com/search?q={searchTerms}&rls=com.microsoft:{language}&ie={inputEncoding}&oe={outputEncoding}&startIndex={startIndex?}&startPage={startPage}"

END ACTIONLISTON

END PART

PART "Yahoo" CHECKBOX

VALUENAME YahooChoice

ACTIONLISTON

KEYNAME "Software\Policies\Microsoft\Internet Explorer\SearchScopes\{5A0025DA-7BEA-4F98-B987-298BCF7A396C}"

VALUENAME DisplayName VALUE "Yahoo! Search"

VALUENAME URL VALUE "http://search.yahoo.com/search?p={searchTerms}&ei=utf-8&fr=b2ie7"

END ACTIONLISTON

END PART

PART "Ask.com" CHECKBOX

VALUENAME AskChoice

ACTIONLISTON

KEYNAME "Software\Policies\Microsoft\Internet Explorer\SearchScopes\{FB7569CA-999B-4C43-A9EE-F85AC0982157}"

VALUENAME DisplayName VALUE "Ask.com"

VALUENAME URL VALUE "http://www.ask.com/web?q={searchTerms}&qsrc=0&o=0&l=dir"

END ACTIONLISTON

END PART

END POLICY

END CATEGORY

END CATEGORY

[strings]

SUPPORTED_IE7="At least Internet Explorer 7.0"

WindowsComponents="Windows Components"

InternetExplorer="Internet Explorer"

PopulateSearchProviderList="Test populate list policy"

Search_Explain="Adds registry entries to HKCU\Software\Policies\Microsoft\Internet Explorer\SearchScopes for specific search providers. Check or clear the checkbox next to each search provider.\n\n If you enable this policy setting and if the "Restrict search providers to a specific list of providers" Group Policy setting is enabled, the checked entries will be the only ones that appear 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, the checked entries will be added to the user's list of search providers.\n\n If you disable this policy setting or do not configure it, search will be governed by the other relevant policies in this category. See the other policies mentioned here for additional information."

Test_Explain="Test explanation."

DateFormat="DateFormatText"



Then, simply import this template and use it as a classic ADM template. You will have a choice of the 4 above engines to search from.

 

Related Blogs You May Be Interested In:


To leave a comment, please log in and/or register.