Under System Preferences → Users & Groups → Current User → Login items, a list of applications is maintained that will open automatically upon login:

enter image description here

I would like to share these settings across two different Macs. Where are these stored exactly in macOS filesystem?

1 Answer 1


Part of the list is stored in ~/Library/Preferences/loginwindow.plist under the LoginHook key.

Also you'll find a set of LaunchAgents stored in this folder:


Each of the files in there detail a program that is started when your user account logs in.

There's also a similar list in /Library/LaunchAgents and /System/Library/LaunchAgents that are run when any user logs in, so they're not specific to your user.

In earlier versions of macOS it was also usual to place startup items in /Library/StartupItems and /System/Library/StartupItems. But they're usually not in use anymore.

  • As you can see in the screenshot I've posted, there's "IntelliJ IDEA" application, which I've added manually, for the current user only. I can't see that in any of the places you're describing.
    – syntagma
    Apr 5, 2019 at 18:42

You must log in to answer this question.

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