To uninstall RabbitMQ and Erlang from the machine completely, do the following:
- Open the Windows Control Panel.
- Double-click Programs and Features.
- In the list of currently installed programs, right-click RabbitMQ Server, and then click Uninstall.
- In the list of currently installed programs, right-click Erlang OTP, and then click Uninstall.
- Open the Windows Task Manager.
- In the Task Manager, look for the process epmd.exe. If this process is still running, right-click it and then click End Process.
- Delete all the installation directories for both RabbitMQ and Erlang.
- Delete the file C:Windows.erlang.cookie (if present).
- Go to the User folder: C:Users[username], and then delete the file .erlang.cookie.
- Also in the User folder, go to AppDataRoamingRabbitMQ.
- Backup the Log folder to a secure location, and then delete the folder.