Mac OS X - disable program on startup that is not listed in Accounts' "Login items"
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Drifting Through My Dreams
--
Chapters
00:00 Mac Os X - Disable Program On Startup That Is Not Listed In Accounts' &Quot;Login Items&Quot;
00:30 Accepted Answer Score 88
01:11 Answer 2 Score 13
01:59 Answer 3 Score 0
02:17 Thank you
--
Full question
https://superuser.com/questions/969387/m...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#macos #mac #boot #systempreferences
#avk47
ACCEPTED ANSWER
Score 88
If it is not in the regular user Login list, then it is most likely in LaunchDaemons.
There are several locations for these, one is for Apple daemons only:
/System/Library/LaunchDaemons
The others are to include 3rd party processes,
/Library/LaunchDaemons and ~/Library/LaunchDaemons.
You may also need to remove from
/Library/LaunchAgents or ~/Library/LaunchAgents
Simply remove or zip the process you don't wish to auto-launch & it should be gone at next boot.
ANSWER 2
Score 13
It's also possible to use the official interface to disable a LaunchDaemon:
launchctl disable <service-name>
e.g.,
launchctl disable gui/501/com.microsoft.OneDriveLauncher
will disable Microsoft's OneDrive for the user with UID 501 (the default UID for the user created at install time; run "id" to see what your UID is).
The advantage of this method is that it disables the application for you, but not for other users of the same system, if any.
If you don't know what the service name for your application is, then run launchctl list. This shows a list of all the labels, but not the service labels; e.g., in the above example, it would show com.microsoft.OneDriveLauncher, but not the gui/501/ part. You need to add that yourself.
The man page (man launchctl) has more details.
ANSWER 3
Score 0
Visit these folders. Apple-shift-g from finder.
Find the hidden startups files here. FILES ~/Library/LaunchAgents
/Library/LaunchAgents
/Library/LaunchDaemons
/System/Library/LaunchAgents
/System/Library/LaunchDaemons