Windows search fails to find .VB, .VBProj and .snippet files contents; Control panel, Indexing, File types entry correct; folder access correct
Hi, Windows 7 Indexer does not index .VB, .VBProj and .snippet files, even though: 1. The checkboxes in Indexing Options, Advanced, File Types, are checked 2. The folders where the .VB, .VBProj and .snippet files reside are indexed: for example, *.txt, *.docx, *.xlsx files in the same folders are indexed. 3. Copies of the .VB, .VBProj and .snippet files, in the same folders as the .VB, .VBProj and .snippet files, but with txt as extension, are indexed. 4. All the files are on the C: drive of the computer. 5. Google Desktop indexes these .VB, .VBProj and .snippet files. 6. Microsoft's MCT / MCITP / MCTS / MCSA / C recommended: Try to Rebuild The Index Options Start---> Index Options ---> Advanced ---> Index Setting ---> Troubleshooting ---> Rebuild ---> ok 7. Following the instructions in 6. above did not solve the problem: Windows 7 indexer re-indexed 125,148 files, but no *.vb. *.vbproj or *.snippet file. Again, Google desktop indexed *.vb, *.vbproj and *.snippet files. Windows 7 indexed copies of the *.vb, *.vbproj and *.snippet files, made in the same folders, but given *.txt as extension. I would appreciate any pointers/solution. Thanks!
July 21st, 2012 10:15am

Hello Rony, A. Sorry to start with "low end test", namely the check the scope of indexing: Start -> index Look if drives that contain the searched extension are included. B. Because of search is based on .NET, there are some more advanced possibilities of search. Here is a subset http://windows.microsoft.com/en-us/windows7/Advanced-tips-for-searching-in-Windows C. This may help http://blogs.msdn.com/b/kirillosenkov/archive/2012/05/29/windows-explorer-preview-pane-for-vb-files.aspx which points to http://www.howtogeek.com/howto/windows-vista/make-windows-vista-explorer-preview-pane-work-for-more-file-types/ Regards Milos
Free Windows Admin Tool Kit Click here and download it now
July 21st, 2012 5:52pm

Hi, The check boxes for the .vb, .vbproj and .snippet extensions are checked under [Indexer Options], Advanced, File Types. The problem is that these Microsoft .vb, .vbproj and .snippet are not indexed (!). One simple silly solution which I am currently using is to write a VB program that makes a copy of each .vb, .vbproj and .snippet and gives it .txt as extension, in which case the *.txt files are indexed, so I can index .vb, .vbproj and .snippet files by copying them. Windows 7 is supposed to index them. Any idea/pointers would be appreaciated. Thanks!
July 22nd, 2012 1:31pm

Hi, Please check whether you could search these files in Safe Mode. Also you can create a new account to test the issue. More reference: Fix a corrupted user profile Hope this helps Vincent Wang TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
July 23rd, 2012 5:12am

Hi, Neither using Safe Mode nor creating a new profile and using Indexer under safe mode/the new profile, worked: Windows 7 does not index .vb, .vbproj and .snippet even though it is set up to index these files. Thanks for any pointers/ideas!
July 24th, 2012 12:20am

Hi, You can try to unchecked the *.vb , *.vbproj from Indexing Options, Advanced, File Types , and restart your computer and then Check them again, restart your computer to check the result. Hope this helps. Vincent Wang TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
July 25th, 2012 4:54am

Hi, You can try to unchecked the *.vb , *.vbproj from Indexing Options, Advanced, File Types , and restart your computer and then Check them again, restart your computer to check the result. Hope this helps. Vincent Wang TechNet Community Support Can you please try this and rebuild your index as well after that and verify once? I tried the search for these file types and it's working fine for me.Janaki Hariharan
July 25th, 2012 7:33am

Hi Janaki, Milos, Vincent, Thanks for the above advices. I unchecked vb, vbproj and snippet checkboxes in Indexer Options, Advanced, File Types.I rebooted my PC.I rebuilt the Windows 7 Index. Number of items indexed: 115,260. I rechecked vb, vbproj and snippet checkboxes in Indexer Options, Advanced, File Types. When re-indexing finished, the number of files indexed was 122,722, i.e., 122,722-115,820=6,902 extra files were indexed.There are 4,284 vb, vbproj and snippet files in indexed folders. I do not know what the other 6,902-4,284=2,618 files that were indexed are.Windows 7 might be indexing vb, vbproj and snippet, but still does not show any such file in search results. So my Windows 7 does not index vb, vbproj or snippet files problem is still unsolved. Any ideas/pointers? Thanks! Ronny Schaul
Free Windows Admin Tool Kit Click here and download it now
July 26th, 2012 2:08pm

Hi, I would like to propose the following suggestions to test the issue: 1. Uninstall and reinstall Windows Search Feature. 1) Click Start and type: features in the Start Search box. 2) Click on Turn Windows Features on or off and open it. 3) Uncheck the box in front of Windows Search. 4) Restart the machine. 5) Delete the folder: C:\ProgramData\Microsoft\Search. 6) Then repeat step 1) and 2). 7) Re-check the box in front of Windows Search. 8) Restart the machine again. If the issue persists, please continue the step. 2. Modify the following registry and change the value data. 1) Press Win + R keys to open a run box. 2) Type: regedit and press Enter. 3) Navigate to the following path: HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsSearch\SetupCompletedSuccessfuly 4) Change the value to 0. 5) Restart the machine. Hope this helps Vincent Wang TechNet Community Support
July 30th, 2012 4:27am

Hi Vincent, To recapitulate, the problem I am having is that Windows Explorer under Windows 7 cannot find strings in *.vb, *.vbproj or *.snippet files that are in indexed folders. Windows explorer finds the same strings in copies of the *.vb, *.vbproj or *.snippet files, with each copy located in the same folder as the corresponding vb, vbproj or snippet file, as long as the copy is given txt as extension. At your and a few other peoples recommendation, I did the following, to no avail: search these files in Safe Modecreate a new account to test the issue. uncheck the *.vb , *.vbproj from Indexing Options, Advanced, File Types, restart computer, check them again, restart computer Rebuild index after thatUninstall and reinstall Windows Search Feature.Set the value of HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsSearch\SetupCompletedSuccessfuly to 0 and restart the PC. Any additional ideas/pointers? Thanks! Ronny Schaul
Free Windows Admin Tool Kit Click here and download it now
July 31st, 2012 3:33pm

Hi Vincent, To recapitulate, the problem I am having is that Windows Explorer under Windows 7 cannot find strings in *.vb, *.vbproj or *.snippet files that are in indexed folders. Windows explorer finds the same strings in copies of the *.vb, *.vbproj or *.snippet files, with each copy located in the same folder as the corresponding vb, vbproj or snippet file, as long as the copy is given txt as extension. At your and a few other peoples recommendation, I did the following, to no avail: search these files in Safe Modecreate a new account to test the issue. uncheck the *.vb , *.vbproj from Indexing Options, Advanced, File Types, restart computer, check them again, restart computer Rebuild index after thatUninstall and reinstall Windows Search Feature.Set the value of HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsSearch\SetupCompletedSuccessfuly to 0 and restart the PC. Any additional ideas/pointers? Thanks! Ronny Schaul
July 31st, 2012 3:33pm

In Indexer Option, Advanced, File Types, for the vb extension, the "Index Properties only" radio button in the "How should this file be indexed" group was selected. Checking the "Index Properties and File Contents" instead solved the problem. Sorry for the trouble and thanks a lot for your help! Ronny Schaul
Free Windows Admin Tool Kit Click here and download it now
August 19th, 2012 9:43am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics