▶
▶ Watch more videos about related subjects: System Settings (185 videos).
Video Summary
In This Tutorial
Learn where to find and manage the apps that automatically launch when you start up your Mac or log into a user account, including system settings, preference panes, and hidden folders where launch instructions are stored.
Intro
- Your Mac automatically launches apps and services from six different locations, and understanding where these are helps you manage startup performance and identify unwanted background processes.
Login Items in System Preferences
- Open System Preferences, go to Users & Groups, select your user account, and click Login Items to see a list of apps and items that launch when you log in.
- Hover over items to see their file paths, which helps identify what an unfamiliar launch item is and where it is located.
Managing Login Items Visibility
- Each login item has a checkbox to determine if it launches hidden in the background or if it comes to the front so you can see it launching.
- Checked means the app launches quietly hidden, while unchecked means the app appears on screen when launching.
Manually Adding Login Items
- You can click the Plus button in Login Items to browse your Applications folder and add any app you want to launch automatically when you log in.
- This is the correct place to manually add items you want to auto-launch, and where apps should remove themselves when you disable their startup option.
Let Apps Manage Their Own Startup
- When an app has a preference option to Start at Login, use that instead of manually adding it to Login Items, because the app may do other setup work when you enable that option.
- Disable startup in the app's preferences rather than removing it manually from Login Items to ensure clean removal.
Automatic App Relaunch on Restart
- If standard apps like Safari, Mail, or Keynote relaunch after a restart even though they are not in Login Items, your Mac is set to automatically reopen windows from your last session.
- This is controlled by a checkbox during restart that asks Reopen windows when logging back in, and unchecking it prevents automatic app relaunching.
Adding Apps to Login Items Via the Dock
- Right-click an app in the Dock, go to Options, and check Open At Login to add it to Login Items without opening System Preferences.
- You can also uncheck this option in the Dock to remove an app from Login Items.
LaunchAgents in User Library
- Open the Library folder in your home directory, look for the LaunchAgents folder, and you will find additional items that launch when you log in.
- These are plist files that contain instructions for what should launch, and you can open them with TextEdit to see the paths and details of what they do.
LaunchAgents at System Level
- The /Library/LaunchAgents folder contains items that launch for any user account on the Mac, unlike the user-specific version which only affects your account.
- These folders contain many more items than the Login Items list, including background services from Adobe, Google Chrome, Microsoft, and other installed software.
System LaunchAgents
- The /System/Library/LaunchAgents folder contains only files that are part of macOS itself, and these are read-only and cannot be modified by third-party apps.
- These system agents are responsible for various macOS functions and monitoring, and you should not modify them.
LaunchDaemons in System Library
- The /System/Library/LaunchDaemons folder contains system-level daemons that run before you even log in, keeping macOS and hardware functions operational.
- These are part of the operating system and should not be modified.
LaunchDaemons at User Level
- The /Library/LaunchDaemons folder contains third-party daemons that run at the system level for any user account, such as backup software or administrative applications.
- These items launch automatically regardless of which user is logged in.
How to Disable Unwanted Launch Items
- The best approach is to launch the app and look in its preferences for an option to disable startup, then disable it there rather than manually editing files.
- If an app has no startup option and you do not need it, uninstall the app properly through the developer's uninstaller to remove the launch item as well.
Identifying Unknown Launch Items
- If you find a launch item you do not recognize, open its plist file with TextEdit and search for the path to identify what app it belongs to.
- Copy the filename and search online to find out what the item is, as many items you do not recognize may be background processes from apps you use regularly.
Detecting Malware
- Malware commonly installs itself in LaunchAgents or LaunchDaemons folders to run automatically when you restart.
- If you suspect you have malware, search online for the suspicious launch item name, but be aware that removing the file may not fully eliminate malware, and professional help may be needed.
Summary
Your Mac contains six different locations where apps and services are configured to launch automatically: Login Items in System Preferences, the Dock options, and four LaunchAgents and LaunchDaemons folders at both user and system levels. Most automatic launches should be managed through app preferences or System Preferences, and manually editing launch files should be avoided unless necessary. Understanding these locations helps you identify and manage background processes and can help spot unwanted software.
Video Transcript
Hi, this is Gary with MacMost.com. Today I'm going to show you where to find apps that automatically launch when you startup your Mac or log into your account.
MacMost is brought to you thanks to a great group of more than 1000 supporters. Go to MacMost.com/patreon. There you can read more about the Patreon Campaign. Join us and get exclusive content and course discounts.
So if you've ever wondered why some apps start automatically when you boot your Mac or log into a user account well there are six different places on your Mac where there are lists of apps that will automatically startup. So the first place to look is in System Preferences. If you go to Users & Groups and select your current user account, then click on the Login Items, and here you're going to see a list of Login Items. These are apps that will automatically launch once you've logged into this User Account. So, for instance here I have not a full app but part of an app that controls my screen resolution for better recording in these tutorials. You can see here it's set to Automatically Launch when I login to this user account. There's also a checkbox here as to whether or not it's hidden when the app launches. So checked means it's hidden. It launches quietly in the background. Unchecked means it actually will come to the front so I can see it. Now if I move my cursor over this and wait you could see a path will appear. This shows me where the app is. So if you don't recognize what it is by its name perhaps its location will tell you, like perhaps it's inside of a folder for an app. So the location gives you a hint as to where it is. You can also Control Click on it and choose Show in Finder and that will bring up that exact file here.
Now Users & Groups is the only place where you should manually add anything that you want to automatically launch when you login. So, for instance, if I wanted to have the Reminders app launch automatically I can click the Plus button here, go to my Applications Folder, and add Reminders to this list. This means Reminders should automatically launch right after I log into this account. Now you can see this list change in some cases. Let me launch a small third party app that allows me to insert sample text when I'm doing tutorials. So here if I go to Preferences in this app there is a preference for Start at Login. If I check that I can see it's going to add that to this list right here. So I could actually go in here and remove it. But the proper place to remove it should be within the app just in case the app is also doing something else to facilitate the launching at login. So you uncheck it there and you could see it gets removed. So when at all possible use the native functionality inside the app to add or remove items to this. Don't do it manually.
Now what if a regular apps , something like Safari, Mail, Reminders, Keynote they launch when you reboot your Mac. I hear a lot of people asking about this and they don't find that app listed at all in Login Items. What's happening there is your Mac is set to automatically relaunch the apps you were using if you do a Restart. Notice if I go to Restart here. It actually asks me, Reopen windows when logging back in. So if I have that checked it's going to reopen all of the windows for the apps I was currently using. So if I have those apps open and I do a Restart with this checked then all those apps will reopen. If you don't want that to happen make sure this is unchecked. That functionality has nothing to do with Login Items or anything else I'm going to show.
Now also note another way to add things here or remove them is in the Dock. If you go down to the Dock here and say you want to add Calendar to Login Items I don't even need to go to System Preferences. If I Control Click on Calendar and go to Options there's Open At Login. If I check that then you could see Calendar is added to this list. It takes a few seconds to appear. I can also Remove it the same way. So that all makes sense except that most of us have apps that automatically launch when you startup your Mac or when you log into an account and they are not in Login Items. Well, there are actually five locations where these items are listed.
So let's create a new Finder window. I'm going to use the Go menu here and hold down the Option key to go to the Library. Then under here I'm going to look for a folder called Launchagents. I'm going to go in there. So this gives me a different list than I'll see in Login Items. What's here is a list of instructions of what should be launched when you log into this particular User Account. Here I can see one item is from Adobe. I have Adobe Creative Cloud installed so that kind of makes sense. This is a P list file. So it's not the actual app itself. It is a text file. If I Control Click on it and choose Open With I can choose to open it with TextEdit. Here is what I see. It's this list that you can read that shows you exactly what's going to be launched. If I look for a path I could find here in two different places the path to what is being launched. You could see it here and here. It also gives instructions on exactly what is supposed to happen. So this file here isn't the actual app itself. It's basically a list of instructions. So this is the only other place in your User Account where you're going to see things. The LaunchAgent folder in your user Library is specific to this one user account. It doesn't effect other user accounts on this machine.
So let's look at another location. I'm going to use Shift Command G which is the Go, Go To Folder command. I'm going to go to slash Library slash LaunchAgents. Now this may seem like I'm going to the same exact location. But this LaunchAgent's folder is in my Home folder for this user account. Whereas this one is at the System Level. So when I go here there are a lot more things. What's the difference between this folder and the one in my Home folder? This folder is universal for the entire Mac. So things listed here won't just launch for that one user account, it will launch for any user account on that Mac. I'll see various different things listed here. So I'll find some Adobe things with Creative Cloud. I'll find some Goggle things that are related to Chrome. I'll find something related to Microsoft here. Something with my Logitech Webcams. All sorts of different things. Each one of these contains a set of instructions of what to do. So I'll open this with TextEdit. I'm just going to drag and drop it into the Dock to see it in TextEdit. You can see here this is what it's going to launch.
There's actually a third LaunchAgent place and that's if we go to the System Folder and the Library folder under that. We'll go into there. Now this is in the System Folder which is Read Only. So third party apps can't use this. This is only used by parts of the system. So everything you'll find in System Library LaunchAgents is part of macOS. So these are all things that macOS wants to run in the background once it launches. Most of these are minor little things. Some of them just launch and are done. Others are running in the background all the time monitoring and allowing you to use the various pieces of hardware and software and parts of the operating system. You don't really need to worry about anything in your System Folder because it's all locked down by macOS.
Now there are actually two other locations where you could also find things but they are not LaunchAgents. They are called Daemons. So if you go to System Library instead of LaunchAgents we look for LaunchDaemons, and it's daemons spelled dae, then these are some other things that get launched. Just like the LaunchAgents they are actually p list, instructions of what to launch. The difference between LaunchAgents and LaunchDaemons are agents act on the User Account. So either the specific user account or o user accounts, whichever one you're logged into. Daemons work at the System level. They are actually running before you even ever log into an account. In this case the things in System Library LaunchDaemons are parts of the operating system. Basically the operating system that's running while you're using your Mac. But you could also go to the regular Library Folder LaunchDaemons. This is stuff outside of the system. Here you'll find LaunchDaemons from third party apps. So these are things that will run in any user account. So here, for instance, is my online backup software. It automatically launches when I start running my Mac. More stuff from Adobe and Goggle and Microsoft.
Now it's important to realize that for all the LaunchAgents and LaunchDaemons folders you should try to not edit those manually. If something is running that you don't want to run you should launch that app and go into the preferences for that app. Look for an option to turn it off. If there's no option to turn that off it maybe that that app simply can't operate without that LaunchAgent or LaunchDaemon app running in the background at all times. You want to contact Support for that app if it's an app that you want to continue to use. Otherwise to get rid of it you would simply uninstall that app following the uninstall instructions from that app developer. That will not only uninstall the app itself but it would get rid of any LaunchAgents or LaunchDaemons. If you've already uninstalled the app in a way you're not supposed to and find that there's still a LaunchAgent or LaunchDaemon there then you may want to delete it manually although I would check with Support for that app first.
Now another reason you may find a LaunchDaemon or LaunchAgent there that you don't recognize is because perhaps you messed up, installed something you shouldn't have from a site you shouldn't have trusted and now you've got malware. Malware will commonly put things in LaunchAgents or LaunchDaemons so it's automatically running when you restart your Mac. In that case do a search for what you find there to see what other people do to get rid of that. It may not be as easy as simply removing the LaunchAgent or LaunchDaemon. It may be installed deeper than that and you may need to seek professional help to actually remove the malware from your Mac. Keep in mind just because you don't recognize something it doesn't mean it shouldn't be there. Always look inside the p list file using TextEdit to find out what it's actually running and what folder it's inside. That may give you a clue. Copy the name of the p list file into a Search online. You may get clues as to what the app is for. It may surprise you to find that something you don't recognize at all is actually a background process for an app that you use all the time. Certainly you don't want to mess with.
So I hope this gives you some insight into how some apps automatically launch when you boot your Mac or log into a user account. Thanks for watching.



You can also see which agents and daemons are running with the Terminal command: sudo launchctl list
I'm going to do this when i find a mac today
Thank you!