regedit
HKEY_CURRENT_USER \ Software \ Microsoft \ Internet Explorer \ Main
Double-click the Search Page value, and in the Value data box enter
http://www.google.com (overwriting the existing entry)
Select New > String Value from the Edit menu
Name the new value Search Bar
Double-click the Search Bar value, and in the Value data box enter
http://www.google.com/ie
Go to HKEY_CURRENT_USER \ Software \ Microsoft \ Internet Explorer \ SearchURL
Double-click the (Default) value, and in the Value data box enter
http://www.google.com/keyword/%s
Select the key HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Internet Explorer
Select New > Key from the Edit menu
Name the new key Search
With the Search key selected, Select Select New > String Value from the Edit menu
Name the new value SearchAssistant
Double-click the SearchAssistant value, and in the Value data box enter
http://www.google.com/ie
Close the registry editor and pray