Skip to content

The Eclectic Light Company

Macs & painting – 🦉 No AI content
Main navigation
  • Downloads
  • Freeware
  • M-series Macs
  • Mac Problems
  • Mac articles
  • Macs
  • Art
hoakley December 3, 2025 Macs, Technology

Manage Login and Background items

Many apps now use helpers and services to handle some of their work. Good reasons for this include needing to perform a task at a higher level of privilege, and for utilities installed into the menu bar. Background helpers can then be run as root, or provide a periodic service, split out from the main app. You manage them in System Settings, in the Login Items & Extensions part of General settings. This article looks at those set there to Open at Login, and others listed in App Background Activity. I’ll keep Extensions for another occasion.

Login Items

These are normally apps intended to be opened automatically when you log into your Mac, and most can be opened manually if you prefer. To add an app or remove it, use the + and – buttons.

To log in without any of those Login Items being started automatically, press and hold the Shift key when you click on the Log In button (at the right end of your password), and keep it held until the Dock appears. You may be asked to enter your password a second time, in which case once you have done that, press and hold the shift key again while clicking on the Log In button. Existing login items won’t then be opened until you log in again.

Background Items

Background items aren’t normally apps as such, but usually small binaries run by launchd as LaunchAgents or LaunchDaemons, in accordance with their property lists. Your control over them is limited: all you can do is turn them off and on.

If you try disabling some of them, you may see that they’re automatically re-enabled. Many appear unidentifiable, and a few have ⓘ Info buttons, to reveal where their property list is on your Mac, but many don’t. One useful piece of information given for some is whether that item affects all users, in other words is installed in a folder outside your Home folder, including the main Library and Applications folders.

Apple maintains a preference file containing details of many helpers and other executables used by major third-party apps. This may help you identify those that appear in LogIn and Background Items. This can be found at /System/Library/PrivateFrameworks/BackgroundTaskManagement.framework/Versions/A/Resources/attributions.plist

Safe mode

Diagnosing problems with helpers and services is extremely difficult, and made harder by the fact that most are now XPC services and only revealed by their entry in Activity Monitor’s lists. When they’re in trouble, they can cause almost anything, including:

  • unexpected or abnormal behaviour,
  • their entry in Activity Monitor can take high CPU and/or memory,
  • spinning beachballs and sluggish performance,
  • general instability.

The most important test to establish whether any such behaviour is likely to be the result of a third-party helper or service is to start up in Safe mode and demonstrate that the problem disappears then. This is because Safe mode blocks these helper apps and services from being launched. Unfortunately, Safe mode doesn’t help you establish the cause, nor what you should do about it.

Which Library?

In the past, most helper apps and services have been run by launchd on the basis of property lists in LaunchDaemons and LaunchAgents folders in the main Library folder, or in ~/Library/LaunchAgents. One good way to distinguish these is to create a new user account and see if the problem affects that too: if it doesn’t, then it’s more likely that helper or service is being launched from the Library folder in your Home folder rather than the main Library, in other words that the problem lies somewhere in your Home folder.

BTM dump

A better and more systematic approach is to obtain a detailed listing of all those Background Items, and uninstall or delete those you no longer need, or are just old and unnecessary. For this, you need a BTM dump, using an undocumented option to the sfltool command:
sudo sfltool dumpbtm > ~/Documents/btmdump.text
to write it to the text file btmdump.text in your Documents folder. This file is also invaluable if you’re going to nuke Login Items in a reset, as it provides a record of what you might need to restore afterwards. This uses a command tool originally intended to manage the Shared File List, which has gained additional features covering Service Management, although its man page hasn’t caught up yet and the most help you’ll get is from its usage info.

