title: running a javaservice using the administrator user
body: <p>I have a Java application which I want to run it using the <a href="http://javaservice.ow2.org/docs/devdocs/devcmds.html" rel="nofollow noreferrer">JavaService</a> wrapper. </p>
  
  <p>The service works well when the -user parameter is not used (using the defaul user as local system).</p>
  
  <p>For permissions reasons, I need use the administrator user as a owner of service, but the following message apears when I start it.</p>
  
  <p><a href="https://i.stack.imgur.com/3eGRh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3eGRh.png" alt="enter image description here"></a></p>
  
  <p>Translate: It can not start the service due to error in the login.</p>
  
  <p>The service.exe install command is the following:</p>
  
  <p>JavaService.exe -install "ServiceName" "%JAVA_HOME%\bin\client\jvm.dll" -start "ServiceClass" -user ".\Administrador" -password "1234"</p>
  
  <p>UPDATE:
  If I change the user of the service using the services.msc console, the result is the same.</p>