Folding on Windows w/o registry

Mohonri

Supreme [H]ardness
2FA
Joined
Jul 29, 2005
Messages
5,775
I've toyed a bit with F@H, and have a question. You see, I would love to fold at work, but our machines are locked down, so F@H can't create its registry entry for machineID. Is there a way to run F@H without using the registry at all? Currently, I put in a spare notebook hard drive when I go home, and have the machine fold overnight, but I can't do that at work, since then I don't have access to the network, not to mention all the apps. Can I extract the machineID from the registry on the spare hard drive and put it in a local config file?

In short, I need to:
-run F@H on WinXP
-not use registry (bonus: put machineID from registry into local config)
 
You can use the -local switch in the command line, which will bypass registry settings and instead use the cfg file that's created on initial startup. Here is the relevant entry on the -local flag from the FAQ.

FAQ said:
-local
Use configuration files from local directory. This option has no meaning on Linux, but is vital on Windows and Macintosh for running multiple clients on a machine. It instructs the client to read its config information from the client.cfg file in the current directory rather than, on Windows, from the installation directory specified in the registry, or, on Macintosh, the Library/Folding@home directory. Information such as the user name, team name, proxy information, machine ID are maintained in the client.cfg file. The flag ensures that work does not conflict. Use "-local" only if you are planning on running more than one instance of Folding@Home on the same machine (this is only useful if you are running on a multi-processor machine). Create as many directories as there are processors on the machine, copy the exe files and client.cfg file into each of these directories, run "FAH3Console -local -config" on each and specify unique machine IDs for each directory (under the Advanced Settings option). From then onwards you may run each copy by switching to its directory and running with the -local flag.


 
That sounds like half of the solution. I guess I didn't explain the other half of the problem. Oops.

Second half of the problem: the machine is locked down to the point where only certain applications (pre-loaded on the machine) can access the network. Thus, I can't even use PortableFirefox on it. Because of this, F@H can't get a machine ID from Stanford. This is the origin of the question about extracting the machineID from the registry and putting it into the client.cfg
 
Could you install it on another machine (at home), and use a thumb drive to transfer the files?


Keep on Folding!! For the [H]orde!!

 
If you run the -local flag, you don't need to have the registry settings machine ID, as it takes a machine ID you specify for the client in the configuration steps. The only thing the machine ID tells Stanford is that it's a different CPU, so you will end up with an extra CPU count, one for the work session and the other for the home session.

My suggestion would be to run the config with the -local and -config on your home session, set it up how you'd like it, and carry over the client.cfg from home to work, and run the work with the -local. That way the client.cfg is the same and you'll essentially be running the same session for both times.

 
I will try that as soon as I get home. Thanks for the advice.
 
p[H]ant0m said:
If you run the -local flag, you don't need to have the registry settings machine ID, as it takes a machine ID you specify for the client in the configuration steps. The only thing the machine ID tells Stanford is that it's a different CPU, so you will end up with an extra CPU count, one for the work session and the other for the home session.

My suggestion would be to run the config with the -local and -config on your home session, set it up how you'd like it, and carry over the client.cfg from home to work, and run the work with the -local. That way the client.cfg is the same and you'll essentially be running the same session for both times.


How do you run with -local flag?
I changed the name in properties from FAH502-Console to FAH502-Local and I still receive an error message - "could not get id from server"
 
Should the command not be Fah502-Console.exe -local ?
 
Mohonri said:
Should the command not be Fah502-Console.exe -local ?

That would be correct, I at least, just create a couple of shortcuts, one with the target similar to that, and the other using -configonly and such, makes configuration and usage much easier.


 
I would like to point out that a machine that is this locked down is not a good canidate for FAH...do you have permission for this venture?
 
From my boss, yes. From the IT folks, no. It's understandable from their POV, since allowing people to make registry changes would cause them major headaches. In general. Besides, things are a lot more secure if the user can't edit the registry.
 
AtomicMoose said:
I would like to point out that a machine that is this locked down is not a good canidate for FAH...do you have permission for this venture?

Yea sorry to rain on things but I was kinda thinking this too.
 
Aratech said:
I did this without success. I still get an error message. :(

Here is a screen cap of what my -configonly shortcut looks like. I just generated a shortcut to the console executeable and did a properties on the shortcut:

target5um.jpg


I've hightlighted the line you'll want to modify, just remove -configonly and replace it with -local. And like moose and marty said, don't do it unless you have permission.


 
As a/an:
sysadmin
folder
IAT security
GOB (general overbearing oldfart)
I've found that the only reliable way to run with the local switch is to be able to edit the registry.
It seems you have to get the PandeGroup in there before the system works.
Not having IT's permission but having your boss' permission has a potential of seeing who can piss higher. Just don't get under the stream:)


 
Well, it appears that gnewberry was correct. There is no apparent way to run the client without the registry key. I was able to get it running on the pen drive when I was booted on my own HD (using the -local flag), but even with the -local flag, it still apparently insists on using the registry.

Oh, well. As interesting as it would be to watch my boss put the hammer down on the IT guys, I'm a little new here to be making waves. I guess I'll have to settle for folding on non-work hours on this machine. Bummer.
 
gnewbury said:
As a/an:
sysadmin
folder
IAT security
GOB (general overbearing oldfart)
I've found that the only reliable way to run with the local switch is to be able to edit the registry.
It seems you have to get the PandeGroup in there before the system works.
Not having IT's permission but having your boss' permission has a potential of seeing who can piss higher. Just don't get under the stream:)



QFT. Being between at odds with the IT guys can be a nightmare if you've done something to piss them off. Need your computer fixed, or legit software installed? It'll happen..............eventually....

 
Think UD can run in this case? Still helping the cause.
 
After reading this last night, I downloaded the text only console version and got it running on my work machine with no admin rights. Just downloaded it to its own folder, clicked it and it did its thing within the folder. Now I just cant get it out of the task bar while its running.
 
Back
Top