I’m using the windows search 4.0 service (wssql) to find some files, it works fine on my computer but on our server which has two drives C: and D: always returns 0 rows when searching D:
Also i’m not sure if it’s related but cd d: goes back to c: in the command prompt.
Edit: Ok it appears that it only returns zero rows when I specify where scope = ‘D:’ same thing happens in c drive. Also the drive is not a network drive.
Turns out that the protocol can be specified and the results differ between systems when it’s not specified. Adding file: to the path produced the correct output.