Register Windows Service Register Windows Service Milleniumlegend (IS/IT--Management) (OP) 17 Mar 06 04:36 Could you please let me know how to register an windows Service on Server. I have a .exe application and would like to install that application as an exe. What command do I use to register that exe as a windows service. Many Thanks in advance RE: Register Windows Service mattKnight (Programmer) 17 Mar 06 08:19 Sadly, there is a little more to services than registering them...Is this a program you have written yourself? If so, you will need to add the service infrastructure. We will be able to help more if we had some idea of what language you are using.If this is an executable not written by you, maybe you shoudl contact the supplier and ask them if it is possible.Finally, you may find a "wrapper" that will encapsulate the executable in a service type framework. MS did one called srvany (I think) but it isn't supported by MS (and never was). Likewise there may be a commercial product that will do the same Take CareMattIf at first you don't succeed, skydiving is not for you. RE: Register Windows Service Milleniumlegend (IS/IT--Management) (OP) 17 Mar 06 10:03 Matt, Thanks for your thoughts. My problem is that we have an executable written in C++ and it is running on one of the servers at the moment. The team that implemented the services are not in existence. All I have at the moment is this executable and not much documentation on it. But I have the server where it is running at the moment and if the existing implementation helps then we could try to dig some info. What I am looking for is how to register this exe to the Service Control Manager so that it comes up everytime we bring the system up. any pointers would be great. RE: Register Windows Service mattKnight (Programmer) 17 Mar 06 13:45 Quote: it is running on one of the servers at the momentIs it running as a service now?If so, try a commandline parameter like<executable name> -serviceIf you get the correct one, it'll register as a service and stop executing, if not you will need to kill the process from task manager Take CareMattIf at first you don't succeed, skydiving is not for you. RE: Register Windows Service Milleniumlegend (IS/IT--Management) (OP) 17 Mar 06 23:03 matt, Yes it is running as a service right now but I would like to get this service installed on a new server. The problem is that I dont know how that was installed on the server where the service is running currently. I would like to replicate the service installation on the new server and would like to know what to look for and which files to be copied so that the service can be installed on the new box. Please let me know. Many thanks in advance.