back to index
M4 Project Client Install
M4 Project

This page is only for versions prior to 0.76!


WinXP Home: How to run enigma-client automatically in the background:

This page contains step by step install instructions for the WinXP distributed computing client for the M4 Project.

If the file C:\WINDOWS\system32\schtasks.exe is present on your system, you can probably use the WinXP Pro Client Install Instructions.


Download:


Dial-up connections:

If you have a dial up internet connection, make sure that dial-on-demand is disabled.

This link might help (go to Solution 3): http://www.humboldt1.com/services/dialonown/


Install enigma-client:


Unzip enigma-suite-winXPexe-0.75.1.zip
Change into the unzipped folder
Then run (double click) eclient-XP-Home-install.bat

eclient-XP-Home-install.bat performs these actions:

Change password to a secure random password:


Goto Start -> Control Panel
Click on "User Accounts"
Click on "enigma-client"
Click "Change the password"
Enter a new secure random password
Remember or write down the password
Click "Change password"

Create the background task:


Goto: start -> All Programs -> Accessories -> System Tools
Click on "Scheduled Tasks"
Double Click "Add Scheduled Task"
In the Wizard, click "Next"
Browse to the folder C:\EnigmaClient
Select ecrunXP.bat
Click "Open"
Select "When my Computer starts"
Click "Next"
Enter "enigma-client" as the user name
Enter the password you chose earlier
Click "Next"
Select "Open advanced properties ..."
Click "Finish"
Click the "Settings" tab
Deselect "Stop the task if ..."
Click "Apply"
Click "OK"

Reboot

Check if enigma-client is running:


Fire up the Task Manager:  Ctrl-Alt-Del
Select the "Processes" tab

You should see enigma-client.exe among the running processes. If you are connected to the Internet, and enigma-client.exe has managed to get a workunit, you should also see enigma.exe among them.

Log information is written to logfile in the run folder.


Receive important announcements:

For important announcements about the software, please subscribe to the low volume read-only mailing list m4-announce. Also check out the other mailing lists.

You're done now. If you don't want to take part anymore, follow the uninstall instructions.


Run the client on additional CPUs/cores:

You cannot run several clients in the same run folder. Thus, you have to create additional run folders:


Change into the folder "add-cpus"

# To create a second run folder, double click:
make-2nd-rundir.bat

# To create a third run folder, double click:
make-3rd-rundir.bat

# To create a fourth run folder, double click:
make-4th-rundir.bat

Then go through the procedure of creating a
background task for each new folder.


Please be very careful not to create a second
background task for the *same* folder!


During the process, you have to give each background task
a new name, I suggest ecrunXP2, ecrunXP3, ecrunXP4.


Uninstall enigma-client:

If the client is running, stop it first:


Fire up the Task Manager:  Ctrl-Alt-Del
Select the "Processes" tab
Select the process "enigma-client.exe"
Click "End Process"
Confirm the action with "Yes"
Select the process "enigma.exe"
Click "End Process"
Confirm the action with "Yes"

If you still see processes owned by user enigma-client, end them.

Remove all files created for the client:


Delete the folder C:\EnigmaClient

Remove the task from the task scheduler:


Goto: start -> All Programs -> Accessories -> System Tools
Click on "Scheduled Tasks"
Right click "ecrunXP.bat"
Click on "delete"
Confirm the action with "Yes"

Complete removal of user enigma-client only works after reboot:


Reboot
Goto start -> Control Panel
Click on "User Accounts"
Click on the account of "enigma-client"
Click "Delete the account"
Click "Delete Files"
Click "Delete Account"

That's it, there are no registry entries that have to be removed.


Contact:

Stefan Krah <website @ bytereef.org>