Skip to content

Instantly share code, notes, and snippets.

@joshuataylor
Created March 12, 2025 23:56
Show Gist options
  • Save joshuataylor/bcbb9d8b80c83d3f188195a61ef60e4e to your computer and use it in GitHub Desktop.
Save joshuataylor/bcbb9d8b80c83d3f188195a61ef60e4e to your computer and use it in GitHub Desktop.

https://old.reddit.com/r/MacOS/comments/142cv0n/how_to_remove_stubborn_systemextensions_not/

systemextensionsctl gc works as well:

When checking system extensions:

/Library $ systemextensionsctl list
2 extension(s)
--- com.apple.system_extension.network_extension
enabled active  teamID  bundleID (version)      name    [state]
*       *       W5364U7YZB      io.tailscale.ipn.macsys.network-extension (1.80.0/101.80.0)     Tailscale Network Extension     [activated enabled]
*       *       6JQLCT6DRB      com.radiosilenceapp.client.NetworkExtension (1.2/1.2)   NetworkExtension        [activated enabled]

The available commands are:

/Library $ sudo systemextensionsctl
systemextensionsctl: usage:
        systemextensionsctl developer [on|off]
        systemextensionsctl list [category]
        systemextensionsctl reset  - reset all System Extensions state
        systemextensionsctl uninstall <teamID> <bundleID>; teamID can also be '-' (for matching empty Team ID)
        systemextensionsctl gc  - garbage collect orphaned system extension(s)

When trying to clean up:

sudo systemextensionsctl gc
2025-02-06 11:23:31.354 systemextensionsctl[980:17437] Successfully cleaned up : (
), failed to clean up {
    "com.radiosilenceapp.client.NetworkExtension" = "Error Domain=sysextd.InternalError Code=5 \"(null)\"";
    "io.tailscale.ipn.macsys.network-extension" = "Error Domain=sysextd.InternalError Code=5 \"(null)\"";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment