76
votes
Accepted
Stop Docker from automatically starting on startup
Click the Docker icon in the right hand side of the menu bar, and click "Preferences". In the dialog that appears, untick "Automatically start Docker when you log in".
45
votes
Stop Cisco AnyConnect Secure Mobility Client from starting up automatically
Removing the following worked for me.
/Library/LaunchAgents/com.cisco.anyconnect.vpnagent.plist
/Library/LaunchDaemons/com.cisco.anyconnect.gui.plist
Update:
For macOS Catalina and anyconnect 4.7.x ...
45
votes
Accepted
What are the differences between LaunchAgents and LaunchDaemons?
Yes, LaunchAgents are only invoked when the user logs into a graphical session.
LaunchDaemons are typically launched when the system boots and are run outside of a specific user session.
The lauchctl ...
45
votes
Accepted
My Mac repeatedly beeps three times on startup. What does this mean?
No, your Mac is not possessed. And Yes, it’s trying to tell you something!
A looping three beeps in between three seconds during startup is your iMac’s way of telling you that the operating system ...
36
votes
Stop Cisco AnyConnect Secure Mobility Client from starting up automatically
If it's not in "Login Items" then it has to be in launchctl. Always prefer the user interface when there is one rather than messing with files directly:
launchctl list | grep -i cisco
...
27
votes
Accepted
How do I prevent nginx from auto-loading using homebrew?
The ‘stop’ verb to ‘brew services’ will stop the service from restarting automatically on boot having ‘unregistered it from launching at login (or boot)’ per the help text shown with ‘brew services’. ...
grg♦
- 199k
22
votes
Accepted
MacOS Ventura 13.1 /bin/ln can run in background?
I think I know what is going on here. Do you have Docker installed, by any chance?
Docker is (with permission from the user) installing a file at /Library/LaunchDaemons/com.docker.socket.plist which ...
18
votes
Accepted
What affects the colour of the Startup Screen?
It's based on the board ID in boot.efi. Depending on the model of computer, a black boot screen will be shown (introduced with Yosemite) instead of the older grey screen.
All these Macs and newer ...
grg♦
- 199k
16
votes
Stop Cisco AnyConnect Secure Mobility Client from starting up automatically
So it would seem that if you only install the VPN client AnyConnect will not autostart.
I uninstalled AnyConnect (version 4.x) then reinstalled doing a custom install. I only installed VPN, I did ...
15
votes
Stop Docker from automatically starting on startup
The locations are
cd ~/Library/LaunchAgents
cd ~/Library/LaunchDaemons
cd ~/Library/LaunchAgents
cd ~/Library/LaunchDaemons
But I recommend you just remove using launchctl remove
launchctl list | ...
9
votes
Accepted
Finally reinstalled macOS Sierra, but now I get a kernel panic
A kernel panic is nothing more than a software crash. A bit like when an application quits for no apparent reason, except in this case, it brings down the entire system, since the kernel is the heart ...
8
votes
How do I use non-"legacy" launchctl commands to load and unload plists?
I asked the Twitter user @launchderp:
@launchderp Arelaunchctl load and unload still safe to use, at least until 10.12 or whatever comes next?
c.f How do I use non-"legacy" ...
8
votes
Start iMac in Target Display Mode without dedicated keyboard
There are two options that I'm aware of which may meet your needs:
Use the 1Keyboard app. This allows you to pair your computers via bluetooth and then use 1Keyboard to send the CommandF2 keyboard ...
8
votes
On lid open Macbook Pro 2016 boots automatically - after turning off I need to juggle 10 seconds with the touch id power button to boot
This is a side-effect of the implementation. Setting the AutoBoot NVRAM variable doesn't actually prevent the machine from booting.
The machine will still boot automatically when the lid is opened, ...
grg♦
- 199k
7
votes
Accepted
iMac has weird startup chime and refuses to boot
No, you cannot assume that. This repeating startup chime with the three second pause between the three tones is an indicator that you are trying to boot your iMac from a non-supported operating system....
7
votes
Accepted
My external boot volume won't startup all my Macs when it should
From what you’ve said, I agree it should work fine.
My first guess would be to check the Startup Security Utility on the iMac Pro, a feature of the iMac Pro (and other T2 Security Chip enabled Macs) ...
7
votes
"No administrator was found" in Startup Security Utility
I just came into the same situation. But I was lucky enough to workaround it last night. It took me 2 nights searching around to figure out what to do.
Here's what you need:
*. A functioning Mac(...
7
votes
Turning off Apple hardware checks on startup
You can’t bypass this.
It’s technically not an Apple limitation as all computers (PCs too) need to run a minimal set of tests to probe how much RAM is available, what boot devices are present, etc. ...
7
votes
How to stop startup chime on boot up
This is pretty easy. In fact there are articles out there that describe how to do this.
Briefly, open terminal app in /Applications/Utilities and paste in this command
sudo nvram StartupMute=%01
It ...
6
votes
How can I disable MySQL from starting at boot?
The following worked for me with mysql 8.0.12 installed using Homebrew in macOS Mojave 10.14.1:
rm -rf ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
6
votes
How do I use non-"legacy" launchctl commands to load and unload plists?
The article referred by TJ Luoma is very helpful. Steps for Launch Daemon:
Save your plist file in /Library/LaunchDaemons/ as usual. Let's say the file is com.example.mysrv.plist, and the Label in ...
6
votes
Run script as root at startup - macOS 10.12 Sierra
A ~/Library/LaunchDaemons doesn't exist. A launch daemon in /Library/LaunchDaemons is already executed with root privileges so you may omit the UserName part.
So put your shell script my_script.sh in ...
6
votes
"No administrator was found" in Startup Security Utility
I had to boot into recovery mode and reinstall High Sierra (the initial shipped version of macOS). Installing HS gave an administrator account. With the administrator account I was able to allow ...
6
votes
Accepted
Execute a script with GUI Access before login
PreLoginAgents
macOS supports the ability to run graphical applications pre-login:
Running Agents Before Login
Most software that displays a user interface does not run prior to the user ...
6
votes
Accepted
How to permanently disable the Mac startup sound?
This is dependent on Mac model & specific OS [& tbh I don't know exactly which models this is applicable to]
From Big Sur onwards, it's a pref…
System Preferences > Sound > Sound Effects....
5
votes
Accepted
Mac starts up automatically
You may have your Mac setup to start automatically. To check follow these steps:
From the Apple menu, choose System Preferences
Select Energy Saver
Click on the Schedule button
Check the options to ...
5
votes
Accepted
Triple boot macOS High Sierra, Ubuntu, and Windows without rEFInd
Alternative Second Answer
This second answer differs from my first answer in the following ways.
The second EFI partition is replaced by a HFS+ partition.
The label displayed in the Startup Manager ...
5
votes
Make sysctl changes at startup
It's probably best to ditch the script approach and use the settings file designed for this purpose: sysctl.conf
This applies up to macOS 10.12 Sierra.
as @klanomath pointed out in comments: " *....
5
votes
Accepted
Remove Startup Arduino CreateAgent on High Sierra
There are instructions on the GitHub page https://github.com/arduino/arduino-create-agent for both completely uninstalling the Arduino Create Multi Platform Agent and for disabling its automatic ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
startup × 572macos × 253
boot × 153
macbook-pro × 127
hard-drive × 52
imac × 40
bootcamp × 38
mac × 34
recovery × 28
disk-utility × 25
ssd × 23
launchd × 23
terminal × 20
login × 19
windows × 17
usb × 16
crash × 16
audio × 14
mojave × 13
keyboard × 12
high-sierra × 12
snow-leopard × 12
performance × 12
login-items × 12
install × 11