How do I disable "modern login items" (shared helper applications) which don't show up in system login items? Spotify auto-launches even if I tell it not to from within its own preferences.
It does not seem to be started through any of the &quot;classic&quot; means of auto starting a program - i.e. Login Items or user or global launch agents.
Is there any way to turn off this sort of 'modern login items' in general? (official name: shared helper applications)
Extra points for preventing auto-launching of any apps, especially after MacOS crashed.
There are several ways that programs can automatically start in macOS:
First check &quot;Login Items&quot; which are found in System Preferences after clicking the &quot;Users &amp; Groups&quot; icons. I understand that you have already checked here and did not find Spotify.
Another possibility is that Spotify have been set to open at login from the dock. You can right-click the Spotify icon in the dock, and then in the Options menu make sure that &quot;Open at login&quot; is not enabled.
Similarly if you have left Spotify running when you power down the Mac then by default the app and open windows will be opened again after rebooting. You can avoid this by ensuring that you close Spotify before logging out or rebooting, or change the setting in general by clicking the &quot;General&quot; icon System Preferences and making sure there's a checkmark in &quot;Close windows when quitting an app&quot;.
A third possibility is that it is possible to create configuration files for launchd that will automatically start programs at boot or login. You'll find these configurations files in:
~/Library/LaunchAgents/
/Library/LaunchAgents/
/Library/LaunchDaemons/

Note that the ~ characters means your user's home folder.
A final possiblity is that applications in macOS can come with a &quot;shared helper application&quot;. Essentially this application would provide some background service to one or more actual applications from that developer. Some use that helper application to later launch their actual application.
The helper application is located within the application's bundle in the Contents/Library/LoginItems folder. For Spotify that is usually in the following location:
/Applications/Spotify.app/Contents/Library/LoginItems/StartUpHelper.app

You can prevent that from autostarting Spotify by closing the helper app, or making sure that it cannot start (for example by removing the executable bit on the actual executable: /Applications/Spotify.app/Contents/Library/LoginItems/StartUpHelper.app/Contents/MacOS/StartUpHelper)