Here’s the steps to move all the base RabbitMQ directory (with also data and log directory) to another location on Windows:
- open the command prompt from start menu using the link “RabbitMQ Command Prompt (sbin dir)”
- stop the service
rabbitmq-service stop
- kill the process “epmd.exe” from the task manager using the details tab
- move the folder from “%appdata%\RabbitMQ” to a different location for instance “D:\”
- install the service
rabbitmq-service install
- start the service
rabbitmq-service start
Enjoy!