• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Service shortcut

roz1281

Gawd
Joined
Nov 1, 2004
Messages
618
Is there any way I can make a shortcut to start/stop the folding service? I like to shut it down for doom3 and quake.
 
You should be able to use the net start and net stop commands in a batch file. I've tried doing some testing, but I'm not having any luck, so if anyone has any ideas shoot em in!



Edit: After looking, it seems that the net command can only start and stop specific, default Windows services, so it looks like that idea is out. :(
 
roz1281 said:
Is there any way I can make a shortcut to start/stop the folding service? I like to shut it down for doom3 and quake.

In XP you can just go to admin tools- services click the F@H service and then click on stop.
The graphical can be paused or stopped by right clicking on the red gear and selecting pause/stop as needed.
Good luck!


Thanks xENo!!!
 
Oh yea i know that, but I'm lazy and wanted to have a taskbar button for it, you know instead of going through the menu or /Run services.msc etc.

thanks for the ideas though didn't even think of the net cmd. :)

 
roz1281 said:
Oh yea i know that, but I'm lazy and wanted to have a taskbar button for it, you know instead of going through the menu or /Run services.msc etc.

thanks for the ideas though didn't even think of the net cmd. :)


I just wished the net cmd worked. That seems like it would probably be the only easily accessible way to do it, and I'm not finding anything that would do the same unless there was some way to do it through the windows scripting host.


 
I'm also curious how to shut the service off. I have had a few people ask me how to shut it off, and I hate not being able to give them the answer. Maybe Stanford should write up something or make a little script. I was actually just going to post this question. Weird.

-MN Scout
 
MN Scout said:
I'm also curious how to shut the service off. I have had a few people ask me how to shut it off, and I hate not being able to give them the answer. Maybe Stanford should write up something or make a little script. I was actually just going to post this question. Weird.

-MN Scout

I know the feeling. This question actually prompted me to finally look and see what I could find. I've been wondering it for the longest time, I was just too lazy to start looking.
:p

 
I didnt think the service thing was that bad to stop! :rolleyes:


Thanks xENo!!!
 
I've never seen the process intrude on anything I've done on my boxen, why would you want to turn it off? It won't produce any kind of increase in performance.

Well, on second thought, it would free a bit of ram, if you're that short on it.
 
DaSmurf said:
I've never seen the process intrude on anything I've done on my boxen, why would you want to turn it off? It won't produce any kind of increase in performance.

Well, on second thought, it would free a bit of ram, if you're that short on it.

At least for me, its caused a few issues while gaming. Not sure why, but it seems like every EA Game that I have likes to switch back to the desktop when F@H is running. Thats the only instance I've ever needed to shut it off. It's just odd that every other game I have works fine. Then again, it doesn't that much since I practically quit playing on my desktop.


 
p[H]ant0m said:
At least for me, its caused a few issues while gaming. Not sure why, but it seems like every EA Game that I have likes to switch back to the desktop when F@H is running. Thats the only instance I've ever needed to shut it off. It's just odd that every other game I have works fine. Then again, it doesn't that much since I practically quit playing on my desktop.

Are you using the "no non-sense console" version? I've only heard of that kind of problem from the graphical client... I use the console client, with 2 services running (P4 w/ HT), and play games regularly... I've never had that problem... even with Nascar Thunder '04... (which I believe is an EA Game, can't remember right now, my brother has/owns it)



Keep on Folding!!

 
OSUguy98 said:
Are you using the "no non-sense console" version? I've only heard of that kind of problem from the graphical client... I use the console client, with 2 services running (P4 w/ HT), and play games regularly... I've never had that problem... even with Nascar Thunder '04... (which I believe is an EA Game, can't remember right now, my brother has/owns it)



Keep on Folding!!


Not on that box, it's the only one in my garden running the graphical. I guess I'll have to give that a try when I get home tonight. If that's the case, my wife is just going to have to do without watching "As the Protein Folds". :D

 
Just get and run EMIII... it has a protien viewer.... then, everyone's happy...... you can play games, she can watch the protiens, and you don't have to worry about forgetting to turn the service back on :D


Keep on Folding!!

 
OSUguy98 said:
Just get and run EMIII... it has a protien viewer.... then, everyone's happy...... you can play games, she can watch the protiens, and you don't have to worry about forgetting to turn the service back on :D


Keep on Folding!!


