Link to home
Start Free TrialLog in
Avatar of fullermetric
fullermetric

asked on

Windows Desktop Search 4 Group Policy for PDF file index only properties not contents

By default the PDF files are indexed for Content and File properties by the search program.
We have a large amount PDF files with word indexes that we only want the name and properties indexed.  This is easily changed in changing the settings for the files for each user individually.
I would like to be able to do this though a group policy or a registry setting for this file type.
Avatar of sk_raja_raja
sk_raja_raja

download  the desktop search tool from http://www.microsoft.com/downloads/details.aspx?FamilyID=738fc2de-49b9-4e69-9227-2206277ab7c9&DisplayLang=en and the blurb says it comes with an ADM file so presumbably you can download this and gain the ability to configure it with a GPO.
Avatar of McKnife
It's just a single regkey.
add
--
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Search\Gather\Windows\SystemIndex\Extensions\ExtensionList]
"999"="pdf"
--
999 is not really on intention but just a high number. Windows enumerates the registered filetypes to exclude and as the number of filetypes registered will differ from system to system (but will be for sure smaller than 999), I chose 999. After the service windows search is restarted (next reboot), pdf-contents will get excluded.

So now you can either
-apply that value via domain startup script
-apply it via GPP (recommended)
-build your own template to apply it

I wonder why MS has not made this possible through gpo.
Avatar of fullermetric

ASKER

After checking the posts this still does not get me there.
I think the registry key I am looking for is in the User Desktop search section.
From the Desktop, Windows Search, Indexing Options, Advanced, File Types
I can go to -pdf- file type and change it to "Index File Properties Qnly"  instead of "Index File Properties and Contents"
This is what I would like to enforce.

This won't be in the user's section, to get there, you need admin rights (the shield=elevation), so it won't be found in the user section.
Try my comment, I confirmed it working ->after closing regedit and restarting the service of course.
Hello McKnife
I used this approch but now all PDF files are excluded from the index totally.
I just want the contents fo the PDF file not to be indexed but the file name still to be searchable.
I think I need I need to change the Filter that is associated with this file type.
My apologies, you are perfectly right. It removes the checkmark which means to stop indexing that filetype altogether. Will have another look.
ASKER CERTIFIED SOLUTION
Avatar of McKnife
McKnife
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I was looking at this on a user basis where really it is set on a system level.
If you change the setting as an administrator on the box then it flows down to everyone else.
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.pdf\PersistentHandler]
@="{098F2470-BAE0-11CD-B579-08002B30BFEB}"
"OriginalPersistentHandler"="{F6594A6D-D57F-4EFD-B2C3-DCD9779E382E}"
This may be the key but I can not verify this.
At this point I will probaly not control this via the GPF but thank you for your help.