Installing GnuGK as a service on Vista, step by step
(This will work on Windows 2K3 server, XP Pro, etc. with minor changes in the Regedit UI.  Details are at MS keywords: kbhowto KB137890)

Needed:	Location in this example:	
Gnugk.exe	C:\Program Files\Gnugk\bin	
gatekeeper.ini	C:\Program Files\Gnugk\bin	
instsrv.exe*	C:\Program Files\reskit	
srvany.exe*	C:\Program Files\reskit	

NOTE: *these 2 files are part of the Windows 2003 Resource Kit Tools, freely downloadable from Microsoft, currently at http://www.microsoft.com/downloads/details.aspx?FamilyID=9D467A69-57FF-4AE7-96EE-B18C4790CFFD&displaylang=en
I don’t know any details about the redistribution rights, if any, for these files. They may also be available as part of the Windows Vista Resource Kit.

1.	Open a command prompt window as Administrator  (From the Start Button, type “cmd” in the Search box  –  not the Run box  – , then SHIFT+CTL+ENTER) The title bar of the command prompt window should confirm with “Administrator:”

2.	At prompt, enter:  
path\INSTSRV.EXE My Service path\SRVANY.EXE 
where “My Service” is the name you give to the service

For example:
C:\Program Files\reskit\instsrv.exe GnuGKServ C:\Program Files\reskit\srvany.exe
“GnugkServ” is the name that will appear in the Services control panel

3.	You should get a confirmation in the command window that your service was successfully created. Confirm using regedit to find:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\GnuGKServ

The “ImagePath” value should point to srvany.exe

4.	Navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\GnuGKServ

5.	From the Edit menu, choose New  Key. Type the following and click OK:

6.	Name the new Key: Parameters

7.	(With the Parameters key highlighted) From the Edit menu, choose New  String Value. 

8.	Name the new Value: Application

9.	Double-click the Application value, and enter:
c:\progra~1\GnuGK\bin\gnugk.exe

(note that you must use the short 8.3 MS-DOS type Windows names here)

10.	Add 2 more string values:

a.	Name:	AppDirectory
Value:	C:\Program Files\GnuGK\bin	(long or short directory names okay here)

b.	Name:	AppParameters
Value:	-c gatekeeper.ini -o gnugk.log –ttt 	(You can enter whatever startup parameters you wish. )

11.	Close Regedit

12.	The service is configured to run Automatically under the System account. You can change it to run as Manual (or Disabled) in the Services control panel, and change the logon account if you wish.