It is not possible to simply disable the indexing part. Is it all or nothing to service. The WSearch service description reads:
"Provides content indexing and caching of properties for files, email, and other content (via the extensibility API). The service responds to file and email notifications for indexed modified content. If the service is stopped or disabled, Explorer will not be able to display virtual views "item folders, and a search in Explorer will return to a slow search on the items."
However, you can manage it using the disk / folder properties ... from Explorer, you can switch it for a separate disk (see disk properties, there is the option "enable indexing service ..." ") or for a folder (folder properties β advanced β "For a quick search, enable the indexing service ...").
EDIT ... a bit of a search query, and the following properties are available - if you look at the MSDN page for System.IO.FileAttributes , there is a NotContentIndexed property with a description. The file will not be indexed by the operating system content indexing service. I would suggest that you should install this in separate folders. I donβt know if this works if it is installed at the disk level (without recursively running through the disk), but I hope it gives you a start on everything that you end up trying to achieve.
source share