|
|||||||
| Windows XP / 2000 / NT / 9x Forum Discussion for Windows operating systems from XP right back to the very beginnings! |
![]() |
|
|
Thread Tools |
|
|
#1 | |
|
Obvious Closet Brony Pony
|
NET, Need to create a Service...
As you know, i'm not exactly fond of fiddling with the registry or core system files or configurations..
However, i need to know HOW to create a simple Service... Basically i have to run a program... have it restart if it crashes (i'm not sure if you can get it to create a log file in a specific place) and i'm not sure if it's possible that if it crashes a certain number of times in a row.. that'll stop and give an error... It needs to have priority setting as well.. above normal.. it will start on bootup.... The program that is start start has a Command string on it as well... example: D:\Unreal\UT2K3\System\UCC.exe server DOM-Ruination.ut2?Game=XGame.xDoubleDom?Mutator=UT2Vot e21.UT2Vote ini=Server\JudasUT2K3.ini log=Server\JudasUT2K3.log that's how it needs to look... it needs the INI= command for sure or else there will be problems.. ![]() also... i've tested it with a simple shortcut... so i know it works without using a BAT file... Now, is this possible? and how do i go about making the service?
__________________
Quote:
|
|
|
|
|
|
|
#2 |
|
Member
Join Date: Mar 2003
Posts: 5,989
Rep Power: 71 ![]() ![]() ![]() ![]() |
i need to test that but basically you need "srvany.exe" (Applications as Services Utility ) from the Resource Kit.
http://www.microsoft.com/downloads/d...displaylang=en and then see this http://support.microsoft.com/?scid=kb;en-us;137890 also see if this helps ... http://www.planetunreal.com/TheAdminPage/nt4service.htm ------------------------------ Last edited by Ctrl-Alt-Del; Dec 5, 2004 at 11:56 PM. |
|
|
|
|
|
|
|
|
Obvious Closet Brony Pony
|
ok.. so it's fairly involved... but i'm not sure if the Resource KIT is absalutely nessary.. or is it?
would simply going into the registry adding a folder called say for example: UT2K3Server with the parameters set with the D:\Unreal\UT2K3\System\UCC.exe server DOM-Ruination.ut2?Game=XGame.xDoubleDom?Mutator=UT2Vot e21.UT2Vote ini=Server\JudasUT2K3.ini log=Server\JudasUT2K3.log and then reboot... it should work right? then i could set other values through the services configuration built into windows by default.... or no?
__________________
Quote:
|
|
|
|
|
|
|
#4 |
|
Member
Join Date: Mar 2003
Posts: 5,989
Rep Power: 71 ![]() ![]() ![]() ![]() |
you need the file, i can email you just the .exe with instruction, also will check the registry later and see if i can come up with something easy for you to apply and to remove it from registry when you don't need it.. later.
------------------ emailed to your DH address. not in email message.. you have to edit your registry, to modify subkey value(s) of this below key.. [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\UT2K3Server] try it, don't worry. if any problem, pls email me or post.. Last edited by Ctrl-Alt-Del; Dec 6, 2004 at 01:45 AM. |
|
|
|
|
|
|
|
|
Obvious Closet Brony Pony
|
thanks.. i'll give it a try
__________________
Quote:
|
|
|
|
|
![]() |
| Thread Tools | |
|
|