Hot answers tagged

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".
Flimm's user avatar
  • 2,016
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 ...
Frank's user avatar
  • 451
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 ...
Graham Miln's user avatar
  • 43.1k
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 ...
Monomeeth's user avatar
  • 64.3k
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 ...
MarcH's user avatar
  • 660
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's user avatar
  • 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 ...
Paploo's user avatar
  • 336
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's user avatar
  • 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 ...
Jason's user avatar
  • 1,809
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 | ...
wilo087's user avatar
  • 251
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 ...
William T Froggard's user avatar
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" ...
TJ Luoma's user avatar
  • 20.5k
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 ...
Monomeeth's user avatar
  • 64.3k
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's user avatar
  • 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....
Monomeeth's user avatar
  • 64.3k
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) ...
Monomeeth's user avatar
  • 64.3k
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(...
William Tong's user avatar
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. ...
Allan's user avatar
  • 98.8k
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 ...
Steve Chambers's user avatar
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
Vikram Hosakote's user avatar
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 ...
Franklin Yu's user avatar
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 ...
klanomath's user avatar
  • 66.1k
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 ...
Darkwonder's user avatar
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 ...
Graham Miln's user avatar
  • 43.1k
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....
Tetsujin's user avatar
  • 114k
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 ...
Monomeeth's user avatar
  • 64.3k
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 ...
David Anderson's user avatar
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: " *....
LаngLаngС's user avatar
  • 8,229
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 ...
Doc G.'s user avatar
  • 2,408

Only top scored, non community-wiki answers of a minimum length are eligible