Mac OS X: Enable and Disable Spotlight

To Disable Spotlight for Mac OS X you can stop the Spotlight processes from being invoked by launchd.  To do so use the following commands:

launchctl unload -w /System/Library/LaunchAgents/

launchctl unload -w /System/Library/LaunchDaemons/

To re-enable it you would simply load up your launchd processes again like so:

launchctl load -w /System/Library/LaunchAgents/

launchctl load -w /System/Library/LaunchDaemons/

  • Cedric Tineo

    nice to know – but your command shows up as :

    launchctl unload -w … the  got to be a mistake or an encoding odity… is it supposed to be just -w ?

    • Charles

      Yes, there was an extraneous  in there but it’s fixed now.