FoldingAtWork

Folding At Work (F@W) can be downloaded from here.

F@W is small tool designed to make installation of in an office environment easy.

It's main target is system administrators, but it can be useful even for a single computer to easily setup to run only at desired time.

Features:
 * Configuration through two text files.
 * Installation as a service of as many clients as you need.
 * can be scheduled to run when you want (nights and weekends if you want)
 * Once the first computer is configured, installing on another one just means copying files and running two commands.

Example on how to configure Folding At Work
Let's take a simple example on how to configure F@W. Let's suppose you are the administrator of a lot of computers at your office, and you want to run on them. You have a few constraints: With F@W, you can configure this easily.
 * You want to run one instance on single processor computers.
 * You want to run two instances (one advmethods, one normal) on duallies.
 * You want to run four instances (one advmethods, three normal) on quad.
 * You want to run only during offwork hours (not from 8 am to 6 pm on Monday to Thursday, not from 8 am to 4 pm on Friday).
 * You also have a few computers on which you can run 24/7.

Create the file and directory structure
Let's suppose you want to install everything in :
 * Create the directories, , , , ,.
 * Download "no nonsense" text-only console, rename it to  and copy it into, ,  and.
 * CD to and configure the  client with.
 * CD to and configure the  client with  (don't forget to change the MachineID).
 * CD to and configure the  client with  (don't forget to change the MachineID).
 * CD to and configure the  client with  (don't forget to change the MachineID).
 * Download Folding At Work, and unzip it in.
 * If is not in the  directory, then download it (for example, from here, here, ..., or google for srvany.exe download) in this directory.

Setup the different configurations
Since you want to run on single processors computers, on duallies and on dedicated single processors computers, you need to setup three configurations for F@W. The two configurations can be defined in a single file named. This file will be used to install Folding@Home as a service on each of your computers.

The configuration is done through the file:  

The section lets you define the different configurations you have among your computers: 1 for computers with one client, 1d for dedicated computers with one client, 2 for computers with two clients and 4 for computers with four clients.

The section contains settings that will be used for each client unless stated otherwise in the client configuration. In the above example, you can see that:
 * The filename for the client is
 * The flag will be used
 * The flag won't be used
 * The description of the client in the Services window will be "Folding@home client"
 * The default verbosity will be used

The other sections contain settings about each client. In the above example, you can see that:
 * The client Folding1 (and also Folding1d) is in and will use the  flag.
 * The client Folding2 is in
 * The client Folding3 is in
 * The client Folding4 is in
 * The name displayed in the Services window will be "Folding@home client n"

Configuration of the conditions to run the clients
The second step is configuring when you want the clients to be run.

The configuration is done through the file (this file will need to be copied in your Windows directory):  

Each section contains the settings about when each client will be run. In the above example:
 * clients Folding1, Folding2, Folding3 and Folding4 will be started at 6 pm (1800) from Monday (day 1) to Thursday (day 4), and at 4 pm (1600) on Friday (day 5);
 * clients Folding1, Folding2, Folding3 and Folding4 will be stopped at 8 am (0800) from Monday (day 1) to Friday (day 5).
 * if client Folding1, Folding2, Folding3 and Folding4 is started/stopped manually, F@W won't stop/start it (you can change this by modifying the ForceStart and ForceStop parameters)
 * client Folding1d will run 24/7, and F@W will restart it automatically if stopped manually.

Deploying Folding At Work on many computers
The setup is done, now you only need to deploy F@W. That's quite easy: All the clients are now configured as service.
 * Copy the complete directory to the computer you are installing.
 * Move the from the  directory to your Windows directory (,, ...).
 * CD to the directory and run the command:
 * for a single processor,
 * for a duallie,
 * for a quad,
 * for a dedicated computer with one client.
 * Run the command to install and start F@W.

That's it :)