Trouble uninstalling DNSFilter on macOS? Here’s how to ensure complete removal
Even after removing the application manually or running standard uninstall commands, background processes or residual files can remain active causing issues fully uninstalling the DNSFilter agent on macOS. This results in the DNSFilter agent to continue functioning or reappear after a system reboot, creating challenges in achieving a clean removal.
Complete these steps to fully uninstall the macOS client
-
Terminate Running Processes:
-
Open Terminal and run:
sudo killall -9 dnsfilter
-
-
Run the Uninstall Command:
-
For the retail version:
sudo sh /Applications/DNSFilter\ Agent.app/Contents/Resources/uninstall.sh
-
For the MSP version:
sudo sh /Applications/DNS\ Agent.app/Contents/Resources/uninstall.sh
-
-
Remove Remaining Service Files:
-
Check and delete any leftover files using these commands:
sudo rm -rf /Library/Application\ Support/DNSFilter sudo rm -rf /Library/PrivilegedHelperTools/com.dnsfilter.agent.macos.helper sudo rm -rf /Library/LaunchDaemons/com.dnsfilter.agent.macos.plist
-
-
Reset DNS Settings:
- After removal, reset your DNS settings to a public DNS such as Google (8.8.8.8) or Cloudflare (1.1.1.1).
-
Search for Hidden Files:
-
Run:
sudo find / -name '*dnsfilter*'
- Remove any residual files that are found.
-
-
Check for Reinstallation Tools:
- Ensure no third-party RMM or MDM tools (e.g., Addigy) are reinstalling DNSFilter automatically. Disable any deployment policies tied to DNSFilter.
-
Reboot Your Machine:
- Restart your Mac to ensure all changes take effect and no residual processes restart.
By following these steps, you should be able to identify and stop your device from reinstalling DNSFilter, successfully resolving the issue. If you’re still encountering problems or have additional questions, feel free to comment below for further assistance!
Please sign in to leave a comment.
Comments
0 comments