#!/bin/bash | |
# IMPORTANT: You will need to disable SIP aka Rootless in order to fully execute this script, you can reenable it after. | |
# WARNING: It might disable things that you may not like. Please double check the services in the TODISABLE vars. | |
# Get active services: launchctl list | grep -v "\-\t0" | |
# Find a service: grep -lR [service] /System/Library/Launch* /Library/Launch* ~/Library/LaunchAgents | |
# Agents to disable | |
TODISABLE=('com.apple.security.keychainsyncingoveridsproxy' 'com.apple.personad' 'com.apple.passd' 'com.apple.screensharing.MessagesAgent' 'com.apple.CommCenter-osx' 'com.apple.Maps.mapspushd' 'com.apple.Maps.pushdaemon' 'com.apple.photoanalysisd' 'com.apple.telephonyutilities.callservicesd' 'com.apple.AirPlayUIAgent' 'com.apple.AirPortBaseStationAgent' 'com.apple.CalendarAgent' 'com.apple.DictationIM' 'com.apple.iCloudUserNotifications' 'com.apple.familycircled' 'com.apple.familycontrols.useragent' 'com.apple.familynotificationd' 'com.apple.gamed' 'com.apple.icloud.findmydeviced.findmydevice-user-agent' 'com.apple.icloud.fmfd' 'com.apple.imagent' 'com.apple.cloudfamilyrestrictionsd-mac' 'com.apple.cloudpaird' 'com.apple.cloudphotosd' 'com.apple.DictationIM' 'com.apple.assistant_service' 'com.apple.CallHistorySyncHelper' 'com.apple.CallHistoryPluginHelper' 'com.apple.AOSPushRelay' 'com.apple.IMLoggingAgent' 'com.apple.geodMachServiceBridge' 'com.apple.syncdefaultsd' 'com.apple.security.cloudkeychainproxy3' 'com.apple.security.idskeychainsyncingproxy' 'com.apple.security.keychain-circle-notification' 'com.apple.sharingd' 'com.apple.appleseed.seedusaged' 'com.apple.cloudd' 'com.apple.assistantd' 'com.apple.parentalcontrols.check' 'com.apple.parsecd' 'com.apple.identityservicesd') | |
for agent in "${TODISABLE[@]}" | |
do | |
{ | |
sudo launchctl unload -w /System/Library/LaunchAgents/${agent}.plist | |
launchctl unload -w /System/Library/LaunchAgents/${agent}.plist | |
} &> /dev/null | |
sudo mv /System/Library/LaunchAgents/${agent}.plist /System/Library/LaunchAgents/${agent}.plist.bak | |
echo "[OK] Agent ${agent} disabled" | |
done | |
# Daemons to disable | |
TODISABLE=('com.apple.netbiosd' 'com.apple.preferences.timezone.admintool' 'com.apple.preferences.timezone.auto' 'com.apple.remotepairtool' 'com.apple.rpmuxd' 'com.apple.security.FDERecoveryAgent' 'com.apple.icloud.findmydeviced' 'com.apple.findmymacmessenger' 'com.apple.familycontrols' 'com.apple.findmymac' 'com.apple.SubmitDiagInfo' 'com.apple.screensharing' 'com.apple.appleseed.fbahelperd' 'com.apple.apsd' 'com.apple.AOSNotificationOSX' 'com.apple.FileSyncAgent.sshd' 'com.apple.ManagedClient.cloudconfigurationd' 'com.apple.ManagedClient.enroll' 'com.apple.ManagedClient' 'com.apple.ManagedClient.startup' 'com.apple.iCloudStats' 'com.apple.locationd' 'com.apple.mbicloudsetupd' 'com.apple.laterscheduler' 'com.apple.awacsd' 'com.apple.eapolcfg_auth' 'com.apple.familycontrols') | |
for daemon in "${TODISABLE[@]}" | |
do | |
{ | |
sudo launchctl unload -w /System/Library/LaunchDaemons/${daemon}.plist | |
launchctl unload -w /System/Library/LaunchDaemons/${daemon}.plist | |
} &> /dev/null | |
sudo mv /System/Library/LaunchDaemons/${daemon}.plist /System/Library/LaunchDaemons/${daemon}.plist.bak | |
echo "[OK] Daemon ${daemon} disabled" | |
done |
#!/bin/bash | |
# IMPORTANT: You will need to disable SIP aka Rootless in order to fully execute this script, you can reenable it after. | |
# WARNING: It might enable things that you may not like. Please double check the services in the TOENABLE vars. | |
# Get active services: launchctl list | grep -v "\-\t0" | |
# Find a service: grep -lR [service] /System/Library/Launch* /Library/Launch* ~/Library/LaunchAgents | |
# Agents to enable | |
TOENABLE=('com.apple.security.keychainsyncingoveridsproxy' 'com.apple.personad' 'com.apple.passd' 'com.apple.screensharing.MessagesAgent' 'com.apple.CommCenter-osx' 'com.apple.Maps.mapspushd' 'com.apple.Maps.pushdaemon' 'com.apple.photoanalysisd' 'com.apple.telephonyutilities.callservicesd' 'com.apple.AirPlayUIAgent' 'com.apple.AirPortBaseStationAgent' 'com.apple.CalendarAgent' 'com.apple.DictationIM' 'com.apple.iCloudUserNotifications' 'com.apple.familycircled' 'com.apple.familycontrols.useragent' 'com.apple.familynotificationd' 'com.apple.gamed' 'com.apple.icloud.findmydeviced.findmydevice-user-agent' 'com.apple.icloud.fmfd' 'com.apple.imagent' 'com.apple.cloudfamilyrestrictionsd-mac' 'com.apple.cloudpaird' 'com.apple.cloudphotosd' 'com.apple.DictationIM' 'com.apple.assistant_service' 'com.apple.CallHistorySyncHelper' 'com.apple.CallHistoryPluginHelper' 'com.apple.AOSPushRelay' 'com.apple.IMLoggingAgent' 'com.apple.geodMachServiceBridge' 'com.apple.syncdefaultsd' 'com.apple.security.cloudkeychainproxy3' 'com.apple.security.idskeychainsyncingproxy' 'com.apple.security.keychain-circle-notification' 'com.apple.sharingd' 'com.apple.appleseed.seedusaged' 'com.apple.cloudd' 'com.apple.assistantd' 'com.apple.parentalcontrols.check' 'com.apple.parsecd' 'com.apple.identityservicesd') | |
for agent in "${TOENABLE[@]}" | |
do | |
{ | |
sudo launchctl load -w /System/Library/LaunchAgents/${agent}.plist | |
launchctl load -w /System/Library/LaunchAgents/${agent}.plist | |
} &> /dev/null | |
sudo mv /System/Library/LaunchAgents/${agent}.plist.bak /System/Library/LaunchAgents/${agent}.plist | |
echo "[OK] Agent ${agent} enabled" | |
done | |
# Daemons to enable | |
TOENABLE=('com.apple.netbiosd' 'com.apple.preferences.timezone.admintool' 'com.apple.preferences.timezone.auto' 'com.apple.remotepairtool' 'com.apple.rpmuxd' 'com.apple.security.FDERecoveryAgent' 'com.apple.icloud.findmydeviced' 'com.apple.findmymacmessenger' 'com.apple.familycontrols' 'com.apple.findmymac' 'com.apple.AirPlayXPCHelper' 'com.apple.SubmitDiagInfo' 'com.apple.screensharing' 'com.apple.appleseed.fbahelperd' 'com.apple.apsd' 'com.apple.AOSNotificationOSX' 'com.apple.FileSyncAgent.sshd' 'com.apple.ManagedClient.cloudconfigurationd' 'com.apple.ManagedClient.enroll' 'com.apple.ManagedClient' 'com.apple.ManagedClient.startup' 'com.apple.iCloudStats' 'com.apple.locationd' 'com.apple.mbicloudsetupd' 'com.apple.laterscheduler' 'com.apple.awacsd' 'com.apple.eapolcfg_auth' 'com.apple.familycontrols') | |
for daemon in "${TOENABLE[@]}" | |
do | |
{ | |
sudo launchctl load -w /System/Library/LaunchDaemons/${daemon}.plist | |
launchctl load -w /System/Library/LaunchDaemons/${daemon}.plist | |
} &> /dev/null | |
sudo mv /System/Library/LaunchDaemons/${daemon}.plist.bak /System/Library/LaunchDaemons/${daemon}.plist | |
echo "[OK] Daemon ${daemon} enabled" | |
done |
This comment has been minimized.
This comment has been minimized.
How do I use this? |
This comment has been minimized.
This comment has been minimized.
@jaduff Which Daemons did you leave as they are? |
This comment has been minimized.
This comment has been minimized.
Does this only work in Sierra? I've been having tons of issues with launchctl on el cap saying it "Could not find specified service" even with the correct plist file. |
This comment has been minimized.
This comment has been minimized.
I get the same as wallace-aph... Lots of "Could not find specified service" messages. |
This comment has been minimized.
This comment has been minimized.
After running this I lost all Bonjour connectivity, no "shared" item in the Finder sidebar and I can't run screen sharing and nothing shows up under "Network" |
This comment has been minimized.
This comment has been minimized.
@JGRvanR supposedly, to re-enable, just run the same script with |
This comment has been minimized.
This comment has been minimized.
FYI , in 10.12.3:
|
This comment has been minimized.
This comment has been minimized.
@Brantone - Found a mention about getting around SIP to disable stuff here: http://apple.stackexchange.com/questions/255662/disabling-airplay-on-mac-sierra |
This comment has been minimized.
This comment has been minimized.
@JGRvanN same here. I like the gains from running this, but breaking my LAN is a deal breaker. Anyone know what the Bonjour deps are? |
This comment has been minimized.
This comment has been minimized.
NEW VERSION This is the version 2.0 of this gist. Just re-run it. What's new:
|
This comment has been minimized.
This comment has been minimized.
iTunes is not working anymore. I'm actually investigating the problem and I'll fix it asap. Edit: The issue has been solved. It was "com.apple.AirPlayXPCHelper" that was causing the crash therefore it has been enabled again. |
This comment has been minimized.
This comment has been minimized.
I just upgraded from Snow Leopard to Sierra and I can't believe all the connections Little Snitch is flagging. I don't use iCloud and don't have any iToys and don't "Social Network" so it's all wasted on me. Plus I don't like Apple spying on everything I do. Killing all these agents and daemons is a GREAT idea. Thanks! BTW, there is a list of what a lot of these processes do at Triviaware |
This comment has been minimized.
This comment has been minimized.
@sjc314: Glad you liked this script! Don't hesitate to share it and thanks for the tip, didn't knew this website! |
This comment has been minimized.
This comment has been minimized.
On macOS Sierra 10.12.3 (16D32): Other renamed or missing Daemons: |
This comment has been minimized.
This comment has been minimized.
I added the missing entry. I believe the missing daemons were removed but I still want this script to be compatible with older macOS versions such as El Capitan. Thanks you, |
This comment has been minimized.
This comment has been minimized.
Added (new?) com.apple.personad service to the kill list. |
This comment has been minimized.
This comment has been minimized.
congrats, great work and easy to understand system patch. Have a side question: Could "little snitch" do the work too, i.e. just denying any communication from daemons? https://www.obdev.at/products/littlesnitch/index.html |
This comment has been minimized.
This comment has been minimized.
Thanks for sharing this. |
This comment has been minimized.
This comment has been minimized.
I really like the intent here, but 2.0 breaks Calendar in 10.12.4. Totally reproducible: disable, reboot, Calendar breaks. enable, reboot, Calendar works. I also have spindump disabled. I tried reenabling, but Calendar still broken with 2.0. Here's an error report. Advice appreciated. |
This comment has been minimized.
This comment has been minimized.
Hello, Thanks you. Regarding LS, you can, but the daemons will still be running and the buggy ones might eat your CPU/RAM/etc because they can't access the internet. By the way I noticed that Little Snitch was unable to detect Siri so.
Hello, Thanks for reporting, maybe you should try to remove 'com.apple.CalendarAgent' (with quotes) from ./disable.sh and try again. |
This comment has been minimized.
This comment has been minimized.
New v2.1: Added 'com.apple.security.keychainsyncingoveridsproxy' to the LaunchAgents blacklist because it was completely eating my CPU without doing anything useful. There is no documentation about this daemon but I suspect that it is used to sync the keychain with a remote server. Maybe using Cryptomator activated it as it uses local WebDAV and Java etc, I don't know but it happened since I launched it. |
This comment has been minimized.
This comment has been minimized.
How's about a list of what these various processes do, so folks can make an informed decision about which ones they want to disable? While true, as regards the junk Apple bundles with OSX, "bunch of #$!@" ain't the most informative of descriptions! |
This comment has been minimized.
This comment has been minimized.
Hello @madranet, there are a bunch of already available informations on Google about the deactivated services. |
This comment has been minimized.
This comment has been minimized.
Removing com.apple.CalendarAgent from the TODISABLE list brought Calendar back to life. I'm still hoping to get Bonjour back.... but I'll see if I can live without it for now. |
This comment has been minimized.
This comment has been minimized.
/System/Library/LaunchAgents/com.apple.SafariCloudHistoryPushAgent.plist - 'com.apple.SafariCloudHistoryPushAgent' when disable seem to speedup Safari, this a a macOS Serria 10.12.4 Somewhere in Agents to disable, plays havoc with the network lan & wireless , the Network does not show up in the Shared section of the Finder in sidebar, and even by other methods, if one can narrow this down to a list for active network from been disable would be welcome . Thanks for this excellent script & works a treat. |
This comment has been minimized.
This comment has been minimized.
Created a GitHub account just to say thanks for this work, both tot he OP and the community! I noticed a lot of network activity "phoning home" in radio silence, and wanted to try to shut it down in one fell swoop. Thanks to this, much of it is gone. I did notice that Messages will no longer start up, however. Does anyone know which specific service enable will bring that back, or should I learn to live without it? thanks again. |
This comment has been minimized.
This comment has been minimized.
Thank you! That's awesome |
This comment has been minimized.
This comment has been minimized.
I'm worried about future updates undoing these changes. Why not use "launchctl disable" followed by "launchctl kill" instead of renaming the plist files? |
This comment has been minimized.
This comment has been minimized.
It runs well on Sierra, make the device run very cool. But in El Captain, it makes accountsd raging and stuck at highest freq(but still cool). |
This comment has been minimized.
This comment has been minimized.
Sierra 10.12.6. com.apple.security.keychainsyncingoveridsproxy overloads CPU. iCloud is likely the culprit. I suggest adding in # 1. Delete iCloud accounts, or remove com.apple.iCloud* agents
# 2. Disable SIP
# 3. Restart and run the script |
This comment has been minimized.
This comment has been minimized.
Dang pwnsdx, you have really nice shell script style. How exactly does |
This comment has been minimized.
This comment has been minimized.
Does anyone know of a resource where I can look each of these agents and daemons up? |
This comment has been minimized.
This comment has been minimized.
Script editor is not able to run this script saying expected " |
This comment has been minimized.
This comment has been minimized.
Awesome work but my games from mac appstore has stopped working, plz tell which parts i need to enable back. |
This comment has been minimized.
This comment has been minimized.
Thanks a lot !! A little suggestion to easily read and comment agents: # Agents to disable
TODISABLE=('com.apple.AOSPushRelay' \
'com.apple.AirPlayUIAgent' \
'com.apple.AirPortBaseStationAgent' \
#'com.apple.CalendarAgent' \
'com.apple.CallHistoryPluginHelper' \
'com.apple.CallHistorySyncHelper' \
'com.apple.CommCenter-osx' \
'com.apple.DictationIM' \
'com.apple.DictationIM' \
'com.apple.IMLoggingAgent' \
'com.apple.Maps.mapspushd' \
'com.apple.Maps.pushdaemon' \
'com.apple.appleseed.seedusaged' \
'com.apple.assistant_service' \
'com.apple.assistantd' \
'com.apple.cloudd' \
'com.apple.cloudfamilyrestrictionsd-mac' \
'com.apple.cloudpaird' \
'com.apple.cloudphotosd' \
'com.apple.familycircled' \
'com.apple.familycontrols.useragent' \
'com.apple.familynotificationd' \
'com.apple.gamed' \
'com.apple.geodMachServiceBridge' \
'com.apple.iCloudUserNotifications' \
#'com.apple.icloud.findmydeviced.findmydevice-user-agent' \
'com.apple.icloud.fmfd' \
'com.apple.identityservicesd' \
'com.apple.imagent' \
'com.apple.parentalcontrols.check' \
'com.apple.parsecd' \
'com.apple.passd' \
'com.apple.personad' \
'com.apple.photoanalysisd' \
#'com.apple.screensharing.MessagesAgent' \
'com.apple.security.cloudkeychainproxy3' \
'com.apple.security.idskeychainsyncingproxy' \
'com.apple.security.keychain-circle-notification' \
'com.apple.security.keychainsyncingoveridsproxy' \
'com.apple.sharingd' \
'com.apple.syncdefaultsd' \
'com.apple.telephonyutilities.callservicesd' \ )
# Daemons to disable
TODISABLE=('com.apple.AOSNotificationOSX' \
'com.apple.FileSyncAgent.sshd' \
'com.apple.ManagedClient' \
'com.apple.ManagedClient.cloudconfigurationd' \
'com.apple.ManagedClient.enroll' \
'com.apple.ManagedClient.startup' \
'com.apple.SubmitDiagInfo' \
'com.apple.appleseed.fbahelperd' \
'com.apple.apsd' \
'com.apple.awacsd' \
'com.apple.eapolcfg_auth' \
'com.apple.familycontrols'
'com.apple.familycontrols' \
'com.apple.findmymac' \
'com.apple.findmymacmessenger' \
'com.apple.iCloudStats' \
'com.apple.icloud.findmydeviced' \
'com.apple.laterscheduler' \
'com.apple.locationd' \
'com.apple.mbicloudsetupd' \
'com.apple.netbiosd' \
'com.apple.preferences.timezone.admintool' \
'com.apple.preferences.timezone.auto' \
'com.apple.remotepairtool' \
'com.apple.rpmuxd' \
'com.apple.screensharing' \
'com.apple.security.FDERecoveryAgent' \) |
This comment has been minimized.
This comment has been minimized.
First of all, sorry for my bad English. |
This comment has been minimized.
This comment has been minimized.
@AlexCommandor , which mac os do you use ? |
This comment has been minimized.
This comment has been minimized.
Latest 10.12.6 (Sierra) |
This comment has been minimized.
This comment has been minimized.
First of all, sorry for my bad English.
|
This comment has been minimized.
This comment has been minimized.
@pwnsdx I can confirm that commenting out CalendarAgent fixes the Calendar issue. Also, @AlexCommandor's |
This comment has been minimized.
This comment has been minimized.
How can I disable /System/Library/Services/AppleSpell.service ? |
This comment has been minimized.
This comment has been minimized.
And how to run this script |
This comment has been minimized.
This comment has been minimized.
Excellent work! Thank you. One thing I suggest to be added: nscurlsessiond. I am not sure which service or daemon it belongs to, but it keeps on pushing towards apple. Furthermore, this script could be enhanced by adding null routes or host entries for hot apple beacons to ensure decent protection for service revival. These beacons spotted already (just unverified): 32-courier.push.apple.com You dont even need to diable SIP to add null routes (sudo route add 17.0.0.0/8 8.8.8.8 or similar) to dump all traffic to apple off. Many of them are actually hosted at Akamai or elsewhere, for those, a plain old host entry at /etc/hosts will disable them completely. |
This comment has been minimized.
This comment has been minimized.
@melMass: even better, you don't need to escape the newlines within an array-variable assignment. (If you don't mind the backslashes, then you might as well just inline the array, a la |
This comment has been minimized.
This comment has been minimized.
I'm not sure if this is related, but since I disabled all the services in this list (I also added spindumpd and tailsomething) my TimeMachine backups are painingly slow. Anyone with the same issue? |
This comment has been minimized.
This comment has been minimized.
Something in the list of agents has taken out my finder/dock of my macbook pro. I suspect it was one of the last two agents but not positive. |
This comment has been minimized.
This comment has been minimized.
thanks, i was checking why my mac mini was crawling like a tortoise and photoshop and capture one was unbearable. ran top and saw cloudphotosd, google that and reached here. Ran the script, killed the process and performance improvement is significant. |
This comment has been minimized.
This comment has been minimized.
Does this work fine with high sierra? |
This comment has been minimized.
This comment has been minimized.
Please remove the link to Triviaware that is pretty nasty! |
This comment has been minimized.
This comment has been minimized.
Can you tell me if it works on high sierra 10.13.3. and how you load this script (terminal) ? Best regards |
This comment has been minimized.
This comment has been minimized.
I wonder if it is safe to also disable |
This comment has been minimized.
This comment has been minimized.
BTW thanks for your work, it's awesome! |
This comment has been minimized.
This comment has been minimized.
Hi, I tried to determine which Processes/Daemons have to be left ON in order to have iCloud still running but all the rest turned off. |
This comment has been minimized.
This comment has been minimized.
I'm VERY interested in what philthepill mentions. I've been following QLab's advice and signing out of iCloud completely. But signing out of iCloud is a big deal, it's time-intensive and can cause corruption in my calendars & contacts. And I definitely don't want to permanently disable iCloud – I just need to temporarily disable it when using real-time music and video applications on stage. It would be great to be able to do this by disabling all the iCloud daemons and processes, with SIP turned off of course, instead of signing out. In your disable/enable lists you have: Do you think that's an exhaustive list, or are there other processes that would keep iCloud hogging the CPU when signed in? Courtesy of QLab, here are couple more processes that you could add to the lists: (NOTE: see my followup comment and fork, on 5/29/18 below) |
This comment has been minimized.
This comment has been minimized.
Frecia, I have just found this: http://www.manpagez.com/man/8/callservicesd/ , then search for the daemon you want to have more info about. I found this page too https://developer.apple.com/legacy/library/documentation/Darwin/Reference/ManPages/man8/FDERecoveryAgent.8.html Also, there is a question mark on the warning window of Little Snitch when a daemon tries to access internet, and it gives some info about what it is for. And this page has some comments on some daemons http://tech.masterofsql.com/os-x/unload-disable-unwanted-agents-daemons-os-x.html |
This comment has been minimized.
This comment has been minimized.
To this fantastic gist I've added sections (User Agents, "Library" Agents/Daemons) to disable/enable /Library/Launch* and ~/Library/LaunchAgents processes, which are specific to some real-time/music applications I have installed (substitute your own), but also include fairly common things like Dropbox and Google Chrome agents which eat up a lot of processing time. I also found all processes that are needed for iCloud to run, so now I don't have to actually Sign Out of iCloud (which can cause loss of Calendar and Contacts updates when you sign back in) in order to temporarily disable it. Here's my fork: |
This comment has been minimized.
This comment has been minimized.
@pwnsdx THANKS FOR SUCH A GREAT SCRIPT and supporting El Cap! Hey, maybe it's just me but I would think that wrapping this in a GUI and allowing it to be "dynamic" (minus the SIP disabled ones) so that you can Disable a lot of stuff until it's needed via applet on the Menu Bar would be worth paying for!! Ie. Not using any itunes disabled, but when you need it, a simply click to enable and start. Oh course, I am out of my league on this but just a thought! |
This comment has been minimized.
This comment has been minimized.
Adapting to my OSX setup automation https://gitlab.com/CharlyRipp/osx-setup/blob/master/agents_daemons.sh |
This comment has been minimized.
This comment has been minimized.
There's a link to "triviaware" in a comment above. Please note that the link goes to a known malware/adware for mac. It should be edited/removed |
This comment has been minimized.
This comment has been minimized.
This is a description for those agents/daemons (it is copy-pasted from other script)
|
This comment has been minimized.
This comment has been minimized.
@pwnsdx Great stuff! Any chances to get this update for Mojave? |
This comment has been minimized.
This comment has been minimized.
Has anyone had success with this on Mojave? |
This comment has been minimized.
This comment has been minimized.
Yeah, since Mojave killing any of these daemons, unloading them and deleting the plist, results in macOS simply starting them up again. At this rate, I'm about to write a cron job to run every 30 seconds and terminate ****ing diskspaced if it's running. Getting pretty sick of being told that I'm running out of disk space and should buy iCloud every half hour because I've only got 13GB left. |
This comment has been minimized.
This comment has been minimized.
it works in mojave for me after 'csrutil disable'... now i am running that on a vm... service does not comeback |
This comment has been minimized.
This comment has been minimized.
Nice Job, Thanks! |
This comment has been minimized.
This comment has been minimized.
Suggestion to add TouristD in you list |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
what happened? when i installed this cpu usage jumped to 25%. Accountsd and rapportd going insane. and it wont stop. it's objectively worse as before i ran it. after i re-enabled it, cpu usage DID NOT go down again |
This comment has been minimized.
This comment has been minimized.
@debajyoti-xyz You need to disable SIP. See @helio-silva comment two above yours. Don't forget to re-enable afterwards. |
This comment has been minimized.
This comment has been minimized.
Fantastic script! I modified it a little so the list of files is external, maybe it is interesting to anybody. Also, the daemos and agents are moved into /System/Library/LaunchDaemons.off and /System/Library/LaunchAgents.off instead of renaming them to .bak APPLESHIT.DISABLE.SH(You need to run it with SUDO)
APPLESHIT.ENABLE.SH(You need to run it wth SUDO)
/etc/appleshit.daemons.cfgcontains daemons to disable , one per line
/etc/appleshit.agents.cfgcontains agents to disable, one per line
|
This comment has been minimized.
This comment has been minimized.
Hello everyone, "Disable bunch of #$!@" has been updated for macOS Catalina. You can check it here: https://gist.github.com/pwnsdx/1217727ca57de2dd2a372afdd7a0fc21 |
This comment has been minimized.
This comment has been minimized.
Hello everyone I was inspired by the work of @pwnsdx and @nebular and slightly improved its script. Maybe it will be useful to someone https://gist.github.com/JollyDeveleoper/4111633e0088e7919d41bbc717a64867 Changes:
Maybe in future i added script and do him automaticly |
This comment has been minimized.
This comment has been minimized.
@maffinca69, the link given above isn't working. Could you update it? Thanks. |
This comment has been minimized.
This comment has been minimized.
For those who seek to eliminate unwanted outgoing traffic, in addition to removing launch agents and daemons, |
This comment has been minimized.
This comment has been minimized.
---One can remove daemons and agents without a script, one at a time or a few at a time. |
This comment has been minimized.
Nice. I tweaked a bunch of what you had, mostly to leave some things on you had set to remove. Huuuge noticeable improvement in performance.