This lists full Service Management information for every item currently being managed, by user ID. Normally, the two important user IDs would be 0 for root and 501 for the primary admin user, but here the first list, with a UID of -2, appears to be a composite covering most Background Items. You should also check those for the current user, such as 501. A typical entry might be:
UUID: 9A087CA1-250D-4FA6-B00A-67086509C958
Name: Alfred 5.app
Developer Name: (null)
Team Identifier: XZZXE9SED4
Type: app (0x2)
Flags: [ ] (0)
Disposition: [enabled, allowed, not notified] (0x3)
Identifier: 2.com.runningwithcrayons.Alfred
URL: file:///Applications/Alfred%205.app/
Generation: 0
Bundle Identifier: com.runningwithcrayons.Alfred

This gives the location of the executable that is loaded. The Developer Name given is taken from the code signing certificate. The Disposition field is probably most relevant to identifying those causing problems, as it should reflect the status of that entry in the Login Items list, and whether the user has been notified. There’s currently no way to change or correct those, at least using the tools available.

BTM reset

The nuclear solution is to blow the whole lot away, and start from scratch, but if you don’t then delete old apps and their components, including property lists and support files tucked away in Application Support, LaunchAgents and LaunchDaemons folders, then many will return to haunt you. To remove all third-party Login Items and reset those and Background Items to installation defaults, you can use the undocumented command
sudo sfltool resetbtm
following which you should restart the Mac.

Summary

  • Login Items are apps opened automatically when you log in, and are managed in Open at Login in Login Items & Extensions settings.
  • Background Items are small binaries run by launchd as LaunchAgents or LaunchDaemons, controlled in App Background Activity.
  • Hold the Shift key when clicking the Log In button to temporarily disable all Login Items.
  • Safe mode disables both Login and Background Items.
  • Use sudo sfltool dumpbtm to obtain a BTM dump detailing them all.
  • To blow them all away, perform a BTM reset using sudo sfltool resetbtm then restarting.

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to email a link to a friend (Opens in new window) Email
  • Click to print (Opens in new window) Print
Like Loading...

Related

Posted in Macs, Technology and tagged background, helper, LaunchAgents, LaunchDaemons, Login Item, Safe mode, sfltool. Bookmark the permalink.

22Comments