Oh don't worry, EMIII is on the short list of things I let run on this box. She just has this strange obsession with watching the client go. I've tried to convince her otherwise, but ya know, you have to keep em happy, at least in my house, or stuff like the utility bill doesn't paid and boxen parts become hard to come by. ;) Ah the joys of married life!

 
p[H]ant0m said:
You should be able to use the net start and net stop commands in a batch file. I've tried doing some testing, but I'm not having any luck, so if anyone has any ideas shoot em in!



Edit: After looking, it seems that the net command can only start and stop specific, default Windows services, so it looks like that idea is out. :(

net start <service> can work on anything installed as service. You just need to know the right service name (it's not always intuitive, not sure what it is for F@H)
 
ThomasE66 said:
net start <service> can work on anything installed as service. You just need to know the right service name (it's not always intuitive, not sure what it is for F@H)

Not disputing that, but at least in all the technical tomes I waded through, you can find the listing of services you can stop and start by using the "net help services" command. And F@H doesn't show up in that list. :( I tried doing exactly what you said, but it seems that there are issues with the service name that the net start command can't handle, possibly some characters that it doesn't like.

 
As far as I know, the console client is the only one you can install as a service... so you'd have to switch from the graphical either way... console + EMIII == best situation


Keep on Folding!!

 
sure you can stop it from a command line. Right click My Computer, then manage. Browse to the services and find the service that starts with F@H. It will be some funky name. Right click, properties. Copy the ENTIRE service name. Worked like a charm for me
 
Yea, I play EA games with the console version running all the time, no drops to desktop with that. Years ago when I ran the graphical client, I had those issues and thats why I jumped on the no-nonsense bandwagon :)

 
I may have to get this working... my brother won't fold because he doesn't want it to take away from the 15 minutes of CD burning he does every other month... He asked be once before it there was an easy way to start and stop it... (this was long before the service version was available)...... I may have to talk to him about it again....


Keep on Folding!!

 
that list you get is only some of the default services you can start stop, FAH by default has a really weird ass name, mine is:
FAH@C:+Program Files+Folding@Home+fah502-console
which appears to just be
FAH@<drive letter>:<path to console client with \ replaced by +>
try that, you can change the name to fah if you pause it through the services menu, but if youre using a batch file then you dont have to type it anyway so who cares?
 
Herulach said:
that list you get is only some of the default services you can start stop, FAH by default has a really weird ass name, mine is:
FAH@C:+Program Files+Folding@Home+fah502-console
which appears to just be
FAH@<drive letter>:<path to console client with \ replaced by +>
try that, you can change the name to fah if you pause it through the services menu, but if youre using a batch file then you dont have to type it anyway so who cares?

That's very close to what I have, but it seems that renaming it doesn't work either. I tried that last night, and I kept getting HELPMSG errors about the service not existing, or invalid service names. I am thinking it really doesn't like to play fair.


 
I just made two batch programs... one to start... one to stop..... and they are just one liners... they look like this:

stop:
Code:
net stop "FAH@D:+Program Files+Folding@Home+FAH502-Console.exe"

start:
Code:
net start "FAH@D:+Program Files+Folding@Home+FAH502-Console.exe"

It works for me!

I tried it without the quotes, and it wouldn't work, added the quotes and it works


Keep on Folding!!

 
OSUguy98 said:
I just made two batch programs... one to start... one to stop..... and they are just one liners... they look like this:

stop:
Code:
net stop "FAH@D:+Program Files+Folding@Home+FAH502-Console.exe"

start:
Code:
net start "FAH@D:+Program Files+Folding@Home+FAH502-Console.exe"

It works for me!

I tried it without the quotes, and it wouldn't work, added the quotes and it works


Keep on Folding!!


Are you on XP Home or Pro? I just got that to work on my XP Pro box at work.


 
XP Pro... both and work and on my PC at home...

This should be the same with XP Home as with XP Pro, right?


Keep on Folding!!

 
OSUguy98 said:
This should be the same with XP Home as with XP Pro, right?

I would hope so, but I swear I tried the exact same thing at home last night, and it just wouldnt go.... Oh well... onward to more testing later!


 
with or without the " " ?? I tried with single quotes and it didn't work... had to use the double quotes...


Keep on Folding!!

 
OSUguy98 said:
with or without the " " ?? I tried with single quotes and it didn't work... had to use the double quotes...


Keep on Folding!!


Both ways actually. I did the net start command piping it to a text file, copied the F@H service name and did one with double quotes and one without any quotes. At least thats what I remember. I'm sure there could have been a million things I did differently or typed wrong.


 
Yea I copied the entire service name and used a batch file, that worked. Thank you to everyone with ideas.

I stop it for quake 3 because it causes my framerate to drop below 125 (bad!) and fluctuate. Painkiller also runs like crap with it for me. However all other games are fine and it stays on during them!!

Thanks!!

Good Job Guys

 
The only other game I have had a problem running it with has been Soldier of Fortune II, in case anyone out there besides me plays that anymore. Since then I have run Doom3, HL2, BF 1942/Vietnam and expansions, Call of Duty and expansion, UT 2004, Farcry, and I am sure others I can't remember now. All on XP Pro, all console versions of the latest client from 3 to the present.

Perhaps we could gather a definitive list of games (programs for that matter) that are known to either have issues or not have issues so that we can see if system/game slowdowns might be attributed to Folding in all flavors. Pertinent information might be client type and version, OS, program and version.

<------ Thanks xENo!!
 
I play(have played) Warcraft III w/ expansion... Diablo II w/expansion.... Locomotion... Roller Coaster Tycoon (1, 2 and 3)... Nascar Thunder 2004... and a few others.,... with the console client on WinXP Pro... 2 instances of F@H on my intel chip... haven't seen a problem with any of them....


Keep on Folding!!

 
Well i don't understand it really, I can play Doom 3 pretty much with teh same performance with folding running, yet Painkiller seems to get real choppy (like short hiccups in the framerate) in open areas (whereas it does not if folding is closed). So I doubt it's a RAM issue there (I have 512mb) if Doom 3 can run. Quake 3, don't get me wrong, it is smooth annd playable, but in that game I need my 125 fps to stay there, dropping to low 100's every few seconds is all it does

But here is my system incase:

athlon xp 2400+ @ 2.08ghz :p
512 mb pc2700

my other puny systems don't run games so no problems there :)

BTW so as to not start another thread, could I run F@H on my 1GHZ shuttle system (used primarily for Server / MP3's and Emulators) without overheating it too much? It's got the stock 'heatpipe' cooling unit thingie on it, and seems to get warm pretty quick.

EDIT:

Beautiful!
 
roz1281 said:
BTW so as to not start another thread, could I run F@H on my 1GHZ shuttle system (used primarily for Server / MP3's and Emulators) without overheating it too much? It's got the stock 'heatpipe' cooling unit thingie on it, and seems to get warm pretty quick.

There's only one way to find out ;)



Keep on Folding!!

 
p[H]ant0m said:
Not disputing that, but at least in all the technical tomes I waded through, you can find the listing of services you can stop and start by using the "net help services" command. And F@H doesn't show up in that list. :( I tried doing exactly what you said, but it seems that there are issues with the service name that the net start command can't handle, possibly some characters that it doesn't like.


Your question has been answered in other posts in this thread :) They should really give it a more manageable name. Then again, I'm sure they don't want people stopping the service ;)
 
Ok guys thanks for all the help, I figured out why I couldn't get it working right off, I did my initial bit of testing in W2K on an old laptop of mine. Not sure why, but following the exact same steps doesn't seem to work. :confused: Oh well, works where it needs to!

 
ThomasE66 said:
Your question has been answered in other posts in this thread :) They should really give it a more manageable name. Then again, I'm sure they don't want people stopping the service ;)

I know, I've been frantically refreshing this thread a good portion of the day in the off chance I might learn something. ;) I will agree that it would sure be nice if they did give it a little more accessible service name..

 
Thanks for doing the legwork on this. My GF stops FAH and then restarts it via services.msc once she's logged on to her dialup so it'll force an upload instead of waiting. This should make it much easier for her.

On a side note, on one of my systems I deleted the FAH 5.00 and ran newer FAH 5.02's config, installing what turned out to be a second service. I disabled the FAH 5.00 service but how can I get rid of it from my list of services since it's now defunct?
 
Bait-Fish said:
Thanks for doing the legwork on this. My GF stops FAH and then restarts it via services.msc once she's logged on to her dialup so it'll force an upload instead of waiting. This should make it much easier for her.

On a side note, on one of my systems I deleted the FAH 5.00 and ran newer FAH 5.02's config, installing what turned out to be a second service. I disabled the FAH 5.00 service but how can I get rid of it from my list of services since it's now defunct?

Regedit
 
Back
Top