I\'m ask/answering this question because it hung me up & it\'s likely someone else will have the same problem.
Install of RabbitMQ x64 v2.8.6 on Windows Server 2
I had the similar issue, modifying ERLANG_HOME in .bat files did not work. Then I tried echo %ERLANG_HOME% in command prompt, that did not print the environment variable value(I could see that ERLANG_HOME environment variable has been created under advance system settings), that lead me to believe that I need to restart server for 64 bit installation of Erlang. After rebooting server, It worked like a charm. I hope this helps someone.