Benches macOS

2

spotlight indexing disabled

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

My spotlight won't index anything on my hard drive. Major inconvenience. I've tried to get it to do it manually. I get this.

my-macbook-pro-5:~ allmusicpwns$ mdutil -s /Volumes/"Macintosh HD"

/:

Indexing disabled.

my-macbook-pro-5:~ allmusicpwns$ mdutil -i on /Volumes/"Macintosh HD"

/:

Error: unable to perform operation. (-1)

Indexing disabled.

How can I fix this?

2 replies

Sign in or join Beachball Help to reply.

  1. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    the second command has to be run with sudo. so try


    sudo mdutil -i on /

    you'll be prompted to enter your admin password (which can not be blank) and which you won't see as you type it.

    see if spotlight indexing starts after that. if it doesn't then run


    sudo rm -rf /.Spotlight-V100
    sudo mdutil -i on /

  2. 0

    Kyle Kirkwood

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Spotlight just hung on me - only the dictionary popped up.

    Did the sudo commands in terminal, closed terminal, and everything seemed to work fine, until I realized it is only indexing my external drive...

    How do you turn Spotlight back on...?

    Message was edited by: Kyle Kirkwood