Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Windows Search Index not working

26 Jun 2016   #1
LevelBest

Windows 7 Home Premium 64 Bit (Service Pack 1)
 
 
Windows Search Index not working

I've recently found, through event viewer, that Search Index is not working. I can't switch it on in services, or re-build the index. I've tried fix it several times and it just tell me the service isn't switched on. I had a disc clean a week or so ago and deleted all but the most recent restore point, so that isn't an option.

The issue seems to have started on 14 June whereby the event view is saying that it has detected corrupted data files and will attempt to rectify the problem by re-building the index.

Event viewer then says it failed to read the registry.

What should the registry entries be?

LevelBest




Attached Thumbnails
Windows Search Index not working-capture-registry-cure-serach-inex.gif   Windows Search Index not working-capture-gatherer-failed-read-registry.gif  
My System SpecsSystem Spec
.
26 Jun 2016   #2
Anak

Microsoft Community Contributor Award Recipient

Win 7 Home Premium 64bit Ver 6.1.7600 Build 7601 - SP1
 
 

I would not go mucking around with the registry until you have tried a few suggestions, first.

Your search index may only need to be reset, do you have any experience running troubleshooters?
  • Go to Control Panel\All Control Panel Items\Troubleshooting and make sure the box at the bottom is checked, the one that says: Get the most up to date troubleshooters...
  • Click on System and Security.
  • Do you see Search and Indexing under Windows like I have?
Windows Search Index not working-si.png

Click on Search and Indexing to start it. When it opens click on the Blue Advanced Word near the bottom left corner. It will open, showing:
Windows Search Index not working-si1.png

You can leave the Apply repairs automatically box checked, but if you want to learn uncheck it, then click on the blue Run as Administrator link and it will go back to the window that only has the Advanced link. Click on the Next button.

When the tool is finished running and you see:
Windows Search Index not working-si2.png

Click on all check boxes to reset search and index and then click on Next to finish the reset.

When finished does the troubleshooter tell you the reset worked or did it fail, it could not be reset?
If it worked go to: Index - Rebuild, but see Related below first.
If it failed take snips of and post any/all error messages and we will have to figure out how to fix it.

If you do not see the search and indexing troubleshooter like I show you can get it here: Fix Windows Desktop Search when it crashes or not showing results It should run close if not exactly as I have shown.


Related:
Those corrupt files you mentioned; It might be good thinking if you ran the a SFC scan even before you tried the troubleshooter 'cause you don't know if they were fixed or not, and if I had a successful reset I would run a SFC scan before I indexed my drive(s) just to be on the safe side or you could wind up back in the same boat as before the reset.

Heed the blue note box at the SFC tutorial about running the SFC scan at least three times or more with restarts in between.

See Note after Option Two step #4:

Note   Note
  • If SFC could not fix something, then run the command again to see if it may be able to the next time. Sometimes it may take running the sfc /scannow command 3 or more times to completely fix everything that it's able to.


My System SpecsSystem Spec
27 Jun 2016   #3
LevelBest

Windows 7 Home Premium 64 Bit (Service Pack 1)
 
 

Hello Anak

Thank you for taking the time to help me.

I did run the troubleshooter several times however, it seems exactly the same as the MS fix it, which I also ran several times.

I have run sfc /scannow three times with re-boots inbetween each scan. Each time it reports no issues.

I've tried to run the troubleshooter in advanced mode, with the 'repair' box ticked, then unticked - all several times to no avail. I've tried to re-start the service in services.msc - no luck

I attach various screenshots of failure messages.


Attached Thumbnails
Windows Search Index not working-capture-wonodws-serbic-afer-restore3.gif   Windows Search Index not working-capture-wonodws-serbic-afer-restore2.gif  
Attached Images
Windows Search Index not working-capture-wonodws-serbic-afer-restore4.gif 
My System SpecsSystem Spec
.

27 Jun 2016   #4
Anak

Microsoft Community Contributor Award Recipient

Win 7 Home Premium 64bit Ver 6.1.7600 Build 7601 - SP1
 
 

Hi LevelBest, you're welcome.

I see you are running a McAfee product, as a test can you shut it down and see if you can then index for search?

First make sure you're not on the internet then, go into the Real-Time scanning settings and turn it off and do the same with the Firewall, then see if you can run the indexer for search.
My System SpecsSystem Spec
28 Jun 2016   #5
LevelBest

Windows 7 Home Premium 64 Bit (Service Pack 1)
 
 

Hello Anak

I switched off McAfee firewall and scanning, disconnected from the net and tried to re-build the index, run the troubleshooter and switch on via services etc All the error messages are the same as the previous screenshots. I appear to be missing a file option tab on the index facility.

