title: WMI access on a remote server (different domain)
body: <p>I have been trying to make MySQL Workbench's Remote Server Administration to work with my WMI service installed on a Windows 2008 R2 server.</p>
  
  <p>I would like to know if the following syntax is correct and sufficient in order to check if WMI access has been enabled on the server.</p>
  
  <p>wmic /node:myserver.com /user:wmi_user /password:123456 systemenclosure get serialnumber</p>
  
  <p>I have tried the above command from my home laptop however it gives "The RPC server is unavailable" error.</p>
  
  <p>What I have done so far on the server:</p>
  
  <ul>
  <li>User Account with WMI Rights</li>
  </ul>
  
  <p>Created a separate user account for WMI access(user: wmi_user and it is a member of administrator group).</p>
  
  <ul>
  <li>Enabled WMI traffic on the firewall using the following command:</li>
  </ul>
  
  <pre>
  netsh advfirewall firewall set rule group="windows management instrumentation (wmi)" new enable=yes
  
  netsh firewall set service RemoteAdmin enable
  </pre>
  
  <ul>
  <li>CIMOM settings</li>
  </ul>
  
  <p>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\CIMOM\AllowAnonymousCallback change the value from 0 to 1.</p>
  
  <ul>
  <li>UAC settings</li>
  </ul>
  
  <p>I have adjusted the UAC for wmi_user to never notify.</p>
  
  <ul>
  <li>DCOM settings</li>
  </ul>
  
  <p>I've read on one article which mentions if the user is in the administrator group, there is no need to change this setting.</p>
  
  <p>Please let me know if there's anything else I missed out. Thank you. </p>