Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

excelsior.ink

macrumors regular
Original poster
Apr 15, 2020
134
78
Code:
launchctl print-disabled user/$UID                                                     
disabled services = {
    "com.bombich.cccdashboard" => true
    "E78WKS7W4U.io.coressh.TunnelHelper" => true
    "com.apple.ManagedClientAgent.enrollagent" => true
    "E78WKS7W4U.io.coressh.ShellHelper" => true
    "com.apple.Siri.agent" => true
    "com.microsoft.update.agent" => false
    "com.apple.FolderActionsDispatcher" => true
    "com.adguard.mac.adguard.loginhelper" => false
    "jp.plentycom.boa.SteerMouse" => false
    "com.apple.appleseed.seedusaged.postinstall" => true
    "com.apple.ScriptMenuApp" => true
}
login item associations = {
    "version.com.adguard.mac.adguard.loginhelper" => "1051"
    "com.adguard.mac.adguard.loginhelper" => "com.adguard.mac.adguard"
}



How to cleanup uninstalled apps? I have removed adguard, coressh and coretunnel


Code:
launchctl unload "E78WKS7W4U.io.coressh.TunnelHelper"
Unload failed: 5: Input/output error
Try running `launchctl bootout` as root for richer errors.

Code:
sudo launchctl bootout "E78WKS7W4U.io.coressh.TunnelHelper"
Unrecognized target specifier.
Usage: launchctl bootout <domain-target> [service-path1, service-path2, ...] | <service-target>
<service-target> takes a form of <domain-target>/<service-id>.
Please refer to `man launchctl` for explanation of the <domain-target> specifiers.
 
The correct syntax is
launchctl bootout user/501/E78WKS7W4U.io.coressh.TunnelHelper
and
launchctl disable user/501/E78WKS7W4U.io.coressh.TunnelHelper
but if you have already removed the corresponding launch agents, don't worry about them.
 
  • Like
Reactions: excelsior.ink
There must be a command to rebuild or remove, but launchctl remove seems to have no effect in Big Sur.
The values are actually saved in /private/var/db/com.apple.xpc.launchd/disabled.501.plist
You can make a back-up of the file, copy it somewhere you can edit it, remove the undesired lines and copy the edited file over the original in /private/var/db/com.apple.xpc.launchd/
 
  • Like
Reactions: excelsior.ink
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.