Event viewer is going round in circles saying it's successfully removed the old index and is trying to rebuild a new one.

LevelBest


Attached Thumbnails
Windows Search Index not working-capture-wonodws-event-view-error.gif  
Attached Images
Windows Search Index not working-capture-wonods-file-tab-missing.gif 
My System SpecsSystem Spec
28 Jun 2016   #6
Anak

Microsoft Community Contributor Award Recipient

Win 7 Home Premium 64bit Ver 6.1.7600 Build 7601 - SP1
 
 

I would like to go over a few easy suggestions before I bring out a big gun. We've all ready touched on some of these.

If search was running okay even with McAfee on, go ahead and turn McAfee back on; If McAfee was a recent addition or if it had a recent update leave off.
Note   Note
Please remember to start McAfee back up to go online, and shut off for testing, I wouldn't want you to go online without malware protection.

There are three settings I'd like you to double check:

In Services: Services - Start or Disable
Windows Search Index not working-ws.png

Open Windows Explorer and;
Windows Search Index not working-ws1.png

Go to: Control Panel\All Control Panel Items\Programs and Features and check:
Windows Search Index not working-ws2.png

If any of these three conditions weren't met, correct, and test Indexing.

If these conditions were met, study this tutorial: CLFS transaction logs - Reset And run Method I without using the MS Fix it 50140
If Method I doesn't work then proceed to Method II, hold off on Method III.


My System SpecsSystem Spec
29 Jun 2016   #7
LevelBest

Windows 7 Home Premium 64 Bit (Service Pack 1)
 
 

Hello Anak

One of the boxes was unchecked in the programmes and features however, ticking the box hasn't made any difference.

I carried out the first instruction on run: fsutil resource setautoreset true c:\. I think it said it was re-set but again, still can't switch indexing on.

I was a little nervous about step 2 but tried it in safe mode. It's really difficult to see if those are spaces after the 'b' in attrib and the 'r' in (attrib -r -s -h *). I tried several different versions with and without spaces but at one point the screen just started listing at a very fast rate and I decided to stop as I wasn't confident. I did a system restore just to make sure I hadn't mucked up anything.

I tried to look back in event viewer to see if I could find when the first error messages started to occur.

Also, at the moment, I am nursing a much larger problem which I've been trying to solve since mid-April. I may be on the verge of solving it. If I can solve that, then I can live without indexing if it's not a simple fix.

I attach a screenshot. I am not sure if there are any further simple measures I could try. Pretty sure, we've tried them all.

Thank you for your help.

LevelBest


Attached Thumbnails
Windows Search Index not working-capture-index-first-post-problems.gif  
My System SpecsSystem Spec
29 Jun 2016   #8
Anak

Microsoft Community Contributor Award Recipient

Win 7 Home Premium 64bit Ver 6.1.7600 Build 7601 - SP1
 
 

I believe those are spaces, but I know from past experience win7 will overlook them in some commands [CMD].

Yes the screen will zip by very fast and it can get scary especially if you have a lot of files in the CMD target, it's kid of a shame you didn't let it finish, doing the system restore was okay though.

If you want, go ahead and run the MS Fix it 50140 When you get there its the 20th down the list: Find and fix problems with Windows Search Clicking on the link will open a download dialog box, save it to your desktop, save and close any open work, then right click on it and run as administrator.
It kind of looks like the troubleshooter you ran earlier but maybe this one's better.

Were you able to find when this started?

Any hints on the "larger problem"? Is it computer related, like on this machine or is it of a personal matter? If personal, I understand.

In your first post, the registry screenshot, where did you find that key? It's not even close to mine.
Windows Search Index not working-regser.png

Do you have a disk, you might want to think about doing a: Repair Install

Do you use Outlook for email? Incomplete search results may occur in Outlook when a PDF iFilter is installed


My System SpecsSystem Spec
30 Jun 2016   #9
LevelBest

Windows 7 Home Premium 64 Bit (Service Pack 1)
 
 

Hello Anak

I may have another go in the future with running those commands. It's just a little disconcerting not knowing how to exactly enter the letters. On the third attempt at running the first one, I got a whole load of entries come up which indicates I entered the figures correctly. Should I expect a hit like that for each entry, otherwise I won't know if I've entered it correctly?

Could I use system restore if anything goes wrong? Would system restore, restore all the files?

I did try the fix it tool several times before reporting the problem here. It just keeps saying indexing isn't switched on (which we kinda already know!)

I don't use Outlook, I have LiveMail.

