We help IT Professionals succeed at work.

Windows Search 4. Prevent Windows Search 4 from cataloguing Internet Explorer's history.

williamlambton
williamlambton used Ask the Experts™
on
By default, Window Search permits IE8 to make a catalogue of its, IE8's, history. There is no setting within Windows Search to prevent this, despite what is said in this article:

http://social.msdn.microsoft.com/Forums/en/windowsdesktopsearchdevelopment/thread/c43495a7-802d-433b-a59e-07517710acad.

"Internet Explorer History" does not exist as a checkable item under Modify.

I can find nothing within IE8's settings to prevent it from connecting with Windows Search, either.

There may be a registry item that can be changed. If so, I would be keen to know of it. That, or any other suggestion, will be very welcome.

This IE8 cataloguing function does not use up a lot of resources. If IE8 is not running and its own history files have been cleared, the history collation function does not appear in Search. However, its existence, when IE8 is running, is a very irritating feature, especially if you use Search only for one or two very specific jobs (I use it only to index Outlook). Apparently, the feature is also the cause of web address suggestions appearing as you type an address into IE8. These muddy the view and distract. So, I am looking for a way of gettig rid of what is basically an annoyance!

This is my second attempt in EE to find the solution. I have given the query maximum points, this time. Here's hoping!
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
Try to exclude from indexing c:\Document And Settings\<your username>\Local Settings\Temporary Internet Files

Author

Commented:
Thanks. I tried that. As the file is hidden, it does not appear there (I have folder options set to show hidden files; however, this setting clearly is not acknowledged by Search). Should I change that file's properties in Safe Mode?

Commented:
No, just go by this way: Windows Serach Option in Indexing Options select Documents and Settings then click Modify. Here goto C:\  then Document and Settings and just select My Documents, Favorites and Desktop. Rest are not usefull from my point of view.
You can try this and see if it works.

Go to Start > run > type in Gpedit.msc

Go to the following location:

Computer configuration\Administrative templates\windows components\Search

On the right pane double click "Prevent indexing certain paths" and include the path that you DON'T want to index

synatx:
file:///C:\*

The syntax should be as above, include the * at the end.

Log off and log back in and test.

You can alos check the following group policies in the same location.

"default excluded paths"

"Prevent indexing of certain file types"

Author

Commented:
Thanks, dyuburg. However, I use search only for Outlook.

madhurjya123! Thanks. I'll be off there when next on comp, in a short while, and will report back.

Author

Commented:
Back again!  
madhurjya123. This is a setting using the a Group Policy snap-in for Microsoft Management Console, sadly not available on my XP Home computer. However, the registry changes this GUI makes can, I think, be done ordinarily using Regedit. Looking into these. Back later!
This is the registray path for this GPO:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search\PreventIndexingCertainPaths

If the "PreventIndexingCertainPaths" key does not exist, create it. note that reg values are case sensitive.

Create a REG_SZ entry and set both the name and value same

example : File:///C:\*

Logoff and test.
I have found the solution... Much searching did not reveal to me the Registry entry/ies which Gpedit would change, maybe, to exclude content of the hidden C:\Documents and Settings\user\Local Settings\History file, or similar records, from Windows Search 4 (http://www.microsoft.com/windows/products/winfamily/desktopsearch/default.mspx is the search device I am referring to - there is some confusion on the web between it and Search Companion). They are certain to exist, within the context of Search or IE8.
The ...\Local Settings\History file is hidden and, on XP Home SP3 via Safe Mode, cannot be rendered unhidden. Neither it nor Temporary Internet Files appear in Search's modification tree.
The solution I found is very simple!! I was prodded towards it by this: http://www.ehow.com/how_4911252_delete-history-using-registry-editor.html - look at Step 7.
Procedure:
1. Type inetcpl.cpl in Run and hit Enter. (Also, if you like, open Search's indexing options, where 'Internet Explorer History' - the thing to be disposed of - will be displayed.)
2. Click Content
3. Click Settings opposite 'AutoComplete stores entries on webpages and suggests matches for you'
4. Uncheck/untick 'Use Windows Search for better results'
5. Click OK  (and watch 'Internet Explorer History' disappear from within Indexing Options, if you had the pane open).
Too simple by half, as they say. The advice given, apparently by an MS individual, on the page referred to at the beginning of this thread (http://social.msdn.microsoft.com/Forums/en/windowsdesktopsearchdevelopment/thread/c43495a7-802d-433b-a59e-07517710acad) is wrong or refers to features an update has removed in the last six months.
I have myself diasabled all auto-completion functions in IE8, to keep things simple.
Many thanks to madhurjya123 for introducing me to Group Policy, generally, and pointing me in the right direction.
 

Author

Commented:
Thanks, madhurjya123! I am there now and have opened every item under HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\. WindowsSearch isn't there, on my machine.The closest thing to it is WindowsFirewall. I may do a search for WindowsSearch in a minute. Mind you, this computer is in a shocking state and needs a format.

Author

Commented:
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\WindowsSearch. AutoCompleteGroups occurs here.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\WindowsSearch. 'Disabled' under this may apply?
HKEY_USERS\S-1-5-21-1376966685-2162492557-669601209-1006\Software\Microsoft\Internet Explorer\Main\WindowsSearch. AutoCompleteGroups, User Favorites Path, etc., occur here.
I haven't done a search for the separate Windows Desktop Search (referring of course to the same item). However, it appears maybe that on this computer the new entry you suggest might occur under one of the above three?
An opinion would be of interest! I have not created a new registry entry before