Search does not work in My Documents Windows 7

ohio_grad_06

Well-Known Member
Reaction score
581
Ok, so got a weird issue. I have a user who's got quite a bit of documents, but search function is messed up.

For example, I can press the windows key and search from Start menu and it seems ok.

I go to Documents, and I have say a word or excel file that I know is present, type the name or partial name of something I know to be there, and try to search, it comes up with no results. This is wild. Never seen this before. We've tried going into control panel and into indexing options, and rebuild the index, no dice.

I went back there, unchecked everything being indexed, and re-added the things being indexed back to the index, and told indexing options to try to move the index to another folder, still no search results. Next step is going to be to do sfc /scannow command, maybe use tweaking.com all in one repair and possible quick check for infections though the system seems to run ok.

Tried to perform these steps but got errors partway through when trying to delete the old index files/folders as indicated.

"Try to perform the following steps:
Check if you have NoSearch keys under the following Registry:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Backup and delete them.

Step2:

Perform the following steps to rebuild the index and check the issue.

1. Click on the Start Button, type "cmd" (without quotation marks) in the Start Search box. Right-click CMD listed above and click "Run as administrator".

2. At the command prompt, copy the following command to stop the Search Service:

net stop wsearch

3. Click on the Start Button, type "regedit" (without quotation marks) in the Start Search box and press Enter.

(Click "Continue" if User Account Control prompts for permission)

4. Navigate to the following registry key by expanding the "+" beside the registry tree in the left pane:

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Search]

5. Right click on "Windows Search", click "Export"; please name the file as "RegBackup" (without quotation marks) and then save it to the C:\ drive as a backup.

Note: In case we need to undo the modification, we can double click this RegBackup.reg file to restore the registry key.


7. Right-click on “Windows Search” and choose Permissions. On the Security tab, verify that Administrator is the owner and has full control of the key.

8. Within the "Windows Search" registry key, find the SetupCompletedSuccessfully value on the right pane. Double-click SetupCompletedSuccessfully and change its value to 0.

9. Delete the following registry keys:

HKLM\Software\Microsoft\Windows Search\Applications\windows

HKLM\Software\Microsoft\Windows Search\CatalogNames\windows

HKLM\Software\Microsoft\Windows Search\Databases\windows

HKLM\Software\Microsoft\Windows Search\Gather\windows

HKLM\Software\Microsoft\Windows Search\Gathering Manager\Applications\windows

HKLM\Software\Microsoft\Windows Search\UsnNotifier\windows

If the key cannot be deleted, please perform the following steps to take ownership first

a. Right-click the key and click "Permission"

b. Click the "Advanced" button.

c. On the "Owner" tab, verify your account is the current owner. If not, click "Other users or groups" to add your account. Then select your account, check "Replace owner on subcontainers and objects" and click OK on the windows.

10. Click on the Start Button, type "cmd" (without quotation marks) in the Start Search box. Right-click CMD listed above and click "Run as administrator".

11. At the command prompt, copy the following command to delete the default index location folder:

rd %ProgramData%\Microsoft\Search\Data\Applications\Windows /S /Q

12. Start the Search Service again by typing the following:

net start wsearch

After approximately one minute, check the SetupCompletedSuccessfully registry value and it should now be set to 1 and the Search service should rebuild the index database.

Also check the following key values:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced

In this key there are two values (both hex dword)

Start_SearchFiles
Start_SearchPrograms

Don't search --------------------> 0
Search with public folders -----> 2
Search without public folders --> 1"

Anyone seen this before or have any helpful insight? Other sites suggest using a 3rd party tool. Could do that, but the built in one is what the user is used to, and should work.
 
So for anyone who is interested, given the fact I had nearly 90 views but no replies, lol.

I got a chance to sit back down at this box again. I noticed if I drilled down to the documents folder, so c:\users\said user\documents, double click on the actual folder, search works. Good deal. If I click Start, Documents, select Documents Library, search, no worky.

Fix was so simple and in front of my nose and I did not know lol.

1. Click Start Button
2. Right click the documents library folder
3. Remove their Documents folder from the Library.
4. Click Apply
5. Click OK.
6. Right Click the Documents Library folder again
7. Tell it you would like to include a folder in the Library
8. Find the users Documents folder, and tell it to include it in the Library
9. Click Apply and click ok

When I did this, voila!

So somehow the documents library went screwy and didn't know what to look for or something, not 100% sure.

A little background. I remember now that I recently installed Office 2013 for this user, even though they had 2010 previously, needed the newer version of Microsoft Lync.

I had left 2010 installed, and noticed initially they were still using some of the 2010 programs, wondering if 2010 and 2013 somehow conflicted, as I've seen as we've done these upgrades, if they still have an older version of office installed when you load 2013, if you run one of the older office apps, it want to re-run the setup and I've seen issues where 2013 became un-activated(my work has o365 with 5 installs per user), e3 plan I think.

Anyway, maybe this will help someone else.
 
Came across with a similar problem too. And yeah the solution is much pretty same to yours just point the Library to include the specific Document folders. ;)
 
Yes, on this one what was wild is the folder was included in the library already but would not work until I removed it from the library and put it back in the library again.
 
Back
Top