Add yours
  1. 1
    jrswebhome8809fb9a35's avatar
    jrswebhome8809fb9a35 on December 3, 2025 at 7:43 am
    Reply

    Mr. Oakley, have you ever experienced a corrupt icloud contact list? My first time 2 days ago.Multiple duplicates that constantly reproduce on my 24” M4 iMac 10 core 16gbRAM Tahoe 12.1. Manually deleting them and grow back, like a disease. Restoring from backup snd the disease grows back. Just wondered how you solved duplicates?

    LikeLiked by 2 people

    • 2
      hoakley's avatar
      hoakley on December 3, 2025 at 8:57 am
      Reply

      No, I haven’t. How many other Macs and devices connect to that iCloud account? I’d be inclined to disable Contacts sharing on them all, restore from backup to just one Mac, then share that in iCloud, to see what happens then. If that works correctly, then you can bring the other Macs/devices onto Contacts sharing one at a time. If that doesn’t work, then you need to contact Apple Support, as only they have access to iCloud engineering support.
      Howard.

      LikeLiked by 2 people

    • 3
      joethewalrus's avatar
      joethewalrus on December 3, 2025 at 10:00 am
      Reply

      I’ve had this problem for years and have learned to live with it. Periodically I’ll clean it up, but they grow back, inexplicably. I’ll give Howard’s suggestion a try when I can, but I’ve more or less lost hope that I’ll ever solve this.

      LikeLiked by 2 people

    • 4
      macmichael's avatar
      macmichael on December 3, 2025 at 1:09 pm
      Reply

      I’ve experienced this problem several times on different Macs… but only immediately after a major macOS update e. g. from Mojave to Big Sur.

      My solution:
      “The Truth is in the Cloud”… you need to fix the problem in iCloud and then your contacts (without duplicates!) will repopulate correctly to your devices.

      Just login to iCloud.com on the Web in Safari and check your contacts… you should see the duplicates. Now still in iCloud.com in Safari restore a backup of your contacts Apple archived for you in the background. You will find that under “Data Recovery > Restore Contacts” in iCloud.com.

      You have to select a backup from the list created before the duplicates appeared for the first time, usually one of the last backups made. Nevertheless, new contacts or changes after the date of the restored backup will get lost.

      After the successful restore just be patient and wait… the restore itself in iCloud.com is quick, but the repopulation of your contacts (now without duplicates!) to your devices takes some time. Get a coffee, take a short walk, whatever… but don’t mess around with the contacts app on any of your devices until you notice the duplicates disappearing on this specific device. Just watch, don’t touch… ;-)

      This worked for me like a charm at least three times…
      I hope this helps.

      LikeLiked by 1 person

  2. 5
    jrswebhome8809fb9a35's avatar
    jrswebhome8809fb9a35 on December 3, 2025 at 10:06 am
    Reply

    Thank you for responding, sir. Every time I sign into iCloud it starts. Apple is working w me.

    LikeLiked by 1 person

  3. 6
    jrswebhome8809fb9a35's avatar
    jrswebhome8809fb9a35 on December 3, 2025 at 10:19 am
    Reply

    Ohhh, no. 👌🏻

    LikeLiked by 1 person

  4. 7
    Oliver Busch's avatar
    Oliver Busch on December 3, 2025 at 11:45 am
    Reply

    100% d’accord.

    For me, slftool has been an invaluable helper for years – including for associating an application to the developer when only the developer name instead of the application name is listed in System Settings.

    LikeLiked by 1 person

  5. 8
    Duncan's avatar
    Duncan on December 3, 2025 at 2:02 pm
    Reply

    On every Mac I’ve set up I always have Activity Monitor open at login (primarily so its Dock icon will display CPU usage). I’d have its main window automatically ‘hidden’ so that it’s out of the way unless I need it for some reason.

    Somewhere along the line of MacOS upgrades, the app would no longer hide itself upon login, despite checking that box in the preferences. It’s no big deal but I considered it a bug.

    Now, in Sequoia, I’m seeing that there is no longer a setting to hide any given app upon login. I wonder why that functionality is no longer consistent or even available with later versions.

    LikeLiked by 1 person

    • 9
      hoakley's avatar
      hoakley on December 3, 2025 at 6:15 pm
      Reply

      It wouldn’t surprise me that had been removed, as it gives malware such a wonderful opportunity.
      Howard.

      LikeLike

  6. 10
    AndyS's avatar
    AndyS on December 3, 2025 at 4:19 pm
    Reply

    Thank you A very helpful article, Howard. I had no knowledge of the option to Shift+Login to prevent Login Items from loading.

    The sfltool command is invaluable. I noticed one entry from an unidentified developer (apart from Apple’s infuriating habit of not identifying its own installs!).

    The readout:

    ServiceManagement migrated: false
    LaunchServices registered: false

    Items:

    #1:
    UUID: (Alphanumeric string: 8-4-4-4-12 digits)
    Name: (null)
    Developer Name: (null)
    Type: developer (0x20)
    Flags:
    Disposition: disabled, allowed, visible, notified
    Identifier: Unknown Developer
    URL: (null)
    Generation: 35

    Is here any way to identify the source via its UUID?

    Working in the recording sector, I’ve long developed a (necessary) habit upon installing updates of immediately deleting the contents of:

    ~/Library/LaunchAgents

    /Library/LaunchAgents

    /PrivilegedHelperTools

    /LaunchDaemons

    This may be peculiar to audio plug-ins, but some of them spring open at inopportune moments within the DAW (Digital Audio Workstation), disrupting work flows.

    LikeLiked by 1 person

    • 11
      hoakley's avatar
      hoakley on December 3, 2025 at 6:19 pm
      Reply

      Thank you, Andy.
      I think those entries are phantoms from the past. This system is supposed to perform its maintenance overnight, and in some cases doesn’t appear to be cleaning up as well as it might.
      I’m afraid that I don’t know where else that UUID might be registered, but I suspect it’s unique to the BTM database.
      Most if not all of the services using property lists in those folders should only run in the background, so on the E cores in Apple silicon. So you should now be safe without your scorched earth policy, perhaps, although I understand your concerns.
      Howard.

      LikeLiked by 1 person

  7. 12
    AndyS's avatar
    AndyS on December 3, 2025 at 10:14 pm
    Reply

    Thanks for explaining, Howard. Since I don’t appear to be experiencing any side effects at present, I’ll hold off resetting BTM. Perhaps when I have some downtime I’ll consider Defcon 1… Good to know it’s an option though.

    LikeLiked by 1 person

  8. 13
    Yyzguy's avatar
    Yyzguy on December 4, 2025 at 1:29 am
    Reply

    Thank you for a great article. I’m in the process of trying to figure out why my Mac is having Insomnia problems, highlighted by one of your previous articles that referenced Sleep Aid by Ohanaware https://ohanaware.com/sleepaid/

    Along the way, I discovered Lingon by Peter Borg https://www.peterborgapps.com/lingon/ which provides a nice GUI for managing logon items and processes started in the background.

    I’ve been updating/migrating MacOS since 2008 and have all kinds of leftover stuff and I’m still working through the many oddities that are keeping my Mac from properly sleeping. The Sleep Aid app is good at showing the sleep interruptions but the information of what’s causing the interruptions is difficult (for me) to correlate to the startup/login processes. I will be using your tips along with Lingon and Sleep Aid to hopefully get things cleaned up.

    Other than my first Mac (one of the first Intel Macs), I’ve never done a “fresh install”. In fact, I’m not sure the best way to bring over my own home folder from a backup. I’ve read that copying everything except ~/Library might be one way, but I’m not sure that’s good advice.

    Do you have any recommendations on starting over? I don’t mind re-installating applications as I don’t use very many. Most of the crud on my system is from me trying various apps over the years and not always getting them properly removed.

    LikeLiked by 1 person

    • 14
      hoakley's avatar
      hoakley on December 4, 2025 at 6:23 am
      Reply

      Which model of Mac are you using?
      Howard.

      LikeLike

      • 15
        Yyzguy's avatar
        Yyzguy on December 4, 2025 at 6:47 am
        Reply

        M3 MacBook Air

        LikeLiked by 1 person

        • 16
          hoakley's avatar
          hoakley on December 4, 2025 at 9:39 am

          Thank you.
          I’ve looked at the options in this article. When you start your new, refreshed macOS you should then opt to Migrate from your latest backup, which allows you to choose what to restore. If you prefer, you can also defer migration until after you’ve configured your new user, by running Migration Assistant from /Applications/Utilities.
          Howard.

          LikeLike

  9. 17
    Yyzguy's avatar
    Yyzguy on December 4, 2025 at 1:34 am
    Reply

    Clearly I meant “I’ve read that copying everything except ~/Library might be one way, but I’m NOT sure that’s good advice.”

    LikeLiked by 1 person

    • 18
      hoakley's avatar
      hoakley on December 4, 2025 at 6:25 am
      Reply

      I’ve corrected that for you.
      Howard.

      LikeLike

  10. 19
    Yyzguy's avatar
    Yyzguy on December 4, 2025 at 6:47 pm
    Reply

    I’m unable to reply to your previous comment. Does MA have the ability to migrate data only, without also migrating user settings? I’m not in a position to look for several more days and this is something I’ve thought about ever since seeing what Sleep Aid was showing. It’s really not completely clear to me if the user settings are scattered throughout the home directory such as in ~/Library and other places. I would happily spend a day or more reconfiguring the few things I use regularly minus all the junk I’ve previously installed, abandoned and forgotten over the past many years.

    LikeLiked by 1 person

    • 20
      hoakley's avatar
      hoakley on December 4, 2025 at 8:31 pm
      Reply

      Yes. You get reasonably fine control over what you do migrate. And most importantly it tries to minimise any problems, so should avoid transferring those settings etc. that are likely to cause incompatibilities in the new macOS install.
      In the past, its decisions haven’t always worked well, but most recently it has improved, particularly when the gap between macOS versions is small (or none). It can still struggle more when going from Ventura to Tahoe, though!
      Howard.

      LikeLike

      • 21
        Yyzguy's avatar
        Yyzguy on December 4, 2025 at 10:51 pm
        Reply

        Thank you so much. This article along with your replies gives me hope that a fresh install and migrating data is possible. I’m curious to know what you do with your primary daily work systems when it comes to upgrading and migrating data. (Not experimental VMs). I used to experiment too much on my primary systems and that’s why I’m in my current predicament. It just occurred to me that I’ve been updating hardware and migrating for nearly 20 years without too much trouble. It’s definitely time to attempt a clean start.

        Are you familiar with the Lingon app I referenced above? I’m surprised more people don’t know about it.

        LikeLiked by 1 person

        • 22
          hoakley's avatar
          hoakley on December 5, 2025 at 11:33 am

          Thank you.
          I only migrate when setting up a new Mac. I don’t normally perform clean installs on other Macs, so don’t have to migrate. This iMac Pro, for instance, has been continuously upgraded/updated since it first updated to macOS 13.2.1, without a single clean install.
          Yes, I’m well aware of and have used Lingon, which is featured in several of my articles here. However, since controls over most non-system LaunchAgents and LaunchDaemons have been provided in System Settings, I’ve had no need to use it. If you want to create your own, it’s still invaluable.
          Howard.

          LikeLiked by 1 person

