Failed to Create Cookie file RabbitMQ in Windows

Had the same H: problem. Set the home drive to some dir in the dos shell before executing the cli.

set HOMEDRIVE=C:/conf/rabbitmq :: Or your favorite dir 
rabbitmq-plugins.bat enable rabbitmq_management

Use a folder in C drive. The rabbitmq system will write the cookie file there.


Find location of ".erlang.cookie" in your PC and run the commands bellow:

set HOMEDRIVE=[location of ".erlang.cookie"]
rabbitmq-plugins.bat enable rabbitmq_management