How to make this tutorial Vista'fied. (Running a program as a Service) - Printable Version
-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: How to make this tutorial Vista'fied. (Running a program as a Service) (/showthread.php?tid=73112)
How to make this tutorial Vista'fied. (Running a program as a Service) by prashker on 03-29-2007 at 03:34 AM
http://www.teamxlink.co.uk/forum/viewtopic.php?t=13010
That forum thread shows how to make XlinkKai (Xbox Tunneling Program, but thats not the point) run as a service.
I wanted to know if there are any differences in instructions, because I tried getting the Resource Kit, but when I installed it said there are compatibility issues.
Maybe there is some different Services setup in Vista, I dont know, but thats what you guys help for .
Thanks,
SonicSam
RE: How to make this tutorial Vista'fied. (Running a program as a Service) by Eljay on 03-29-2007 at 07:29 AM
That's the dodgiest, most long-winded way I have ever seen to install a service, why not just use Windows' built-in service control manager?
code: sc create "Xlink Engine" binPath= "C:\Program Files\XLink Kai Evolution VII\kaiLaunch.exe" start= auto
This will create the service and make it automatically start when you logon.
code: sc start "Xlink Engine"
This will make it start immediately instead of you having to restart to make it auto-start.
This will work on every NT-based version of Windows afaik.
RE: How to make this tutorial Vista'fied. (Running a program as a Service) by prashker on 03-29-2007 at 11:28 AM
I tried what you said but all I get is this.
quote: C:\Users\SonicSam>sc create "Xlink Engine" binPath= "C:\Program Files\Xlink Kai Evolution VII\kaiLaunch.exe" start=auto
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.
A space is required between the equal sign and the value.
type= <own|share|interact|kernel|filesys|rec>
(default = own)
start= <boot|system|auto|demand|disabled|delayed-auto>
(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>
C:\Users\SonicSam>
RE: RE: How to make this tutorial Vista'fied. (Running a program as a Service) by CookieRevised on 03-29-2007 at 12:28 PM
maybe: quote: C:\Users\SonicSam>sc create "Xlink Engine" binPath= "C:\Program Files\Xlink Kai Evolution VII\kaiLaunch.exe" start=auto
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.
A space is required between the equal sign and the value.
(...)
?
PS: if it works, post it in that other thread on that forum
RE: How to make this tutorial Vista'fied. (Running a program as a Service) by prashker on 03-29-2007 at 10:54 PM
Woops didnt see that .
[SC] CreateService SUCCESS
Thanks .
* prashker posts new thread there.
edit:
C:\Users\SonicSam>sc start "Xlink Engine"
[SC] StartService FAILED 1053:
The service did not respond to the start or control request in a timely fashion.
|