Setting Google as default search provider in unattend.xml

Setting Google as default search provider in unattend.xml

 

When deploying Windows I sometimes need to change the default search provider to Google for all deployed computers.

While this can be done in many ways I prefer to use unattend.xml because users can then change it if they want. An alternative could be to use GPP but it will then have an impact on login time.

So by adding this to unattend.xml

     <component name=”Microsoft-Windows-IE-InternetExplorer” processorArchitecture=”amd64″ publicKeyToken=”31bf3856ad364e35″ language=”neutral” versionScope=”nonSxS” xmlns:wcm=”http://schemas.microsoft.com/WMIConfig/2002/State” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance“>
            <Home_Page>http://www.microsoft.com/</Home_Page>
            <IEWelcomeMsg>false</IEWelcomeMsg>
            <SearchScopes>
                <Scope wcm:action=”add”>
                    <ScopeDefault>true</ScopeDefault>
                    <ScopeDisplayName>Google</ScopeDisplayName>
                    <ScopeUrl>http://www.google.com/search?q={searchTerms}&amp;sourceid=ie7&amp;rls=com.microsoft:{language}:{referrer:source}&amp;ie={inputEncoding?}&amp;oe={outputEncoding?}</ScopeUrl>
                    <ScopeKey>SearchProvider1</ScopeKey>
                    <FaviconURL>http://www.google.com/favicon.ico</FaviconURL>
                    <SuggestionsURL>http://clients5.google.com/complete/search?q={searchTerms}&amp;hl=da&amp;gl=dk&amp;client=ie8&amp;mw={ie:maxWidth}&amp;sh={ie:sectionHeight}&amp;rh={ie:rowHeight}&amp;inputencoding={inputEncoding}&amp;outputencoding={outputEncoding}</SuggestionsURL>
                </Scope>
            </SearchScopes>
        </component>

Shown here in the Windows System Image Manager.

image

You can then control the default search engine in Internet Explorer 9.

The values to use in the different settings can be found by adding Google search on a client and then look in the registry

HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerSearchScopes

image

Even though ShowSearchSuggestions has the value of true, suggestions does not work for me.

The users will be prompted to turn on suggestions.

image

So in order to avoid this I set this registry value HKCUSOFTWAREMicrosoftInternet ExplorerSearchScopesShowSearchSuggestionsInAddressGlobal to the value 1 (dword).

This is also deployed by my MDT or SCCM task sequence and loaded in the default profile so all new users will receive this setting by default, see http://larslohmann.blogspot.dk/2013/03/customize-settings-for-all-new-users-on.html for more information on how to do this for all users.

Table of Contents

Share this post
Search blog posts
Search
Authors
Modern Workplace consultant and a Microsoft MVP in Enterprise Mobility.
Modern Workplace consultant and a Microsoft MVP in Windows and Devices for IT.

Infrastructure architect with focus on Modern Workplace and Microsoft 365 security.

Cloud & security specialist with focus on Microsoft backend products and cloud technologies.

Cloud & security specialist with focus on Microsoft 365.

Cloud & Security Specialist, with a passion for all things Cybersecurity

Cloud and infrastructure security specialist with background in networking.

Infrastructure architect with focus on design, implementation, migration and consolidation.

Infrastructure consultant with focus on cloud solutions in Office365 and Azure.

follow us in feedly
Categories

Follow on SoMe