An error occurs when configuring search providers during an unattended installation of Windows 7

Symptoms

Consider the following scenario.  You perform an unattended installation of Microsoft Windows 7, and as part of the installation you customize the default search provider.  Once the installation is complete, you attempt to launch Microsoft Internet Explorer, and an error similar to the following occurs:

Internet Explorer - Search Provider Default
A program on your computer has corrupted your default search provider setting for Internet Explorer. Internet Explorer has reset this setting to your original search provider, BING (www.bing.com). Internet Explorer will now open Search Settings, where you can change this setting or install more search providers.


This problem occurs when running the 64-bit version of Microsoft Internet Explorer.   It may also occur in the 32-bit version of Microsoft Internet Explorer once the 64-bit version has reported the error.

 

Cause

During the unattended installation, the SearchScopes value is changed from its default setting, but the associated DefaultScope value is not changed accordingly. 

 

Resolution

To avoid this problem, do not change the search scope during the unattended installation.  Instead, you can customize the search scope using a startup script or other similar registry modification after the unattended installation has completed.

 

Microsoft Internal Support Information

Cause: The key under SearchScopes is changed from the default {0633EE93-D776-472f-A0FF-E1416B8B2E3A} to a new GUID and the DefaultScope value is not changed to match this change.
 
Steps to reproduce.

1. Use any test box you want
2. Create autounattend.xml file using the details below and copy to a USB stick
3. Stick the USB stick in your test box
4. Insert a Windows 7 64-bit RTM disk (I used Ultimate) and kick-off a clean install
5. Once the systems gets through OOBE and to the desktop, the Sysprep UI will come up.
6. Select OOBE, generalize, and reboot without installing anything.
7. The system will reboot and take you through OOBE again.
8. Once you get to the desktop, you can open the IE 32-bit browser and go through the IE set-up steps (e.g., Turn on suggested sites, etc.). Notice there’s nothing wrong.
9. Close the 32-bit browser and open the IE 64-bit browser. After about 5 seconds, you get the following pop-up.
--------------------
Internet Explorer - Search Provider Default A program on your computer has corrupted your default search provider setting for Internet Explorer. Internet Explorer has reset this setting to your original search provider, BING (www.bing.com). Internet Explorer will now open Search Settings, where you can change this setting or install more search providers.
-------------------
10. Click “OK” and you get the "Manager Add-ons" dialog
11. Close that UI.
12. Close the 64-bit browser and go back to the 32-bit browser. After about 5 seconds, you get the same pop-up. This cycles repeatedly as you bounce between browsers.

AutoUNATTEND.xml:
Copy the following into notepad and save as autounattend.xml:
en-GB en-US en-US en-US en-US OnError 1 8000 Primary true 2 Primary true NTFS WinRE D 1 1 false NTFS Windows7 C 2 2 0 true true true 0 2 OnError OnError BVQFP-FKQGV-J82F3-2JTVV-733D2 true Audit true 1 http://www.bing.com/favicon.ico BING BING true http://www.bing.com/search?q={searchTerms}&form=MNMTDF&pc=MANM&src=IE-SearchBox http://api.bing.com/qsml.aspx?query={searchTerms}&src={referrer:source?}&maxwidth={ie:maxWidth}&rowheight={ie:rowHeight}&sectionHeight={ie:sectionHeight}&FORM=IE8SSC&market=en-gb http://nmd.msn.com MANM

Product Bug Number:

WindowsOutOfBandReleases.1092065 After creating the image with sysprep + unattend.xml, IE8 pops up the error message says "Search Provider is corrupted"

Author ID (email alias):

aanders

Writer ID(email alias):
Tech Review ID (email alias):

LouisS

Confirm Article has been Tech Reviewed: Yes/No
Confirm Article released for Publishing: Yes/No
Properties

Article ID: 2444193 - Last Review: Oct 15, 2010 - Revision: 1

Feedback