Leave a reply to AndyS Cancel reply

Quick Links

  • Free Software Menu
  • System Updates
  • M-series Macs
  • Mac Troubleshooting Summary
  • Mac problem-solving
  • Painting topics
  • Painting
  • Long Reads

Search

Monthly archives

  • December 2025 (34)
  • November 2025 (74)
  • October 2025 (75)
  • September 2025 (78)
  • August 2025 (76)
  • July 2025 (77)
  • June 2025 (74)
  • May 2025 (76)
  • April 2025 (73)
  • March 2025 (78)
  • February 2025 (67)
  • January 2025 (75)
  • December 2024 (74)
  • November 2024 (73)
  • October 2024 (78)
  • September 2024 (77)
  • August 2024 (75)
  • July 2024 (77)
  • June 2024 (71)
  • May 2024 (79)
  • April 2024 (75)
  • March 2024 (81)
  • February 2024 (72)
  • January 2024 (78)
  • December 2023 (79)
  • November 2023 (74)
  • October 2023 (77)
  • September 2023 (77)
  • August 2023 (72)
  • July 2023 (79)
  • June 2023 (73)
  • May 2023 (79)
  • April 2023 (73)
  • March 2023 (76)
  • February 2023 (68)
  • January 2023 (74)
  • December 2022 (74)
  • November 2022 (72)
  • October 2022 (76)
  • September 2022 (72)
  • August 2022 (75)
  • July 2022 (76)
  • June 2022 (73)
  • May 2022 (76)
  • April 2022 (71)
  • March 2022 (77)
  • February 2022 (68)
  • January 2022 (77)
  • December 2021 (75)
  • November 2021 (72)
  • October 2021 (75)
  • September 2021 (76)
  • August 2021 (75)
  • July 2021 (75)
  • June 2021 (71)
  • May 2021 (80)
  • April 2021 (79)
  • March 2021 (77)
  • February 2021 (75)
  • January 2021 (75)
  • December 2020 (77)
  • November 2020 (84)
  • October 2020 (81)
  • September 2020 (79)
  • August 2020 (103)
  • July 2020 (81)
  • June 2020 (78)
  • May 2020 (78)
  • April 2020 (81)
  • March 2020 (86)
  • February 2020 (77)
  • January 2020 (86)
  • December 2019 (82)
  • November 2019 (74)
  • October 2019 (89)
  • September 2019 (80)
  • August 2019 (91)
  • July 2019 (95)
  • June 2019 (88)
  • May 2019 (91)
  • April 2019 (79)
  • March 2019 (78)
  • February 2019 (71)
  • January 2019 (69)
  • December 2018 (79)
  • November 2018 (71)
  • October 2018 (78)
  • September 2018 (76)
  • August 2018 (78)
  • July 2018 (76)
  • June 2018 (77)
  • May 2018 (71)
  • April 2018 (67)
  • March 2018 (73)
  • February 2018 (67)
  • January 2018 (83)
  • December 2017 (94)
  • November 2017 (73)
  • October 2017 (86)
  • September 2017 (92)
  • August 2017 (69)
  • July 2017 (81)
  • June 2017 (76)
  • May 2017 (90)
  • April 2017 (76)
  • March 2017 (79)
  • February 2017 (65)
  • January 2017 (76)
  • December 2016 (75)
  • November 2016 (68)
  • October 2016 (76)
  • September 2016 (78)
  • August 2016 (70)
  • July 2016 (74)
  • June 2016 (66)
  • May 2016 (71)
  • April 2016 (67)
  • March 2016 (71)
  • February 2016 (68)
  • January 2016 (90)
  • December 2015 (96)
  • November 2015 (103)
  • October 2015 (119)
  • September 2015 (115)
  • August 2015 (117)
  • July 2015 (117)
  • June 2015 (105)
  • May 2015 (111)
  • April 2015 (119)
  • March 2015 (69)
  • February 2015 (54)
  • January 2015 (39)

