(MDM) Removing the agent using Jamf
Uninstall the agent from macOS endpoints using Jamf Pro.
Steps
- Sign in to Jamf Pro and go to Computers > Settings.
-
Open Computer Management > Scripts, then click New.

-
Under Display Name, enter the script name. For example,
uninstall_dse.sh.
- On the Script tab, login as root and enter the script attached here.
- Generate the release code from Forcepoint Portal, and update the code in the script.
- Click Save.
-
Open Computers > Policies, then click New.

-
Enter the following details:
-
Display Name:
Remove DSE - Select the Enabled check box
- Choose a suitable Trigger, for example: Recurring Check-in.

-
Display Name:
- On the Scripts tab, click Configure Scripts and add the script created above.
-
On the Scope tab, select All Computers and All Users.
Note: Alternatively, use this tab to specify certain individuals or groups from which to uninstall the agent.
-
Click Save.
The Forcepoint Agent uninstallation completes.

-
Click Logs to verify the uninstallation.
Note: To troubleshoot uninstall issues on endpoints, check the below files:
- Uninstall log - /var/log/WebsenseEndpoint/endpoint_uninstall.log
- Jamf script log - /var/log/DSEAgentUninstall.log