Page 1 of 1

Automatically turn off programs when start another?

Posted: Sat Nov 25, 2006 1:04 pm
by bigblockmatt
Is there a way to have certain programs turn off (stop running) when another program is started?

Here's why i ask...There seems to be a conflict with my anti virus program and Battlefield 2(comp will restart after like 30 secs of playing). so i have to turn the antivirus program off before i start BF2. of course sometimes i forget and the comp restarts on me. Also, i dont want folding running when i am playing.

so, if there is a way to automatically have stuff turned off when i start BF2, that would be great.

Re: Automatically turn off programs when start another?

Posted: Sat Nov 25, 2006 1:35 pm
by T-Shirt
bigblockmatt wrote:Is there a way to have certain programs turn off (stop running) when another program is started?

Here's why i ask...There seems to be a conflict with my anti virus program and Battlefield 2(comp will restart after like 30 secs of playing). so i have to turn the antivirus program off before i start BF2. of course sometimes i forget and the comp restarts on me. Also, i dont want folding running when i am playing.

so, if there is a way to automatically have stuff turned off when i start BF2, that would be great.
You could write a macro to do that and make the icon run it for the start up BF2.
But turning off your AV isn't hard to do manually, and auto off seem like it might be high risk.
Have you checked the BF2 and/or AV website for a patch to fix it?

Posted: Sat Nov 25, 2006 2:08 pm
by dicecca112
The folding script is easy. But you have to remember to shut off and then turn it back on.

But a note before I show you the script. F@H will automatically scale back and give BF2 or whatever needs the CPU all it needs. F@H only uses the idle clocks, so this is really superfluous ( not necesssary)

but anyway

open Notepad

and copy the following into notepad

Code: Select all

sc stop FAH
sc stop FAH1
sc stop FAH2
name it stop_FAH.bat

clear notepad

copy the following into notepad

Code: Select all

sc start FAH
sc start FAH1
sc start FAH2
name it start_FAH.bat

put shortcuts on the desktop and just doubleclick em.

And matt don't forget to turn folding back on, because I'm coming for you :axe:

Posted: Sat Nov 25, 2006 5:46 pm
by bigblockmatt
hmm... thanks for that info. i guess your right in that i dont really have to turn folding off... I guess the main one is the antivirus program. Im not 100% sure that is the problem, but it seems to be true thus far. ooh well, i was just wondering if there was a simple way to do it. Thanks!

Posted: Sat Nov 25, 2006 5:48 pm
by dicecca112
I'd tend to suspect a power problem over it being the AV. When your gaming your putting a huge load on the system. I would tend to think the PSU is suspect over the AV.