Tags

APFS Apple Apple silicon backup Big Sur Blake Bonnard bug Catalina Consolation Console Corinth Delacroix Disk Utility Doré El Capitan extended attributes Finder firmware Gatekeeper Gérôme High Sierra history of painting iCloud Impressionism landscape LockRattler log M1 Mac Mac history macOS macOS 10.12 macOS 10.13 macOS 10.14 macOS 10.15 macOS 11 macOS 12 macOS 13 macOS 14 macOS 15 malware Metamorphoses Mojave Monet Monterey Moreau myth narrative OS X Ovid painting performance Pissarro Poussin privacy Renoir riddle Rubens Sargent security Sierra SilentKnight Sonoma SSD Swift Time Machine Tintoretto Turner update upgrade Ventura xattr Xcode XProtect

Statistics

  • 20,797,016 hits
Blog at WordPress.com.
Footer navigation
  • Free Software Menu
  • About & Contact
  • Macs
  • Painting
  • Downloads
  • Mac problem-solving
  • Extended attributes (xattrs)
  • Painting topics
  • SilentKnight, Skint, SystHist, silnite, LockRattler & Scrub
  • DelightEd & Podofyllin
  • xattred, SpotTest, Spotcord, Metamer & xattr tools
  • 32-bitCheck & ArchiChect
  • XProCheck, T2M2, LogUI, Ulbow, blowhole and log utilities
  • Cirrus & Bailiff
  • Precize, Alifix, UTIutility, Sparsity, alisma, Taccy, Signet
  • Versatility & Revisionist
  • Text Utilities: Textovert, Nalaprop, Dystextia and others
  • PDF
  • Keychains & Permissions
  • Updates
  • Spundle, Cormorant, Stibium, DropSum, Dintch, Fintch and cintch
  • Long Reads
  • Mac Troubleshooting Summary
  • M-series Macs
  • Mints: a multifunction utility
  • VisualLookUpTest
  • Virtualisation on Apple silicon
  • System Updates
  • Saturday Mac Riddles
  • Last Week on My Mac
  • sysctl information
Secondary navigation
  • Search

Post navigation

Medium and Message: On a cigar-box
The Dutch Golden Age: Jan Miense Molenaer

Begin typing your search above and press return to search. Press Esc to cancel.

  • Comment
  • Reblog
  • Subscribe Subscribed
    • The Eclectic Light Company
    • Join 8,857 other subscribers
    • Already have a WordPress.com account? Log in now.
    • The Eclectic Light Company
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • View post in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...
 

    %d