Share via

Windows search index/catalog gets corrupted daily.

Anonymous
2020-01-20T10:27:38+00:00

Hello, I noticed that my Windows 10 Pro's (1909)  search function stops working in a daily basis. 

Rig: i7-9700K, 16gigs ddr4, gtx1080.

I've rebuild the index and it works for some hours/days and then the problem comes back and search finds nothing.

I keep getting these errors in event log:

Event ID 7040

The search service has detected corrupted data files in the index {id=4810 -onecoreuap\base\appmodel\search\search\ytrip\tripoli\inverted\decodinglayeroccurrences.cpp (600)}. The service will attempt to automatically correct this problem by rebuilding the index.

Details: The data is invalid.   0x8007000d (0x8007000d)

Event ID 7042

The Windows Search Service is being stopped because there is a problem with the indexer: The catalog is corrupt.

Details: The content index catalog is corrupt.   0xc0041801 (0xc0041801)

Event ID 1008

The Windows Search Service is starting up and attempting to remove the old search index {Reason: Index Corruption}. 

Event ID 1019

Windows Search Service failed to process the list of included and excluded locations with the error <30, 0x80004005, "file:///G:[c7a565aa-7a01-40d8-b5e5-6999518200c7]">. 

The search doesn't work untill I do a manual rebuild of the index.

I've set the indexing to only index two of my storage HDD's D: and E:.

System is on a nvme so I'm not indexing that nor the external ssd on G: drive.

I've disabled the indexing of .cpp files as they seem to cause problems (according to the event viewer) but it doesn't help. Those .cpp files always pop up on the event 7040 error.

I've also run all the common sfc and dism commands every forum suggest for this problem. They don't find any problems to fix. I don't have any external anti-virus software installed either that might mess up with things. 

I have monitored this behavior for weeks now. Rebuild the index numerous times. It doesn't help as the problem keeps coming back again and again.

Windows for home | Windows 10 | Cortana and search

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

9 answers

Sort by: Most helpful
  1. Anonymous
    2020-01-20T10:56:55+00:00

    Troubleshooter couldn't identify the problem.

    Details say: "Issue not present" to every potential issue.

    2 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2020-01-21T10:02:01+00:00

    Can you please exclude the "WinSxS" folder from indexing?

    I hope that the indexing works then.

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2020-01-20T13:05:33+00:00

    CSC stands for "Client Side Cache" which is used to hold Offline Files. These are local copies of files that exist on SMB shares like mapped network drives. By default, Windows indexes the CSC so that you can quickly find any network files that you've opened recently. The CSC index can become corrupt and put a full bork on indexing.

    Solution:

    1. Open registry editor (regedit.exe)
    2. Goto HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Csc\Parameters
    3. Add a new DWORD called FormatDatabase and set its value to 1
    4. Reboot
    5. Open Manage Offline Files
    6. Disable Offline Files
    7. Reboot
    8. Open Indexing Options
    9. Click Modify
    10. Remove all "csc://" entries and anything else you don't need an index of
    11. Click Advanced
    12. Delete and rebuild index with the Rebuild button
    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2020-01-20T13:02:35+00:00

    I also keep getting this on the indexing settings. I've unchecked it multiple times, and after a while when I check back it has appeared on the list again as checked.

    I have no idea what it is, or if it's related to my problem. But I can't seem to keep it not getting added to the indexing list automatically.

    1 person found this answer helpful.
    0 comments No comments
  5. Anonymous
    2020-01-20T10:40:48+00:00

    Hello ugli---01,

    Use the Windows Search and Indexing troubleshooter to try to fix any problems that affect this process. To do this, follow these steps:

    1. Select Start, then select Settings.
    2. In Windows Settings, select Update & security  > Troubleshoot. Under Find and fix other problems, select Search and Indexing.
    3. Run the troubleshooter, and select any problems that apply. Windows will try to detect and solve them.

    You can also use a command prompt to open the troubleshooter. To do this, press Windows logo key +R, enter cmd in the Open box, and then select OK. At the command prompt, run the following command:

       msdt.exe -ep WindowsHelp id SearchDiagnostic
    
    1 person found this answer helpful.
    0 comments No comments