Manage apps that automatically open when you log into your Mac
If it is taking a lot longer for a Mac to boot up than expected, the problem may lie in applications automatically launching when you log into macOS. AppleInsider shows you how to take back control of how your Mac starts up, stopping certain apps from immediately running and adding those that would be more useful.
A number of applications can install on macOS enabled to start up after booting, once a user logs in. For the most part, this is a handy thing to happen, as some applications can certainly benefit from constantly running, such as Dropbox and its constant file synchronization process.
Unfortunately, these applications also take up valuable processor time, reducing the available resources that the Mac needs to go through the boot process, ultimately slowing it down. If there are apps running that aren't essential to your workflow, it may be worthwhile stopping them from loading at boot, and instead manually starting them when they are required.
Removing the apps
First, access the macOS System Preferences window, and select Users and Groups. Select the current user, which should be top of the list on the left-hand column, then select Login Items on the right.
Before you make changes to the Login Items list, you will most likely have to unlock the account beforehand. If the padlock in the lower left of the window is locked, click it and enter the account's password.
The new panel that appears lists all of the applications that will open automatically when the selected user account logs in. To remove an item from the list, select the application (in this example, Google Drive) followed by the minus button lower down the window.
If you had to unlock the account before updating the list, remember to click the padlock again to secure it, preventing any further changes.
Reversing the process
This same window can also be used for the opposite purpose, making applications load when the user logs in. This is not only limited to applications, as documents, images, and other files can be set to load at boot.
Access the window the same way as the removal process, up until the point of selecting an app for removal. Instead of selecting an app, click the plus symbol next to the minus.
This opens up a new window that prompts you to find the application or item you wish to include. Select the item you want to load at boot, and click Add.
Afterwards, remember to click the padlock to prevent further changes to the Login Items list.
Delaying instead of removal
In some cases, it may be better served delaying the launch of an application instead of removing it from the list entirely. For example, if you run a Mac with external drives, it is possible that they won't be mounted properly before iTunes starts searching for data, causing it to complain about missing libraries.
Last year, AppleInsider published a tip that used AppleScript to automatically launch iTunes shortly after the entire boot cycle completes. This same AppleScript applet can be used to open other applications.
While this article will not cover the entire process again, the key part to change is in the "Write the script" section, changing out "iTunes" in the code to an application you wish to run.