Page 1 of 1

Running EQ2World and EQ2MiniLogin as a service (Windows)

Posted: Sat Oct 10, 2009 12:50 pm
by bolly
Download a copy of Windows 2003 resource kit for a copy of instsrv and srvany

At command prompt type

"path\INSTSRV.EXE" Eq2World "path\SRVANY.EXE"

Where path is the path of your instsrv and srvany files

Now do the same for minilogin

"path\INSTSRV.EXE" EQ2Login "path\SRVANY.EXE"

Then, go to Registry, with REGEDIT

Setup EQ2World

Goto HKeyLocalMachine\SYSTEM\CurrentControlSet\Services\EQ2Login
Create a "Parameters" key
Open the "Parameters" key
Create a string value (REG_SZ) within the "Parameters" key called 'Application'
Edit "Application" and specify the full path of your eq2world executable
ie: c:\eq2emu\eq2world.exe
Create a string value (REG_SZ) within the "Parameters" key called 'AppDirectory'
Edit "AppDirectory" and specify the full path of your eq2world.exe folder
ie: c:\eq2emu

Setup EQ2MiniLogin

Goto HKeyLocalMachine\SYSTEM\CurrentControlSet\Services\EQ2Login
Create a "Parameters" key
Open the "Parameters" key
Create a string value (REG_SZ) within the "Parameters" key called 'Application'
Edit "Application" and specify the full path of your eq2minilogin executable
ie: c:\eq2emu\eq2minilogin.exe
Create a string value (REG_SZ) within the "Parameters" key called 'AppDirectory'
Edit "AppDirectory" and specify the full path of your eq2minilogin.exe folder
ie: c:\eq2emu

Barely proof read and needs some tidy up, maybe another day. Enjoy!

Re: Running EQ2World and EQ2MiniLogin as a service (Windows)

Posted: Mon Oct 12, 2009 7:48 pm
by Arremis
Very interesting Bolly, good work :)

I am curious though...what are the benefits of running these as a service instead of the regular way?

Re: Running EQ2World and EQ2MiniLogin as a service (Windows)

Posted: Mon Oct 12, 2009 9:07 pm
by Zcoretri
Arremis wrote:Very interesting Bolly, good work :)

I am curious though...what are the benefits of running these as a service instead of the regular way?
One would be that you could set it to automatic, and eq2world will start when windows starts up.

Re: Running EQ2World and EQ2MiniLogin as a service (Windows)

Posted: Thu Nov 19, 2009 7:43 pm
by Astal
yeah u need to tidy it up a bit but how do u get it to restart every x amount of minutes?

Re: Running EQ2World and EQ2MiniLogin as a service (Windows)

Posted: Thu Nov 19, 2009 10:26 pm
by bolly
net stop servicename
net start servicename

pop that in a batch file and then in scheduled tasks