Uninstalling RabbitMQ and Erlang

If you have issues with RabbitMQ or Erlang, it is recommended to look at the troubleshooting section first.

Run the following commands to delete the required software:

  • To uninstall both RabbitMQ and Erlang from the system, run:

    Copy
    Uninstall-Connector -Verbose

    If Erlang and RabbitMQ are installed in a different directory other than the default directory (C:\Program Files), specify the installation directory in -InstallPath:

    Copy
    Uninstall-Connector -InstallPath “<Erlang-RabbitMQ-Directory>” -Verbose
  • To uninstall only RabbitMQ, run:

    Copy
    Uninstall-RabbitMq -InstallPath “<Erlang-RabbitMQ-Directory>” -Verbose

    Include -InstallPath only if RabbitMQ is installed in a directory other than the default installation directory (C:\Program Files).

  • To uninstall only Erlang, run:

    Copy
    Uninstall-Erlang -InstallPath “<Erlang-RabbitMQ-Directory>” -Verbose

    Include -InstallPath only if Erlang is installed in a directory other than the default installation directory (C:\Program Files).

The commands above use the Uninstall-Connector, Uninstall-RabbitMq, and Uninstall-Erlang cmdlets. For details about these RabbitMQ cmdlets, see Uninstall-Connector, Uninstall-Erlang and Uninstall-RabbitMQ.