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!


268 replies

Dec 16, 2022 8:00 AM in response to r bryan

Since the latest update I got the notification only once, the first time I booted up. Since then nada.


Give this a try: boot into Safe Mode according to How to use safe mode on your Mac and test to see if the problem persists. Reboot normally and test again.


NOTE 1: Safe Mode boot can take up to 3 - 5 minutes as it's doing the following; 

• Verifies your startup disk and attempts to repair directory issues, if needed

• Loads only required kernel extensions (prevents 3rd party kernel/extensions from loading)

• Prevents Startup Items and Login Items from opening automatically

• Disables user-installed fonts 

• Deletes font caches, kernel cache, and other system cache files


NOTE 2: if you have a wireless keyboard with rechargeable batteries connect it with its charging cable before booting into Safe Mode. This makes it act as a wired keyboard as will insure a successful boot into Safe Mode.



Dec 20, 2022 3:40 PM in response to etresoft

etresoft,


Thx for the quick reply.



etresoft wrote:

If you leave it enabled, then you shouldn't get any further notifications of that fact. It sounds like you were only getting the notifications because you had disabled it. Then, when you ran VMWare fusion, it reloaded the software, which triggered the notifications.


To be clear, I receive the notifications regardless of whether VMWare is enabled or disabled. I understand now why I receive them if I disable VMWare.


However even when enabled, I receive the notification and VMWare will show up on the list of apps as I previously showed. Once I shut down VMWare, VMWare disappears from the "Allow in the Background" list (again, I have not disabled it). Once I use VMWare again, I receive the notification and VMWare will show up on the list of apps in "Allow in the Background" list.


are you saying that you have enabled VMWare and you are still getting notifications that VMWare has been installed every time you run VMWare, and you have stopped disabling VMWare?


Yes.

Dec 20, 2022 3:58 PM in response to r bryan

We should get those notification onlly when we update or upgrade the system. Give this a try: boot into Safe Mode according to How to use safe mode on your Mac and test to see if the problem persists. Reboot normally and test again.


NOTE 1: Safe Mode boot can take up to 3 - 5 minutes as it's doing the following; 

• Verifies your startup disk and attempts to repair directory issues, if needed

• Loads only required kernel extensions (prevents 3rd party kernel/extensions from loading)

• Prevents Startup Items and Login Items from opening automatically

• Disables user-installed fonts 

• Deletes font caches, kernel cache, and other system cache files


NOTE 2: if you have a wireless keyboard with rechargeable batteries connect it with its charging cable before booting into Safe Mode. This makes it act as a wired keyboard as will insure a successful boot into Safe Mode.


Dec 25, 2022 4:37 PM in response to r bryan

I'm not sure who started this thread; actually, I thought that I had, but I am happy to give credit to r bryan. The only issue for me was the appearance of notifications that Background Items had been added by various apps. I did follow one of the recommendations and eliminated some of the apps from Launch Agents and Launch Daemons, and most of the notifications went away. I also don't seem to have created any problems by the deletions, but maybe they will show up later.

At any rate, I agree with r bryan that the problem is not significant enough to generate all this irrelevant prattle, having nothing to do with the original post. If I can figure out how to unsubscribe, I will follow r bryan's example.

Jan 28, 2023 9:28 AM in response to rdimonda

Did you click on the (i) (Info) button next to the login item in System Preferences -> General -> Login Items? That should bring up the file in the Finder, wherever it happens to be on your system.


Note: the ~ in the pathname I gave means your home directory; ~/Library is NOT the same thing as /Library.


I just restarted my Mac for the first time after deleting those files. No G2MUpdate notifications, and the two login items are gone from the list in System Preferences. Hopefully those particular notifications are gone for good. They had been a royal pain ever since I updated to Ventura a couple of months ago. I had uninstalled GoToMeeting over a year ago when my university required us to switch to Microsoft Teams instead. I don't think your G2MUpdate notifications will stop until you find those files and delete them (assuming you have uninstalled the app - LogMeIn's instructions say you only have to drag the app file to the Trash, but obviously that is not enough).


To those folks who suggested deleting EVERYTHING in ~/Library/Launch{Agents,Daemons}... PLEASE don't do that. As others have posted, this is guaranteed to break the apps that depend on those files. Deleting certain files in those folders is a last-ditch measure to get rid of notifications from UNINSTALLED apps.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

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.