Last active
January 25, 2026 11:44
-
-
Save hideandseekstheorder/8355d549754a187ea05194d1a27df4f5 to your computer and use it in GitHub Desktop.
macOS Sequoia - Re-enable Ads/Telemetry + Siri/AI only (Profile A+B)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/zsh | |
| # | |
| # Based on: | |
| # Disable-Sequoia-Bloatware.sh by b0gdanw | |
| # https://gist.github.com/b0gdanw/b349f5f72097955cf18d6e7d8035c665 | |
| # | |
| # Restore / re-enable script for the curated subset (Profile A + B only), | |
| # created with the help of ChatGPT. | |
| # | |
| # This script is intended to undo the corresponding "disable" version by | |
| # re-enabling the same launchd services (user + system) and attempting to | |
| # kickstart them. | |
| # | |
| # Core system services are intentionally excluded (iCloud, Find My, Location, | |
| # Maps/Geo, Photos, Time Machine, Sharing/AirDrop, Screen Sharing, etc.). | |
| # | |
| set -euo pipefail | |
| # Re-enable Sequoia services (Profile A + B) previously disabled | |
| # - Enables launchd entries again | |
| # - Attempts to start them via kickstart (best-effort) | |
| # | |
| # It does NOT touch anything outside the A+B list. | |
| USER_UID="$(id -u)" | |
| echo "User UID detected: ${USER_UID}" | |
| echo "This script targets gui/${USER_UID} for user agents and system/ for system daemons." | |
| echo | |
| run_no_fail() { | |
| local desc="$1" | |
| shift | |
| echo "-> ${desc}" | |
| if ! "$@"; then | |
| echo " (warn) command failed, continuing..." | |
| fi | |
| } | |
| # ------------------------- | |
| # USER agents: Profile A + B | |
| # ------------------------- | |
| USER_AGENTS=( | |
| # Profile A | |
| com.apple.ap.adprivacyd | |
| com.apple.ap.promotedcontentd | |
| com.apple.geoanalyticsd | |
| com.apple.UsageTrackingAgent | |
| com.apple.inputanalyticsd | |
| com.apple.triald | |
| com.apple.BiomeAgent | |
| com.apple.biomesyncd | |
| # Profile B | |
| com.apple.assistant_service | |
| com.apple.assistantd | |
| com.apple.assistant_cdmd | |
| com.apple.corespeechd | |
| com.apple.Siri.agent | |
| com.apple.siriactionsd | |
| com.apple.siriinferenced | |
| com.apple.sirittsd | |
| com.apple.SiriTTSTrainingAgent | |
| com.apple.siriknowledged | |
| com.apple.suggestd | |
| com.apple.parsecd | |
| com.apple.parsec-fbf | |
| com.apple.knowledge-agent | |
| com.apple.knowledgeconstructiond | |
| com.apple.naturallanguaged | |
| com.apple.intelligenceflowd | |
| com.apple.intelligencecontextd | |
| com.apple.intelligenceplatformd | |
| com.apple.generativeexperiencesd | |
| ) | |
| echo "=== Enabling USER agents (gui/${USER_UID}) ===" | |
| for agent in "${USER_AGENTS[@]}"; do | |
| run_no_fail "enable gui/${USER_UID}/${agent}" launchctl enable "gui/${USER_UID}/${agent}" | |
| # kickstart tries to start immediately; may fail if service is not loadable right now (that's OK) | |
| run_no_fail "kickstart gui/${USER_UID}/${agent}" launchctl kickstart -k "gui/${USER_UID}/${agent}" | |
| done | |
| echo | |
| # ------------------------- | |
| # SYSTEM daemons: Profile A | |
| # ------------------------- | |
| SYSTEM_DAEMONS=( | |
| com.apple.analyticsd | |
| com.apple.audioanalyticsd | |
| com.apple.ecosystemanalyticsd | |
| com.apple.wifianalyticsd | |
| com.apple.triald.system | |
| com.apple.biomed | |
| ) | |
| echo "=== Enabling SYSTEM daemons (system) ===" | |
| for daemon in "${SYSTEM_DAEMONS[@]}"; do | |
| run_no_fail "enable system/${daemon}" sudo launchctl enable "system/${daemon}" | |
| run_no_fail "kickstart system/${daemon}" sudo launchctl kickstart -k "system/${daemon}" | |
| done | |
| echo | |
| echo "Done." | |
| echo "Reboot is recommended to ensure everything is fully reloaded." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment