1

Does anyone know of a way to restrict macOS (High Sierra) to only launch apps stored on the boot drive?

I have several alternate bootable drives on my system (different OS versions, bootable backups etc), but find that in almost every case, when I right click a document, and choose "open with" the system is preferentially launching apps on non-boot volumes, in preference to the ones in /Applications. Eg, right click on an mp4 file, choose Open With the one and only entry for Quicktime Player X, and instead of the version in my dock launching, a new icon appears in the dock for Quicktime, and if I right click and "show in finder", it's on one of my other bootable drives.

I've removed all the external drives from Spotlight, using the Spotlight privacy feature in System Preferences, and tried reloading Launch services (which results in needing to reboot the entire machine to get all my 3rd party share options back), nothing seems to work.

I have to assume macOS is supposed to preferentially open apps from /Applications, and I've got something else wrong, for which this is just a symptom, so if there's some other maintenance thing (eg in OnyX etc) I'm happy to hear about it.

Thanks.

2 Answers 2

1

Just for the benefit of anyone else having this issue, and partially to answer @Tetsujin's suggestion - Tinkertool System, a nice GUI app from from Marcel Bresink has a function to both disable automount of specified partitions, and prevent app launching from specified volumes.

0

I'd suspect you can only do this if each 'other' OS was set to never mount, via fstab - see Time Machine restore to new partition, different computer - & then clear the LaunchServices database [individually for each OS] using Onyx

5
  • Thanks for that - I'd hoped there'd be a more elegant solution. Don't suppose you happen to know of a nice GUI app for setting that up? I assume to reboot to one of those other OS, I'd have to manually mount it first, then select in system prefs?
    – a person
    Mar 1, 2021 at 3:13
  • I don’t know of any GUI method, sorry. You can easily change boot drive with Opt at boot.
    – Tetsujin
    Mar 1, 2021 at 6:13
  • Unfortunately on a non-EFI GPU, you don't get the bootpicker.
    – a person
    Mar 1, 2021 at 7:10
  • Then you’d need to get a flashed card or drop the original back in… or guess how many arrow rights get you which OS. Or mount the drive manually & set startup from the CP
    – Tetsujin
    Mar 1, 2021 at 8:15
  • yeah, so no elegant solution, unfortunately. It seems bizarre to me that the system will throw up warnings about app translocation for apps launched outside of /Applications on the boot disc, but will preferentially launch apps off different discs without comment.
    – a person
    Mar 1, 2021 at 8:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .