Welcome to MSDN Blogs Sign in | Join | Help

A nice workaround to enhance searching on 64 bit Windows with OneNote

As those of you who use 64 bit versions of Windows with OneNote know, there is a limitation placed on search results. If you use Windows Desktop Search (any version) to find OneNote files, the results are found as expected. The problem is that they are not clickable from the search window. If you try to open one of the found files, nothing happens.

A reader from New Zealand (go All Blacks!) sent me an email with a workaround he discovered. It involves modifying the registry, but when done, you will be able to click the results.

Here are the registry keys to edit (and as always, back up before modifying the registry - or just get ready to use System Restore):

-----------------------------

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{5858A72C-C2B4-4DD7-B2BF-B76DB1BD9F6C}]
@="Microsoft Office OneNote Namespace Extension for Windows Desktop Search"

[HKEY_CLASSES_ROOT\CLSID\{5858A72C-C2B4-4DD7-B2BF-B76DB1BD9F6C}\InprocServer32]
@="C:\\PROGRAM
FILES\\MICROSOFT OFFICE\\Office12\\ONFILTER.DLL"
"ThreadingModel"="Both"

[HKEY_CLASSES_ROOT\CLSID\{5858A72C-C2B4-4DD7-B2BF-B76DB1BD9F6C}\ProgID]
@="OneIndex.ShellFolder.1"

[HKEY_CLASSES_ROOT\CLSID\{5858A72C-C2B4-4DD7-B2BF-B76DB1BD9F6C}\ShellFolder]
"Attributes"=dword:20180000
"WANTSFORPARSING"=""

[HKEY_CLASSES_ROOT\CLSID\{5858A72C-C2B4-4DD7-B2BF-B76DB1BD9F6C}\VersionIndependentProgID]
@="OneIndex.ShellFolder"

------------------

I bold faced that second one since it may need to be changed on your computer. Notice the path - if you installed OneNote or Office somewhere other than the default, this will need to change. And make sure that the path uses the "Program Files" folder, NOT "Program Files (x86)."

To save some time from running using regedit to hand modify these keys, you can copy/paste the information above into notepad, ensure the path is correct, and save as a .REG file (be sure to change the file type dropdown to "All Files.)" Then you can double click that .REG file to add them all at once.

Now when you perform the desktop search, the results will look visibly different - they will have the OneNote icon - and they will be clickable.

Enjoy!

Questions, comments, concerns and criticisms always welcome,

John

Published Monday, October 20, 2008 7:47 AM by JohnGuin
Filed under: ,

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: A nice workaround to enhance searching on 64 bit Windows with OneNote

can't MS offer this as a patch?  I am not comfortable making reg edits that come with a "prepare for trouble" warning.

Tuesday, November 18, 2008 5:23 PM by non tech

# re: A nice workaround to enhance searching on 64 bit Windows with OneNote

Something else that seems to work is: Control Panel/Indexing Options/Advanced/File Types and select the file type "one" for OneNote files.  If you change the radio button to "Index Properties and File Contents" it seems to return notes that include text typed into the WDS search box in the Start menu.  Am I missing something as a downside to this approach?

Monday, November 24, 2008 11:51 PM by vg300

# re: A nice workaround to enhance searching on 64 bit Windows with OneNote

Can you double click the .ONE files desktop search finds after a search is completed?  This workaround is designed to make the results clickable.

John

Tuesday, November 25, 2008 10:45 AM by JohnGuin

# re: A nice workaround to enhance searching on 64 bit Windows with OneNote

thank you, this was the missing part for me. Great tweak.

Wednesday, January 21, 2009 1:21 AM by Olivier

# re: A nice workaround to enhance searching on 64 bit Windows with OneNote

Great! Worked like a charm! It's a shame Microsoft doesn't give us this solution for THEIR 64-bit OS...!!!

Monday, February 23, 2009 8:24 AM by Hans

# Problemen met Windows Search onder 64-bit OS

Het heeft niets met BI te maken, maar ik wil dit ergens kwijt, al is het voor mijzelf. Op mijn laptop

Monday, February 23, 2009 8:39 AM by Hans Geurtsen

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker