I am aware of this question: How can I prevent iPhoto from opening everytime I plug my iPad/iPhone?

And several others, but none of them present a "universal" solution, I don't want a fix for one situation, I want OSX to stop interrupting me, permanently.

The nature of my work mean I am constantly plugging lots of devices on my Mac.

Also, my Mac came with buggy USB ports, and I can't fix it or send it to repairs or exchange.

This mean it is constantly opening software or trying to do stuff automatically and causing problems, some examples:

  • When working programming iOS devices, it keeps opening iTunes, Photos, Camera Capture, and some other random apps when the USB ports problem make it mis-recognize the device, also the USB ports keep reloading the devices randomly sometimes, making the apps open again, sometimes with misread IDs, making OSX think is a new device and ignore past settings.

  • I almost ruined some device more than once by iTunes offering to sync or upgrade it, with windows that steal focus no less.

  • I am trying to see what is wrong with an old HDD that seemly works but stopped booting, but when I plug the HDD, OSX starts to work without any indication on the interface of what it is doing, except the HDD lights flashing, then after several minutes working slowed down, it showers me with dialog boxes (one offering to use the HDD as Timemachine, another asking if I wnana format it, another informing me it is damaged and unrepairable, and so on). Sometimes some OSX process on the background ends unmounting the HDD, and mounting it again (or automatically mounting it again if I umount it manually), then OSX do it all over again (including the dialog box plague).

  • OSX auto-mounts other people pendrives that I didn't necessarily wanted to mount, and then happily write random OSX crap (like .DS_STORE) on them, making the pendrive owners pissed off, and corrupting data (sometimes I want to plug pendrives to scan for lost data).

There are other issues too, but all of them has a single source cause: OSX automatically trying to do stuff when I plug anything on it. So how I tell it, to never do that? the only thing that should automount is the internal HDD that is needed to be mounted to boot in first place, I don't want any other device not absolutely necessary for the machien to function turning on automatically, for any reason, and don't want software reacting to me plugging and removing stuff either, even if I have to later manually mount USB drives with command line.

  • It might be a new question, but it's an old issue... & there is no better answer than already provided. My best attempt is at apple.stackexchange.com/questions/208372/… yet it is still not perfect.
    – Tetsujin
    May 14, 2016 at 20:58
  • I saw your answer months ago actually, and tried to do it, didn't worked because of the issue I mentioned on my answer (it doesn't work for new devices, perceived, or real).
    – speeder
    May 14, 2016 at 22:37
  • I feel like this is an XY Question, since your USB ports are obviously not working right, you want us to fix the issue of why it keeps asking you stuff, opening windows, etc. If you want this fixed, you'd have to get those USB ports fixed. Can I ask why you can't send it in? May 15, 2016 at 0:37
  • I am from a country where tech imports are extremely expensive and hard to get, this MacMini was smuggled in the country, legally it is not supposed to be here. Most tech stores, won't have a clue on how to fix it, and I doubt Apple will want to fix a MacMini with no proof of purchase (at least not for a reasonable price). And if I send to US apple, the customs here will take the MacMini when Apple send it (or a replacement) back, and won't release it back unless I pay taxes + fine that right now would amount to about 2000 USD.
    – speeder
    May 15, 2016 at 1:17
  • By the way, some issues, like the HDD trying to timemachine, repair, format, etc... all at once, would not be fixed by fixing the USB anyway.
    – speeder
    May 15, 2016 at 1:18


You must log in to answer this question.

Browse other questions tagged .