I'm trying to disable searching for folders in my Start menu search. I don't want any folders to show up. I only use Start when searching for applications or files and often find the first result is a folder and not the file I'm looking for. My file is on the list, just farther down.

  • You may try to disable search indexing service and delete all the search index and icon cache. – Biswapriyo Oct 21 '17 at 3:38
  • Please only make substantial edits to your question. “Bumping” your question will result in an answer. – Ramhound Oct 22 '17 at 22:12
  • Please read What should I do if no one answers my question? and stop making unsubstantial edits. – Kamil Maciorowski Oct 30 '17 at 12:29
  • I can't offer a bounty since I'm so new here. – user8809312 Oct 31 '17 at 22:40

I don't think there's any straightforward way to change the default behavior of the Windows search function to always exclude folders from results, but you should be able to use Advanced Query Syntax to accomplish the same goal.

The type: parameter can be used to search for files of a specific type. To find all folders that have MUSIC in the name, you'd search for

MUSIC type:folder

To exclude something from a search, you put a - in front of it. So combining these together, to search for all files with MUSIC in the name but exclude any folders, enter this:

  MUSIC -type:folder
  • Thanks for this! Where should I put this though? I understand the concept of AQS and how to use it when searching for files using Windows Explorer, but what should I do concerning Windows Start Search as a whole? – user8809312 Oct 24 '17 at 7:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.