title: Windows could not start the RabbitMQ Service on local Computer
body: <p>I am trying to start RabbitMQ service on my local Windows laptop but I keep getting this error:</p>
  
  <p><a href="https://i.stack.imgur.com/gBu2K.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/gBu2K.jpg" alt="enter image description here"></a></p>
  
  <p>I first downloaded erlang (OTP 19.0 Windows 64-bit Binary File) from here: <a href="http://www.erlang.org/downloads" rel="noreferrer">http://www.erlang.org/downloads</a>. 
  Then I downloaded RabbitMQ from here: <a href="https://www.rabbitmq.com/install-windows.html" rel="noreferrer">https://www.rabbitmq.com/install-windows.html</a></p>
  
  <p>Erlang seems to have installed correctly - I don't see any errors in the logs. RabbitMQ shows this message in the installation logs:</p>
  
  <pre><code>Installing RabbitMQ service...
  The filename, directory name, or volume label syntax is incorrect.
  The filename, directory name, or volume label syntax is incorrect.
  The filename, directory name, or volume label syntax is incorrect.
  C:\Program Files\erl8.0\erts-8.0\bin\erlsrv: Service RabbitMQ added to system.
  Error spawning C:\Program Files\erl8.0\erts-8.0\bin\epmd -daemon (error 0)
  Starting RabbitMQ service...
  The filename, directory name, or volume label syntax is incorrect.
  The filename, directory name, or volume label syntax is incorrect.
  The filename, directory name, or volume label syntax is incorrect.
  C:\Program Files\erl8.0\erts-8.0\bin\erlsrv: Failed to start service RabbitMQ.
  Error: The process terminated unexpectedly.
  </code></pre>
  
  <p>I uninstalled both, restarted my laptop and reinstalled but still doesn't work.</p>
  
  <p>I also added Firewall Rules but still no luck. The 2nd firewall rule is for allowing connection for these ports: 4369, 25672, 5672, 5671, 15672, 61613, 61614, 1883, 8883</p>
  
  <p><a href="https://i.stack.imgur.com/NK473.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/NK473.jpg" alt="enter image description here"></a></p>