[sdw2003] How to create a service on a windows 2003

Néstor rotsen at gmail.com
Wed Dec 9 09:59:23 PST 2009


Windowers,

I am trying to create a service on a windows 2003 host and I am using some
examples from this page http://support.microsoft.com/kb/251192
but it is not working.

can someone that knows windows give me a hint on creating a service
or what am I doing wrong?

Below is hte command I am using ante response from the server:
------------------------------------------
C:\>*sc.exe create SolrService binPath="D:\start_solr.bat" start=boot*
DESCRIPTION:
        Creates a service entry in the registry and Service Database.
USAGE:
        sc <server> create [service name] [binPath= ] <option1> <option2>...

OPTIONS:
NOTE: The option name includes the equal sign.
 type= <own|share|interact|kernel|filesys|rec>
       (default = own)
 start= <boot|system|auto|demand|disabled>
       (default = demand)
 error= <normal|severe|critical|ignore>
       (default = normal)
 binPath= <BinaryPathName>
 group= <LoadOrderGroup>
 tag= <yes|no>
 depend= <Dependencies(separated by / (forward slash))>
 obj= <AccountName|ObjectName>
       (default = LocalSystem)
 DisplayName= <display name>
 password= <password>
---------------------------------------

Thanks,

Néstor :-)


More information about the sdw2003 mailing list