In this article
Network environment admins follow this article to uninstall the macOS Roaming Client version 2.2.0+ when deployed via MDM. If the mobileconfig files were not pushed to the device, follow the standard uninstall method.
Uninstalling the v2.2.0+ agent includes removing the mobileconfig files pushed during deployment. For MDM-specific uninstall instructions, consult the vendor's documentation.
Uninstall Process
- Uninstall the agent installer package following the standard uninstall method
- Following your MDM's processes, remove the two mobileconfig files in this order:
-
Proxy.mobileconfig -
Extension.mobileconfig
-
The macOS Roaming Client is now uninstalled and will no longer receive DNS traffic.
If offboarding from DNSFilter, remove the DNSFilter_Certificates.mobileconfig file as well (if deployed) to revoke those permissions.
Related Content
- Install the v2.2.0+ agent with an MDM solution or manually
- Troubleshoot end-user prompts still occurring with the v2.2.0+ build deployed via MDM
- End-users report lost internet connectivity after the agent update
- Your network environment runs another DNS Proxy such as an EDR or VPN and macOS only allows 1 proxying agent per device
Comments
4 comments
Can you post more detailed instructions on how to remove the .mobileconfig files? We have ran the terminal command ( sudo sh /Applications/DNS\ Agent.app/Contents/Resources/uninstall.sh ) and then restarted yet DNS Filter is still installed on MacOS 15.6.1. We do not use MDM profiles.
Thanks for the details, Mike South—a couple things here are worth clarifying so we can help you get this fully removed.
First, .mobileconfig profiles are only deployed through an MDM, and macOS doesn’t provide a native way to install or manage them outside an MDM workflow. Since you mentioned you don’t use one, can you share why you believe mobileconfig files are present? That will help us narrow down whether we’re actually dealing with a profile or something else on the device.
Second, the uninstall command you posted is specifically for whitelabeled versions of the agent. Can you confirm whether the agent installed on your mac is a branded/whitelabeled build (DNSFilter\ Agent vs DNS\ Agent)? If so, that would explain why the standard removal isn’t taking effect.
Hi Minetta,
Step #2 in the above uninstall process states the .mobileconfig profiles need to be removed, that is why I'm confused. We are using the whitelabeled version.
The instructions below worked for us after running the Terminal script.
• Navigate to the following directories and delete any DNSFilter-related files:
/Library/Application Support/
/Library/Preferences/
/Library/LaunchAgents/
/Library/LaunchDaemons/
• Empty Trash:
Right-click on the Trash and select Empty Trash.
• Restart the Device:
Restart the Mac to complete the uninstallation.
Thanks.
Thanks for the follow-up, and I’m glad the cleanup steps you listed worked on your end. 🙌
Just to clarify the confusion around .mobileconfig profiles: that section of the article only applies to MDM-managed deployments. The article introduction notes this, but I can see how it could be overlooked if you're not using an MDM. Without an MDM, those profiles wouldn’t be present on the device at all.
Given that the manual directory cleanup solved the uninstall, the most likely causes were either:
In any case, I’m glad you were able to get the system cleaned up. If you run into anything else feel free to reach out!
Please sign in to leave a comment.