Auto start & stop program

Soldato
Joined
17 May 2013
Posts
2,960
Location
West Sussex, UK
As some will know Gigabyte RGB Fusion is horrible software. It caused me all sorts of problems including reboots and crashes.

I now have to start it up, allow it to do it's thing, then close it again.

How can I automate it? I can auto start it in Task Scheduler, but not sure how to auto close it once it's opened.

Also, I have to give permission to UAC for it to run. But checking the properties of the file (run as administrator) is unticked.
 
It takes about 7 seconds to fully load and set the LED colour.

Do I create a .bat for that and stick it in the startup folder?
 
I tried this:
Code:
C:\Program Files (x86)\GIGABYTE\RGBFusion\RGBFusion.exe
timeout /t 10
taskkill /im RGBFusion.exe


But got this in cmd:
Code:
C:\Users\Chris\Desktop>cd C:\Program Files (x86)\GIGABYTE\RGBFusion\RGBFusion.exe

The directory name is invalid.

C:\Users\Chris\Desktop>timeout /t 10

Waiting for  7 seconds, press a key to continue ...


I then made this and stuck it in the same directory as the program:
Code:
RGBFusion.exe
timeout /t 10
taskkill /im RGBFusion.exe


When doubled clicked to test this would ask my permission to open (need to figure out how to stop that), and start the program. The command prompt stalls and it remains open. CTRL+C doesn't work, I have to hit the cross.
 
Back
Top Bottom