View Single Post
Old 12-13-2002, 02:45 PM   #12
Noah_abx
I Fold! (for ABX)
 
Noah_abx's Avatar
 
Join Date: Mar 2002
Location: Rochester, NY
Posts: 2,956
Running the Folding at Home command line client as an NT service.

edit: Fahsi over at [H] has a windows installer to set up FAH as a service:

http://www.shroomery.org/files/fahsi/

Or, by hand:

The following procedure works for Windows 2000 and Windows XP:

1) Download the client if you don't already have it:
http://folding.stanford.edu/release/FAH3Console.exe

2) Next, you need two NT utilities called INSTSRV.EXE and SRVANY.EXE. Get them here:
http://setiathome.berkeley.edu/service.zip

3) Put them in your Folding at Home directory - I'll use c:\fah for simplicity.

4) Next, open a commend prompt (run - cmd). At the prompt, type:

cd c:\fah
instsrv fah c:\fah\srvany.exe

(it will tell you the service has been sucessfully installed)

5) open the registry editor (run - regedit)
Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\fah

Create a New Key (folder) called "Parameters" inside the fah key (folder)
In the Parameters key, create a new String Value called AppDirectory
double-click it and set its value to c:\fah\ (or your fah directory if different)
Also inside Parameters, create a new String Value called "Application"
double-click it and set its value c:\fah\FAH3Console.exe
(again, the c:\fah\ part would be different if you fah directory is different)

6) Finally, open your services control panel and find fah - Right click it and pick start (it will be set to automatic already).

7) Use the CPU monitor in the task manager (ctrl-alt-del) to verify that it's at or very near 100% (uniprocessory systems).

Cheers!
Noah
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

The Fold needs your help!
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by Noah_abx; 12-29-2002 at 07:51 PM..
(Offline)   Reply With Quote