To create a new service in server 2003 or xp you use the sc.exe tool.
REMEMBER TO ADD A SPACE AFTER EVERY EQUAL SIGN!!!! THIS IS VERY IMPORTANT!
sc create “my service” binPath= “c:\myfile.exe” type= “own” start= “auto” DisplayName= “my service” error= “normal”
Obviously replace “my service” with whatever you want to call the service . . . → Read More: create new service server 2003
Need to start the plug and play service in server 2003?
sc config PlugPlay start= auto net start “PlugPlay”
In this case my error looked something like: “The Tomcat6 service was unable to log on…” This service account does not have the necessary user right “Log on as a service.”
Because I was running Tomcat6 on an active directory domain controller (windows server 2003) I was unable to grant “Log on as a service” . . . → Read More: HowTo: Fix Event Log Error “service account does not have the necessary user right “Log on as a service.”