Uninstalling the Banyan Desktop App leaves behind a small data folder containing application state. This allows you to upgrade or reinstall the app without having to go through the device registration process again.


Occasionally, however, you may want to start from a completely clean state, or you may be asked to do this by Banyan Support. To completely uninstall the app, follow these directions.


We need to perform the following steps:


1. Unregister device:

  1. Unregister your device from all organizations in the Banyan Desktop App.
    1. Click the settings gear.
    2. Click your organization name.
    3. Click Unregister Device.
  2. In the system taskbar, click the Banyan icon to open the app.
  3. In the title bar of the Banyan Desktop App, click the gear icon to access settings.
  4. Click Quit.


2. Uninstall Banyan Desktop App:

macOS

  1. Quit the Banyan Desktop App as described above.

  2. Open the Terminal app and type these commands:

    NOTE: Make sure you run the above commands as the registered user. Do not sudo as root and then run these commands.

    rm -rf /etc/banyanapp
    rm -rf $HOME/Library/Application\ Support/banyanapp
    rm -rf $HOME/Library/Application\ Support/Banyan


  3. Open the Keychain Access app.

  4. Use the search bar in the top right corner to search for "BNN". For each certificate that you see, right-click and then select Delete.

  5. Navigate to your device’s Applications folder, then locate the Banyan Application file and delete it.

Now, you can re-install the latest Banyan Desktop App and re-register your macOS device.


Windows

  1. Quit the Banyan Desktop App as described above.

  2. Open a Command Prompt and type these commands:

    rmdir /s %PROGRAMDATA%\Banyan
    rmdir /s %APPDATA%\Banyan
    rmdir /s %APPDATA%\banyanapp


  3. Press Win+R and type certmgr.msc.

  4. Navigate to the folder Personal > Certificates. If there are any certificates issued by "Banyan Private Root CA", delete them.

  5. Repeat step 4 in the folder Trusted Root Certificate Authorities > Certificates.

  6. Close the Certificate Manager.

  7. Launch your device’s Control Panel, then click Uninstall a program (under the Programs link).

  8. Locate the Banyan program file and uninstall it.

Now, you can re-install the latest Banyan Desktop App and re-register your Windows device.