You can uninstall the Broker Agent and the Desktop from the Windows Control Panel.

Example

You uninstall the Broker agent from the Control Panel on the connection server where the Broker agent is installed.

You uninstall the Desktop agent from the Control Panel on the desktop where the Desktop agent is installed.