Permanently Disable ptpcamerad

I know ptpcamera is an agent of sorts for image capture, that automatically runs when it detects a device that is capable of transferring pictures.


Is there a way to disable this feature permanently?


Any help would be appreciated because this is very frustrating OS behavior.


Thanks in advance!


PS: I took the text from the same questions posted earlier in 2017 but I could not reply to the same question and therefore reposted the question.

MacBook Pro (2021)

Posted on Mar 11, 2023 12:07 AM

Reply
Question marked as Top-ranking reply

Posted on Mar 13, 2023 12:05 AM

I encountered the same problem on Ventura, Initially i tried disabling the launch agent for ptpcamerad:

Ended up disabling it with SIP disabled (https://developer.apple.com/documentation/security/disabling_and_enabling_system_integrity_protection):

sudo launchctl unload /System/Library/LaunchAgents/com.apple.ptpcamerad.plist
sudo launchctl disable gui/501/com.apple.ptpcamerad


You can then check with launchctl dumpstate that the service is disabled:

disabled services = {
       "com.github.macadmins.Nudge" => enabled
       "com.druva.inSyncUpgrade" => enabled
       "com.apple.ManagedClientAgent.enrollagent" => disabled
       "com.apple.Siri.agent" => enabled
       "com.microsoft.update.agent" => enabled
       "com.apple.FolderActionsDispatcher" => disabled
        "com.apple.ptpcamerad" => disabled
       "com.apple.appleseed.seedusaged.postinstall" => disabled
       "com.apple.ScriptMenuApp" => disabled
   }


The only problem i encounter is that when i'm enabling SIP again, the service restarts. To keep it disabled, i have to keep SIP disabled which is not recommended.


Still searching for a proper way to disable this launch agent...




17 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Permanently Disable ptpcamerad

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.