Indexing issue


  1. Posts : 5
    win10 22H2
       #1

    Indexing issue


    Win10 Pro 22H2 build 19045.3930

    I generally use UltraSearch when searching for files, but I've noticed lately that something I've done has rendered the search tool useless.

    Generally I only use Windows search when I want quick access to programs and features because it's usually a lot faster than clicking through menus and my desktop has enough on it. So if I wanted control panel, click and "con" has it right there in front of me. Or msconfig, or regedit, basically anything I don't need sitting on my desktop.

    That no longer works. Instead I can get, oh, let's say "terminal" out and there will be links to how to access Terminal. I can wait some time for it and sometimes it just won't show up. Other times it may take 30=45 seconds.

    I'm not sure exactly when this began. It's been a while and it's finally annoying me enough to take the time to sort it out.
    But I can't quite figure out why this is. Indexing is ON. Alll the drive areas with installed software are selected to be indexed. I've rebuilt the database twice now. It's like it's not there.

    I',ve been thinking that with the SSD/processor combination I have, it would make sense to just turn it off. Especially because I use UltraSearch for actual searches. It's only this specific functionality and photo searches that I leave it on for because UltraSearch at the moment doesn't provide thumnails (although the next release will!)

    I'm just a bit baffled by this. I've run alll the normal stuff except for a restore but I think this started before the last overwrite so that may not fix it anyways. I've even verified that the folder and file properties are set properly for indexing. I've run multiple chkdsk and DISM .....restorehealth and it all comes up clean.

    Anyone have any other deas? It's like the system is intentionally choosing to ignore the files which is just bizarre. I can only assume that I'm overlooking something that should be obvious.

    I think since it's nbaffling me I may just disable it entirely. It seems to me that even without indexing it would be faster than what I'm dealing with right now. If anyone here has run into this before and figured it out, I'd appreciate the pointer.
      My Computer


  2. Posts : 43,022
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2

    Hi,
    I generally use UltraSearch when searching for files, but I've noticed lately that something I've done has rendered the search tool useless.
    To confirm- you mean Ultrasearch is now useless? (Although your thread is about Windows search).

    Considering Windows search:
    Which of these works for anything?
    a. the search box by default on the taskbar (else Win key + s)

    b. the search box in file explorer

    Note that with your current build, Windows search behaviour (file explorer) should have reverted to how it was to the end of build 1903. E.g. if you type
    Indexing issue-untitled.png

    - correct search syntax is again usefully highlighted in blue.

    Just to take a couple of simple examples.
    Open file explorer at a folder you know is indexed containing e.g. some jpg files.
    If you type
    *.jpg
    in f explorer's search box, are those files listed appropriately?

    Then try a more complex search like the one I showed. Does that work?
    And does it work if you open file explorer at This PC and then search- or do you see a green progress bar?

    Now turn to the taskbar search box (which may be the one you're referring to.
    E.g. if I type
    Control
    I see:
    Indexing issue-untitled.png

    What do you see?

    Finally, turning to search in Settings, is that working for you?

    Thanks for the clarification.

    By way of a sidenote: I get almost instant response fomr Windows search in many cases even when doing a content search using file explorer open at, say, This PC

    Note that the search syntax supported by file explorer (very poorly documented and not maintained) quite specific searches for content or files can be set up.

    The really big advantage of indexed search is content indexing. Few 3rd party tools offer that- most that do are licensed.

    I use a 3rd party search tool too for quick basic searches: I have Windows indexed search set to avoid system files and folders, so it's focussed on my personal files, whereas the 3rd party tool covers all.
      My Computers


  3. Posts : 5
    win10 22H2
    Thread Starter
       #3

    OK. Wow! I'm used to responding with such thoroughn answers to questions but I rarely find myself on the asking side and wasn't clear with the issue described. I've never received such a thorough response before on anything in the what? 30 years since Win 3.1? lol It's a shame that I wasn't more clear with my question. I think I''m going to like this place. lol

    It's funny that I use Explorer and UltraSearch almost precisely in an opposing manner to the way that you do.
    So year, there are essentially three places where I search an all three are used in fairly specific ways.

    Explorer is used primarily for images, video, and of course getting real work done. Finding things within the tree structure that I'm working within on any project. Usually I'm somewhat making attempts at being organized. So in those cases I'm browsing images for a website for example and there's no need to locate some random file. So if I type *.exe, search in explorer works perfectly fine.

    When I need to grab a file that I know I have but I'm unsure of where it is in the directory structure or if I need to look for content within files I'll use Ultrasearch.

    It's the search on the taskbar that has me puzzled. That gets used almost exclusively for machine management tasks. I can usually do as you did above. Control Panel would show up by the time I get the letters "cont" typed and I can just click it. Same for Msconfig, disk management, temp files, etc. I disabled the indexing and now it's working again but just a tad slower. But what was happening is that I could type out "msconfig" and I would get web links to info on how to use it but it would be several minutes before I would even see msconfig appear to click on it if it bothered showing up at all.
    This is despite numerous things that should have corrected it. I even made sure that the files themselves weren't listed as hidden or anything like that.
    So right now for example, if I open explorer right now and go to C:\Windows and type msconfig, I get just two results. Two files called MigLog.xml. Ultrasearch returns 24 files, two of which are msconfig.exe., one in the System32 folder and another in WinSxs folder. It takes about two minutes to complete the search but never finds it.

    Now if in Explorer I go into the System32 folder and type msconfig in the search box, it does pull it up after about 12 seconds in the 20 seconds it takes to search the one folder.

    The MigLog.xml folders were 4 layers deep. So it's not that it's only searching directly within it's own folder. But it appears to be ignoring the System32 folder unless I'm actually IN the System32 folder even though the permissions show "Allow files within this folder to have their contents indexed in addition to properties" IS checked. And..... wait a minute....
    This doesn't look right....

    OK. So System32 permissions seem to have become confused... At least I think so. Here's what I see...

    I'm both Admin and user on my machine and I have both a business and personal MS Office acccount.

    Logged in as admin, viewing the permissions of the System32 folder, I only have "special permissions". My standard user account has Read & Execute, List Folder Contents, and Read.

    This is getting a bit over my head as this setup with admin and two office accounts where one is a user and one is admin but both are linked so I can access everything from the one account is fairly new to me. But it seems that as admin I should at least have the same access as a default user. I wonder if this is the source of the problem. I can run regedit and make edits following a UAC prompt and regedit is located within that folder. I can use explorer and go to the file and the properties of the file show Trusted Installer as having full access while system, users, and administrators have Read, & Read and Execute permissions.

    Perhaps it's as simple as giving admin Read, + Read and Execute permissions on the System32 folder? Maybe search is seeing the folder permissions there while navigation lets me get to it and once in, it's no longer a barrier?
      My Computer


  4. Posts : 16,966
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #4

    megaquark said:
    I think I''m going to like this place.
    Pleased to hear it.

    Welcome to TenForums.

    It's really worth making time to browse through the Tutorial index - there's a shortcut to it at the top of every page.
    - At the foot of the Tutorial index is a shortcut to download it as a spreadsheet.
    - I download a new copy each month.
    - By downloading it as a spreadsheet I can benefit from Excel's excellent filtering capabilities when I search for topics of interest.
    - Tutorials are also listed by category at Tutorials - there's also a shortcut to that at the top of every page.
    - Both tutorial lists are searchable.
    - You can also search for TenForumsTutorials in many general search engines, such as Google, by adding site:tenforums.com/tutorials after your search term. For example,
    taskbar toolbars site:tenforums.com/tutorials

    You can search TenForums using the search box in the top-right corner of all TenForums webpages or using Advanced Search - TenForums
    - You can also search TenForums threads in many general search engines, such as Google, by adding site:tenforums.com after your search term. For example,
    Search for drivers by HardwareID site:tenforums.com
    - [This is what the search box in the top-right corner of TenForums webpages does automatically]



    All the best,
    Denis
      My Computer


  5. Posts : 43,022
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #5

    Thanks. Taking just one issue, and noting Try3 pointed to the Tutorials..
    It's the search on the taskbar that has me puzzled. That gets used almost exclusively for machine management tasks. I can usually do as you did above. Control Panel would show up by the time I get the letters "cont" typed and I can just click it. Same for Msconfig, disk management, temp files, etc. I disabled the indexing and now it's working again but just a tad slower. But what was happening is that I could type out "msconfig" and I would get web links to info on how to use it
    Try this- and disable web search from the taskbar search box:
    Turn On or Off Search online and include web results in Windows 10

    So right now for example, if I open explorer right now and go to C:\Windows and type msconfig, I get just two results. Two files called MigLog.xml. Ultrasearch returns 24 files, two of which are msconfig.exe., one in the System32 folder and another in WinSxs folder. It takes about two minutes to complete the search but never finds it.

    Now if in Explorer I go into the System32 folder and type msconfig in the search box, it does pull it up after about 12 seconds in the 20 seconds it takes to search the one folder.
    Considering this, there are settings for f. explorer search which determine its scope.
    I mentioned I have it set NOT to search system files- and for f. explorer it gets a bit messy there I think.

    Consider:
    Indexing issue-1.jpg

    - and there is a list of excluded folders following.

    In addition, folders can be included or excluded using Indexing Options (Control Panel).

    Put those two together, and you need to be careful controlling what is indexed, and what not.
    You might want to start by checking those to see if they match how you want to use search.

    (There are at least 3 reasons it gets a bad name -
    a. memories/persistent belief that somehow search indexing uses lots of resources
    b. it's very much less than straightforward
    c. MS messed it up badly making changes with horrible updates with build 1909 and took many months to sort that out.. and now... they've gone back to how it was anyway - without really telling anyone).
      My Computers


  6. Posts : 5
    win10 22H2
    Thread Starter
       #6

    OK. Went to go make that change to the System32 folder. My admin account is listed TWICE, once with full control and once with only "special permissions". This doesn't show twice under properties or the security tab, or even when clicking on EDIT . it only shows up when I go to the Advanced tab. It appears that since the entry that didn't have access was above the second entry with the read and Read&Execute permissions, I couldn't change anything on the admin user account on the folder despite being admin. I tried the "Use effective access" which i didn't think would help and I was right.

    So I backed out to Terminal logged in as admin and issued a command to give my admin account full permissions on the folder which it did without a fuss. Then I navigated back to the folder and I show as having full permissions on the system32 folder AND the second admin account showing up has vanished.

    So I went back to Explorer and typed msconfig and BAM, there it was at the top of the search. I went over to the taskbar search and repeated... BAM....


    So now I just need to put the permissions as they belong. I'm not comfortable with full access on the system folder. But I can look the defaults up and put it all back as it should be. Thanks for the guidance!
      My Computer


  7. Posts : 43,022
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #7

    The tutorial I gave you gives a registry change. - but you don't seem to mention that.

    System32/msconfig search (explorer, non-indexed)
    Indexing issue-1.jpg

    3rd party tool:
    Indexing issue-2.jpg

    => same.

    Searching Windows, unsurprisingly, yields a lot more files with msconfig as part of their names.

    Rather worryingly, you seem to be dealing with permissions. If all was well, you should not be doing that..
    System32:
    Indexing issue-4.jpgIndexing issue-3.jpgIndexing issue-2.jpgIndexing issue-1.jpg
    Indexing issue-7.jpgIndexing issue-6.jpgIndexing issue-5.jpg
      My Computers


  8. Posts : 5
    win10 22H2
    Thread Starter
       #8

    Well, I hadn't wanted to deal with a permissions issue and I don't know what caused it, but from what I could tell, search wasn't being permitted to search the folder although it was configured to do so. As I said, I use that to access things like msconfig easily but search wouldn't find it unless I began a search in file explorer from the system32 folder. Seems OK now. Thanks for the permissions screencaps. Those are incredibly useful. I marked this to reference if needed in the future. Should be a sticky. lol
      My Computer


  9. Posts : 43,022
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #9

    Suggests something was amiss with your permissions previously..
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 18:37.
Find Us




Windows 10 Forums