Forum Discussion
Heres a temporary fix I made guys! This is a bat file that will restart Origin every 8 minutes (you can change that)
Make a bat file called RestartOrigin.bat and open with notepad.
Copy this in:
@echo off
:loop
echo Starting teh Origin Programz...
Start "" "C:\Program Files (x86)\Origin\Origin.exe"
timeout /t 3
echo Waiting..
timeout /t 480
echo BOOM HEADSHOT Origin.exe
taskkill /f /im Origin.exe
echo Waiting 5 seconds to make sure Origin quits
timeout /t 5
echo RINSE AND REPEAT!
goto loop
Change "C:\Program Files (x86)\Origin\Origin.exe" to the path to your exe file.
Change the 480 in this line: timeout /t 480 >null
To any number of seconds you want to wait. 480 is 8 minutes.
Save the file, and you're good to go!
Remember to run the bat file as Administrator to make sure it can restart the program properly.
- ApprovedAnonymous12 years ago
This will increase the load on servers (more logins), but it sure is efficient
- ApprovedAnonymous12 years ago
Thanks ! Using that for now until a fix...
Edit : You missed a L line 9 (null) and also it's writing in a file called null on my desktop, not sure it's what is expected
- ApprovedAnonymous12 years ago
@Milhooz wrote:Thanks ! Using that for now until a fix...
Edit : You missed a L line 9 (null) and also it's writing in a file called null on my desktop, not sure it's what is expected
Thanks, I corrected it!
The null file is what is made while its doing the wait, for some reason it makes the file, theres no real way around that but dont worry. it's not malicious or anything.
- 12 years ago
Just remove "> null" then it won't make the "null" file. You don't need the batch file to print the results to a file.
"timeout /t 480" works exactly the same as "timeout /t 480 >null", except it doesn't create any files.