Launching a program as a service
|
Original Message
|
Name: Nader
Date: July 20, 2002 at 22:40:36 Pacific
Subject: Launching a program as a service |
Comment: Hi, Would anybody have a clue as to how I can launch a program like the old procomm for windows(communication program) as a service, so that in case of power failure and reboot the program is running before someone actually logs in. Otherwise is it possible to get rid of the Ctrl-Alt-Delete loggin screen and have the PC log in directly as a specified user ? Thanks Nader
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: Maxwolf
Date: July 20, 2002 at 23:14:16 Pacific
|
Reply: (edit)TweakUI sounds like your answer if you want to log in as a specific user and bypass the Ctrl-Alt-Delete crap. You can get it off microsofts site for free under the downloads for Windows NT.
Report Offensive Follow Up For Removal
|
|
Response Number 2
|
Name: Dr.Know
Date: July 21, 2002 at 23:12:36 Pacific
|
Reply: (edit)I't is not possible to tell all the details here, but in brief: For starting a program as a service , you have to submit it to the service control manager where you will tell startup options(auto/manual/disable). accordingly the program will be started when the system boots.Also whether it will have gui etc. etc. For this you will have to use service control mangaer API's. sample and API's help can be found in MSDN online help.
Report Offensive Follow Up For Removal
|
|
Response Number 3
|
Name: Robert Schut
Date: July 23, 2002 at 10:31:29 Pacific
|
Reply: (edit)check it out make service with Sc.exe http://support.microsoft.com/default.aspx?scid=KB;EN-US;q251192&
Report Offensive Follow Up For Removal
|
Use following form to reply to current message: