title: Unable to start RabbitMq Service after uninstalling and then Re-installing RabbitMQ
body: <p>I uninstalled rabbitMq using this guide: <a href="https://support.bioconnect.com/hc/en-us/articles/115011178868-How-to-Uninstall-RabbitMQ" rel="noreferrer">https://support.bioconnect.com/hc/en-us/articles/115011178868-How-to-Uninstall-RabbitMQ</a></p>
  
  <ol>
  <li>uninstalled RabbitMq and Erlang</li>
  <li>ended empd.exe in task manager </li>
  <li>deleted the directories for rabbitMQ and erlang</li>
  <li>deleted HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Ericsson from 'regedit'</li>
  <li>removed the service from services </li>
  <li>I also deleted the C:\Windows.erlang.cookie and C:\Users[username]/.erlang.cookie.</li>
  </ol>
  
  <p>After I tried reinstalling using this other guide: <a href="https://cmatskas.com/getting-started-with-rabbitmq-on-windows/" rel="noreferrer">https://cmatskas.com/getting-started-with-rabbitmq-on-windows/</a></p>
  
  <ol>
  <li>installed Erlang</li>
  <li>downloaded and installed rabbitMQ</li>
  <li>Navigate to the sbin directory of the RabbitMQ Server installation directory. 'C:\Program Files (x86)\RabbitMQ Server\rabbitmq_server-3.3.4\sbin'
  and ran 'rabbitmq-plugins.bat enable rabbitmq_management'</li>
  </ol>
  
  <p>I navigated to <a href="http://localhost:15672/" rel="noreferrer">http://localhost:15672/</a> and the site was unreachable. I opened up services to make sure that the rabbitMq service was on and it was not even created. I tried running the command 'rabbitmq-service install' as admin and got the following back </p>
  
  <p><code>RabbitMQ service is already present - only updating service parameters
  C:\Program Files\erl9.2\erts-9.2\bin\erlsrv: Warning, could not set correct interactive mode. RabbitMQ
  Error: The handle is invalid.
  C:\Program Files\erl9.2\erts-9.2\bin\erlsrv: Warning, could not set correct service description (comment) RabbitMQError: The handle is invalid.</code> </p>
  
  <p>I am wondering if i missed a step somewhere. Cant get rabbit to work. </p>