In this guide, we will show you the steps to disable mediaanalysisd, photoanalysisd, and photolibraryd on your Mac. But before that, let’s try and understand what exactly are these three services all about [you can get hold of this information by using the man photoanalysisd command in the Terminal window]:
What is photoanalysisd and photolibraryd
- photoanalysisd – It is the macOS photo library analysis agent. It handles background processing of photo libraries for Memories, People, and scene or object-based search.
- photolibraryd- It is the photo library agent which handles all photo library requests.
How to Disable mediaanalysisd, photoanalysisd, and photolibraryd
First and foremost, you’ll have to disable Apple Protection measure SIP- System Integrity Protection. Here’s how it can be done:
- Restart your computer in Recovery mode.
- Here’s how to: Silicon-Based | Intel-Based
- Launch Terminal from the Utilities menu.
- Next up, run the command csrutil disable
- Finally, restart the computer and that’s it.
Once done, you may now use the below commands to disable these three services:
launchctl bootout gui/501/com.apple.mediaanalysisd launchctl disable gui/501/com.apple.mediaanalysisd launchctl bootout gui/501/com.apple.photoanalysisd launchctl disable gui/501/com.apple.photoanalysisd launchctl bootout gui/501/com.apple.photolibraryd launchctl disable gui/501/com.apple.photolibraryd
That’s it. These were the steps to disable mediaanalysis, photoanalysisd, and photolibraryd on your Mac. We will get back to you with a solution as soon as possible. Moreover, if you wish to re-enable these services, then use the below commands:
First off, re-enable SIP using the below steps:
- Restart your computer in Recovery mode.
- Here’s how to: Silicon-Based | Intel-Based
- Launch Terminal from the Utilities menu.
- Next up, run the command csrutil enable
- Finally, restart the computer and that’s it.
Then use the below commands to re-enable these services:
launchctl enable gui/501/com.apple.mediaanalysisd launchctl enable gui/501/com.apple.photoanalysisd launchctl enable gui/501/com.apple.photolibraryd
Apart from that, if you have any other queries concerning the aforementioned steps, do let us know in the comments section.