I've spent an hour trying to find the location of the registry shot I sent you and can't seem to find it again. I have however, found the entries the same as your screenshot. I notice that my 'setup completed successfully' is at
'0' whereas yours is at '1'. Would it be worth changing the value to '1' - or is the idea that it should populate itself after successfully recreating the index?

Yes, the problem I've been trying to solve since mid-April is a computer problem, a pretty massive one, and very complicated. I may (very big 'may') be on the brink of solving it but it's even earlier than 'early days' and I don't want to do too much more tinkering until I know for sure the first problem has been solved or not. Be re-assured if it is solved, I'll let you know.

I don't have an installation disk with my windows 7, apparently (so I was told by the place I purchased the laptop from) windows 7 wasn't issued with one. A repair install is a last option and not one I would want to do if perchance, I've solved the first problem. However, if it's not, then a repair install will probably be what I'll have to do.

LevelBest


Attached Thumbnails
Windows Search Index not working-capture-todays-registry-sceen-shot.gif  
My System SpecsSystem Spec
30 Jun 2016   #10
Anak

Microsoft Community Contributor Award Recipient

Win 7 Home Premium 64bit Ver 6.1.7600 Build 7601 - SP1
 
 

If you do have a go at running those CMDs again just copy and paste the CMDs from the tutorial on to the CMD line, that should remove the ambiguity.

You should expect that behaviour for each entry, to slow down the quickness of the CMD showing you all the files in a particular folder, add
Code:
dir | more
Code:
attrib *.* | more
or
Code:
dir /p
to the end of the CMD before you execute; These CMDs will pause the showing of files in a folder to one DOS screen's worth if there are more than a screen's worth of files in the folder.
If there are more than a screen's worth there should be a notation to "press any key to continue" to continue to the last file in the folder, if not just tap the space-bar or enter/return key, if it doesn't advance, you've reached the end of that file.

Related:
More - screen display | Windows CMD | SS64.com
How to scroll in MS-DOS or the Windows Command Prompt


If you want to make sure all files are safe you would need to run an Image or Clone Backup of your system. A System restore only backs-up you system and leaves personal files alone.

See: System Restore Point - Create
Note   Note
These restore points contain information about registry settings and other system information that Windows 7 uses. System Restore points do not include the personal user files.

You will not be able to create a restore point in safe mode since it is not supported.

If you do a System Restore when the computer is in safe mode, then you cannot undo the restore operation. However, you can run System Restore again and choose a different restore point if one exists.


This may be related to your "bigger problem" after everything we've tried to turn on Indexing.

This is old, but Live Mail related to windows search: Using Windows Search to search for Windows Live Mail e-mail will return incomplete results on Windows 7 64-bit Operating Systems

Yes,
Quote:
the idea that it should populate itself after successfully recreating the index?
One fix is to change the "1" to a "0" restart the machine and test the indexing, since you're already at zero change it to a "1" restart then test indexing, I wouldn't believe it would help but its worth a try.
This may have the affect of a reset if you then go back in and change the "1" back to "0" and test for indexing.
To be prudent, you should: Registry - Backup and Restore

Okay with the mid-April problem.

That's been standard practice to sell a machine without a disk, if ever you want to try a repair there may be a way through an .iso disk, let me know.
My System SpecsSystem Spec
Reply

 Windows Search Index not working




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
How To Re-enable Windows Search index!
Hi, I'm having trouble re-enabling my windows search index. 'Windows Search' is no longer in the list of services and I don't know what to do. Help!
General Discussion
Explorer Search Index Not Working/ Files are not coming up
Hi, I was wondering if someone could help me out with my predicament. Recently my search index hasn't been working. When I type in a common word or the name for a file it tells me "no items match your search" I know the files are there even when I go to the folder it's in, when I type in the name...
Performance & Maintenance
Windows 7 Index Search
Why does Windows 7 automatically reindex my index search file when I reboot the computer. I have 300,000 files on my computer and it takes two days to rebuild the index. I leave my computer on all the time because I am afraid that by turning it off and on again will cause the indexing function...
General Discussion
windows 7 search index
please, tell me what is search index in windows and what influence does it have during search?
Performance & Maintenance
Index Search Isn't Working Properly
Hey, I have had a big problem which I believe started ever since a Windows update. However, rang Dell and they had not heard of the problem and a system restore did not resolve the issue. Basically, when searching using the start menu for items, shortcuts to programs will appear....
Performance & Maintenance
Search Index "Windows explorer has stopped working" error
Hello, I problem I have been geting in the past 2 days is that whenever I use the search index, like for example look in my librarys, program files, or look for anything on my computer, a box pops up saying "Windows explorer has stopped working", and whatever im searching for will automaticaly...
BSOD Help and Support


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 05:56.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App