You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Perpetual "Background Items Added"

Since upgrading to macOS 13.x, I've received a sequence of Background Items Added notifications with every restart. Permission for all these is enabled under General > Login items: Allow in the Background:



Nonetheless, every time I restart, I get another round of notifications. Obviously this is nothing like fatal, but nonetheless, I'd like to suppress the superfluous warnings about things that aren't problems.

Mac mini, macOS 13.1

Posted on Nov 2, 2022 3:30 PM

Reply
Question marked as Top-ranking reply

Posted on Feb 19, 2023 9:03 AM

I think I solved this – for myself, at very least.


Full disclosure: I am not an Apple developer. However, I am a software engineer with > 20 years experience working on UNIX and UNIX-Like systems (mainly Linux variants), similar to MacOS.


OK! All that being said, here's what I did:


  1. Reboot in Safe Mode
  2. Remove unwanted items from /Library/LaunchDaemons/
  3. Remove unwanted items from /Library/LaunchAgents/
  4. Remove unwanted items from /Users/username/Library/LaunchAgents/ (aka "~/Library/LaunchAgents")
  5. Reset background task management database
  6. Reboot and login normally


Before I did this, I was getting dozens and dozens of "Background Items Added" warnings. (Ventura 13.1 on a 2020 Intel MacBook Pro.) My logic for this was as follows:


  • When the Mac fully boots up and the user logs in normally, the state of running apps is held in memory, and may be written out to disk at any time.
  • Making changes in this state, therefore, may not have a permanent effect
  • When booted in "Safe Mode" no background applications are started. (Or, at least, only the very essential ones.)
  • Therefore, changes can be made which will survive a restart, from Safe Mode


Furthermore: Startup tasks may be run at system boot, at login of ANY user, and at login of a particular user account. As I understand it:


  • /Library/LaunchDaemons : Run at system boot
  • /Library/LaunchAgents : Run when any user logs in
  • ~/Library/LaunchAgents: Run when that particular user logs in



TL;DR: JUST TELL ME WHAT TO DO!


Ok, I feel you. Here is the step-by-step. Like I said, this worked for ME. YMMV. ¯\_(ツ)_/¯


Reboot in Safe Mode

Apple Menu -> Restart. Hold down the SHIFT key (Intel Macs) until you see the login screen.

Start up your Mac in safe mode - Apple Support


Remove unwanted startup items, reset BTM database, restart

  1. Open up Terminal.app (link).
  2. Make a directory into which you can move (rather than delete) the unwanted files by typing:
    1. mkdir -pv /tmp/DISABLED/LaunchDaemons
    2. mkdir -pv /tmp/DISABLED/LaunchAgents
    3. mkdir -pv /tmp/DISABLED/User-LaunchAgents
  3. Go to your user LaunchAgents directory by typing: "cd ~/Library/LaunchAgents"
    1. List all files by typing: "ls -la"
    2. Move each file you want to disable by typing: "mv -v file.to.disable /tmp/DISABLED/User-LaunchAgents/"
  4. Switch to the root (aka "admin") account by typing: "sudo su -" and then entering your admin password.
  5. Go to the system LaunchDaemons directory by typing: "cd /Library/LaunchDaemons"
    1. List all files by typing: "ls -la"
    2. Move each file you want to disable by typing: "mv -v file.to.disable /tmp/DISABLED/LaunchDaemons/"
  6. Go to the system LaunchAgents directory by typing: "cd /Library/LaunchAgents"
    1. List all files by typing: "ls -la"
    2. Move each file you want to disable by typing: "mv -v file.to.disable /tmp/DISABLED/LaunchAgents/"
  7. Reset background task management database: "sfltool resetbtm"
  8. Exit terminal and reboot normally


I know this looks like a lot. If anything goes sideways, /tmp/DISABLED contains the files you removed. Just move them back and restart.


Good luck!


Similar questions

268 replies

Perpetual "Background Items Added"

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.