Can't get google search scope working from Unattend.xml
-
Wednesday, December 08, 2010 2:44 PM
Hi Everyone,
I would like to have Google set as the default search scope. I will be deploying windows via MDT and I'm using Windows System Image Manager to adjust the Unattend.xml. While it goes through with no problems, and the search provider shows and works, the suggestions DO NOT work. When typing in it just states "An error occurred"
Heres my XML for that particular segment:
<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.google.ca</Home_Page> <CompanyName>Company</CompanyName> <DisableFirstRunWizard>true</DisableFirstRunWizard> <SearchScopes> <Scope wcm:action="add"> <ScopeKey>Search1</ScopeKey> <ScopeUrl>http://www.google.ca/search?q={searchTerms}&rls=com.microsoft:{language}:{referrer:source}&ie={inputEncoding?}&oe={outputEncoding?}</ScopeUrl> <ScopeDisplayName>Google</ScopeDisplayName> <ScopeDefault>true</ScopeDefault> <SuggestionsURL>http://clients5.google.com/complete/search?q={searchTerms}&mw={ie:maxWidth}&sh={ie:sectionHeight}&rh={ie:rowHeight}&inputencoding={inputEncoding}&outputencoding={outputEncoding}</SuggestionsURL> <FaviconURL>http://www.google.ca/favicon.ico</FaviconURL> </Scope> </SearchScopes> </component>
I've looked around and this is essentially the same as other people. I tried removing this from the registry, and then manually adding the search provider through IE8, and it worked, with the same settings. The only difference was adding it manually goes to HKCU rather than HKLM.
Am I missing anything here??
All Replies
-
Monday, January 17, 2011 4:20 PM
Hi there Mike,
It looks like the problem is that your syntax isn't correct. Take a look here to validate what you have in the file: http://technet.microsoft.com/en-us/library/ff716301(WS.10).aspx
We tested various permutations here and following the steps on the technet link worked every time for us.
David Beach - Microsoft Online Community Support- Marked As Answer by MikeMorawski Monday, January 17, 2011 5:16 PM
-
Monday, January 17, 2011 5:16 PM
Thanks, I actually figured it out but I forgot I had this thread open because it took me a long time before I got it
For Suggestions URL (without xml friendly encoding):http://clients5.google.com/complete/search?hl={language}&q={searchTerms}&client=ie8&inputencoding={inputEncoding}&outputencoding={outputEncoding}
For URL_JSON
http://suggestqueries.google.com/complete/search?output=firefox&client=IE8&qu={searchTerms}
-
Saturday, June 09, 2012 12:05 AMThis is not working for me with W7E and IE9. Could you please post your complete unattend searchscope so i can view? Thanks!
-
Friday, June 29, 2012 11:09 AM
Hi there Mike,
It looks like the problem is that your syntax isn't correct. Take a look here to validate what you have in the file: http://technet.microsoft.com/en-us/library/ff716301(WS.10).aspx
We tested various permutations here and following the steps on the technet link worked every time for us.
David Beach - Microsoft Online Community Support<rant>
Without trying to be overly sarcastic, saying "yeah the reason why it's not working for you is because you have a problem" is not exactly very helpful. In fact I'm quite sure the reason why the OP came here is because he already knew he had a problem!
Whilst I understand Microsoft might not exactly want to publicise Google, showing exactly where the error was would have been helpful.
Or if you're not quite willing to do that, at least don't mark an answer saying "the reason why it doesn't work is because you have a problem" as the correct answer.
</rant>
With the rant over, I'm also having the same issue in IE9 Win7 x64 and I've checked the syntax.
-
Tuesday, July 03, 2012 7:30 PM
This has been working for me:
<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>google.com</Home_Page>
<IEWelcomeMsg>true</IEWelcomeMsg>
<DisableAccelerators>true</DisableAccelerators>
<DisableFirstRunWizard>true</DisableFirstRunWizard>
<FavoritesDelete>true</FavoritesDelete>
<SearchScopes>
<Scope wcm:action="add">
<FaviconURL>http://www.google.com/favicon.ico</FaviconURL>
<ScopeDefault>true</ScopeDefault>
<ScopeDisplayName>Google</ScopeDisplayName>
<ScopeKey>Search1</ScopeKey>
<ScopeUrl>http://www.google.com/search?q={searchTerms}&sourceid=ie7&rls=com.microsoft:{language}:{referrer:source}&ie={inputEncoding?}&oe={outputEncoding?}</ScopeUrl>
<SuggestionsURL>http://clients5.google.com/complete/search?q={searchTerms}&client=ie8&mw={ie:maxWidth}&sh={ie:sectionHeight}&rh={ie:rowHeight}&inputencoding={inputEncoding}&outputencoding={outputEncoding}</SuggestionsURL>
</Scope>
</SearchScopes>
</component>
However if you reset IE back to 'factory default' Bing comes back, which i didnt expect. I expected for these settings to be the 'hard default' just like the home page of google.com is. not sure how to fix that?
- Proposed As Answer by yannara Thursday, April 18, 2013 10:55 AM

