I would like to stop spotlight from indexing certain locations across all my Macs. I need it to stop indexing the mounted network shares. Is there a way to do that? I could not find a setting regarding that in Jamf Pro.
Page 1 / 1
use the mdutil -d /path command to disable the index
-d Disable Spotlight activity for volume
use the mdutil -d /path command to disable the index
-d Disable Spotlight activity for volume
I tried this and when I do it locally on the machine there is no problem, but when I push it as a script via jamf I get the following error:
Error: invalid operation. Error: unknown indexing state.
Do perhaps know how to solve this?
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.