title: RABBITMQ - Applying Plugin Failed
body: <p><strong>EDIT:</strong> After setting the rabbitmq variables up in System Environment Variables and trying another un/reinstall the issue is resolved.</p>
  
  <blockquote>
    <p>The following plugins have been enabled:   rabbitmq_shovel</p>
    
    <p>Applying plugin configuration to rabbit@MSGTEST01... started 1 plugin.</p>
  </blockquote>
  
  <p><strong>END EDIT</strong></p>
  
  <blockquote>
    <p>c:\RabbitMQ\rabbitmq_server-3.6.12\sbin>rabbitmq-plugins enable
    rabbitmq_shovel rabbitmq_shovel_management Plugin configuration
    unchanged.</p>
    
    <p>Applying plugin configuration to rabbit@M... failed. Error:
    {enabled_plugins_mismatch,"c:\Users\\AppData\Roaming\RabbitMQ
    \ENABLE~1",
                                     "c:\RabbitMQ\ENABLE~1"}</p>
  </blockquote>
  
  <p>I set the following then reinstalled the service:</p>
  
  <pre><code>set RABBITMQ_BASE=c:\RabbitMQ
  set RABBITMQ_CONFIG_FILE=c:\RabbitMQ\rabbitmq
  set RABBITMQ_LOG_BASE=c:\RabbitMQ\logs
  set RABBITMQ_MNESIA_BASE=c:\RabbitMQ\db
  set RABBITMQ_ENABLED_PLUGINS_FILE=c:\RabbitMQ\enabled_plugins
  </code></pre>
  
  <p>Why is it still looking in my roaming profile for anything? Moreover, ENABLE~1 doesn't look like a valid filename. </p>
  
  <ul>
  <li>I've tried blowing away my roaming profile data, RabbitMQ recreates the files. </li>
  <li>I've tried copying my C:\RabbitMQ\enables_plugins to roaming, same thing. </li>
  <li>Tried the reverse, same thing. </li>
  <li>I've tried uninstalling and resintalling the service, same thing.</li>
  </ul>
  
  <p>I'm able to enable the management ui after install, but not rabbitmq_shovel and cannot figure out what the issue is.</p>
  
  <p>Again, this works after install: </p>
  
  <pre><code>rabbitmq-plugins enable rabbitmq_management
  </code></pre>
  
  <p>This fails with the error above:</p>
  
  <pre><code>rabbitmq-plugins enable rabbitmq_shovel
  </code></pre>
  
  <p>I'm running these commands as Admin in CMD.</p>