Installing the JChem Server as a service on Windows Server 2008
The JChem installation instructions points you to using srvany.exe to wrap the server.bat startup script.
Srvany is the old (pre-Vista/2008) way of wrapping any exe or cmd in a service container. (This is needed to provide the service start, stop, pause hooks that services need, and normal exes don't provide)
On Windows 2008 Server and Windows Vista, Instad of installing the server using srvany.exe, you simply create a Scheduled Task that is set to trigger on system startup.
Program/Script should be the
ChemAxonJChemcartridgeserver.bat
argument simply
start
Be sure to specify startup directory
ChemAxonJChemcartridge
and "run wheter user is logged on or not". You should be able to run the task as SYSTEM.
In Task "Properties/Settings" I would suggest you set "run task as soon..." to true, and specify failure recovery policy.