Uninstall the desktop app on multiple devices
How admins can uninstall the desktop app for mac, Windows, and Linux devices
- Updated on Feb 17, 2026
Overview
This doc lays out uninstall commands admins can use in conjunction with their device management software (e.g., Microsoft Intune, Kandji, etc.) to uninstall the CSE desktop app in bulk (i.e.,for multiple users at once).
Note: Cloud Secure Edge does not currently support bulk uninstall of the desktop app; for bulk uninstallation of the desktop app, admins must use the commands in this doc with their own device management software.
Note: For all approaches that follow, the uninstall command must run with admin or system privileges.
macOS desktop app uninstall commands
-
Uninstall desktop app (versions
3.28.1or older) without removing settings:/Applications/Banyan.app/Contents/Resources/conf/uninstall.sh
-
Uninstall desktop app (versions
4.0.0or later) without removing settings:/Applications/SonicWallCSE.app/Contents/Resources/conf/uninstall.sh
-
Full uninstall (removes all settings) of desktop app (versions
3.28.1or older):/Applications/Banyan.app/Contents/Resources/conf/full-delete.sh
-
Full uninstall (removes all settings) of desktop app (versions
4.0.0or later):/Applications/SonicWallCSE.app/Contents/Resources/conf/full-delete.sh
Linux desktop app uninstall commands
-
Uninstall app without removing settings for desktop app versions
3.28.1or older:/opt/banyan/resources/conf/uninstall.sh
-
Uninstall app without removing settings for desktop app versions
4.0.0or later:/opt/SonicWall Cloud Secure Edge/resources/conf/uninstall.sh
-
Full uninstall (removes app and all settings) for desktop app versions
3.28.1or older:/opt/banyan/resources/conf/full-delete.sh
-
Full uninstall (removes app and all settings) for desktop app versions
4.0.0or later:/opt/SonicWall Cloud Secure Edge/resources/conf/full-delete.sh
Windows desktop app uninstall commands
Note: Admins can also uninstall the desktop app via Add or Remove Programs on Windows devices.
-
For a full uninstall (removes app, registration, and all settings), enter the following command for desktop app versions
3.28.1or older:C:\Program Files\Banyan\resources\conf\full-uninstall.cmd
-
For desktop app versions
4.0.0or later, use the following command:C:\Program Files\SonicWall Cloud Secure Edge\resources\conf\full-uninstall.cmd
-
If there is no separate partial uninstall command available (i.e., one equivalent to “Add or Remove Programs”), run one of the following commands for desktop app versions
3.28.1or older:-
C:\Program Files\Banyan\Uninstall Banyan.exe -
C:\Program Files\Banyan\Uninstall Banyan.exe /silent
-
-
Run one of the following commands for desktop app versions
4.0.0or later:-
C:\Program Files\SonicWall Cloud Secure Edge\Uninstall SonicWall Cloud Secure Edge.exe -
C:\Program Files\SonicWall Cloud Secure Edge\Uninstall SonicWall Cloud Secure Edge.exe /silent
-
Example Implementation - Microsoft Intune
1. Create a Win32 app or PowerShell script.
2. Enter the following uninstall command:
"C:\Program Files\SonicWall Cloud Secure Edge\resources\conf\full-uninstall.cmd"
3. Assign the script/app to device groups or user groups.
4. Run in system context.