Problems creating service using sc.exe

Posted by Shoko on Server Fault See other posts from Server Fault or by Shoko
Published on 2010-06-18T06:19:50Z Indexed on 2010/06/18 6:24 UTC
Read the original article Hit count: 276

Filed under:

I have this command to create a service:

sc create svnserve binpath="\"C:\Program Files (x86)\Subversion\bin\svnserve.exe\" --service --root C:\SVNRoot" displayname="Subversion" depend=tcpip start=auto obj="NT AUTHORITY\LocalService"

Unfortunately, it seems not to work, even though the syntax is correct. When I run it, I get the usage instructions (which I guess is a way of telling me that I've supplied incorrect arguments, although I have no idea what incorrect argument I might have supplied).

Can anyone help me out of my difficulty? Thanks!

© Server Fault or respective owner

Related posts about windows-service