title: Installing windows service on remote server
body: <p>Is it possible to install Windows service on a server remotely? I'm trying to do that with sc directive but gives me error:</p>
  
  <pre><code>sc \\remote_computer_IP create svc binPath="C:\Users\User\Documents\Visual Studio 2015\Projects\svc\svc\bin\Release\svc.exe" start= auto obj= "DOMAIN\usr" password= pass
  </code></pre>
  
  <blockquote>
    <p>[SC] OpenSCManager FAILED 5:</p>
    
    <p>Access is denied.</p>
  </blockquote>