[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 405
  • Last Modified:

Add application as service in Windows 2003

Hi All

I have an application I need to add as a service in windows 2003 Server.

Service name = XMLRequest
Server Name = 1TESTINT
Binary = C:\Program Files\XMLfeeder\XMLRequestService\XMLRequestService.exe
Display Name = XML Request Service
Logon = Local System
No Dependencies

Any ideas would be appreicated. I had the below but I dont know if its correct as it gives me syntax errors.

sc \\1testint create [XMLRequest] [c:\program files\XMLfeeder\XMLRequestService\XMLRequestService.exe] DisplayName= <XML Request Service>

Thanks

Arm
0
ArmstrongInt
Asked:
ArmstrongInt
1 Solution
 
rizla7Commented:
leave out the brackets and stuff.

http://support.microsoft.com/kb/251192

check out the syntax at the bottom:

sc \\remotecomputer create newservice binpath= c:\nt\system32\newserv.exe
0
 
ArmstrongIntAuthor Commented:
spot on mate cheers...
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now