Note: Please do not comment this batch file; leave it out of your quote/replies on this thread to: save space, and more importantly not confuse people when a new update to the batch is made. Thanks!
REDISTRIBUTION OF ANY PART OF WHOLE OF THIS CODE FOR PROFIT/DONATION IS STRICTLY FORBIDDEN. This code is provided for public use, not redistribution under another name for profit.
JK's Network Failure Monitor: Want a batch file to reset your network adaptor when the connection drops or is unresponsive?
Click Here.
JK's Silent Miner launcher V 1.0: Want to launch your miner app and batch file silently in the background like a system service? Now you can easily. I didn't have to install any extra support packages on windows 10. YMMV.
I put this together for another member here on the site whom promised a reward, but in true old fashion; no answers after providing it to them...
This relies on a simple .vbs file. You can't execute the script without admin privileges; that's how VBS works when it handles system commands, can't ever change that. (people have asked).
First, create these files, and leave them all in the same directory:
hider.vbs
CreateObject("Wscript.Shell").Run """" & WScript.Arguments(0) & """", 0, False
miner.bat
ccminer.exe -a skein -o stratum+tcp://skein.mine.zpool.ca:4933 -u 1PHSDYvVp6HpqtuUPocK41DrdeHbbezaeP -p c=BTC,skein,stats
hiddenminer.bat
wscript.exe ".\hider.vbs" ".\miner.bat"
Just run "hiddenminer.bat".
Should be self explanatory on how it works by looking at the code, and you can modify it to launch any program hidden in system space in this manner. It's extremely simple.
JK's Manual miner V2.0:
Click Here. This is the new and improved, self-updating all-included miner batch and applications package to replace the Manual Farm batch.
JK's Manual Farm Control Batch V1.0:
Click Here. This gives you the ability to update the algo certain farms are using by changing the contents of a text file on the web. Make one file for all farms, or make several files for separate miners. This eliminates the need for remote login to the device in any way aside to update the mining software itself.. The miner is simply fetching a single word from a text file through http, and that single word is the algo name.
JK's Automatic Miner Batch file V 1.08@echo off
SETLOCAL EnableExtensions
SET ADDY=1PHSDYvVp6HpqtuUPocK41DrdeHbbezaeP
SET DEV=
SET ID=i7-920
REM NOTE: ADDY is where you put in your wallet address. DEV is for device numbers to mine on. If you have
REM two video cards, then you will set it as 'SET DEV=-d 0,1' . If you wish to only use your second
REM and third video cards, you would use: 'SET DEV=-d 1,2' ... and so on. ID is just a string to
REM identify your miner's connection on the wallet page via the password field preview displayed.
REM leave DEV blank to select all cuda devices.
REM
SET A=ccminer180.exe
SET B=ccminerx11e.exe
SET C=ccminerlyra2.exe
SET D=ccminerlbry1.exe
SET E=ccminerlbry.exe
SET F=ccminer.exe
REM NOTE: A,B,C,D,E&F are all the ccminer file-names. You should be able to use path:\to\ccminer.exe if you
REM so desire. I highly suggest putting a copy of each ccminer version you are using, in one folder
REM with this naming structure to keep it simple. 'C:\zPool.ca\ccminer.exe' etc...
REM
SET POOL=mine.zpool.ca
SET COUNTER=0
SET LAST=N/A
SET A01=x13
SET A02=x11
SET A03=qubit
SET A04=x15
SET A05=lyra2v2
SET A06=neoscrypt
SET A07=decred
SET A08=blakecoin
SET A09=c11
SET A10=quark
SET A11=groestl
SET A12=blake2s
SET A13=x14
SET A14=x17
SET A15=nist5
SET A16=skein
SET A17=sib
SET A18=x11evo
SET A19=lbry
SET A20=keccak
SET A21=myr-gr
REM NOTE: Above are all the algos listed with a shorter pointer name. You can use this reference to disable
REM an algo in the lines below beginning with 'start "%DEV%:%...' by using the REM command before them
REM just like you see used to comment this text you are reading. Be sure to add/remove
REM the corresponding algo's normalization in the 'SET PASS=%ID...' line. The currently disabled ones
REM can be found at the bottom of this batch file outside the main loop.
REM
COLOR 0A
:START
SET CURRENT=NONE
SET /A COUNTER=%COUNTER%+1
SET PASS=%ID%,c=BTC,x17=7.7,nist5=41.9,x11evo=11.8,sib=1.7,x13=10.3,x14=9.6,x15=8.2,x11=12.1,qubit=18.5,blakecoin=4.1,blake2s=1.7,neoscrypt=0.9,decred=2.2,skein=400.0,lbry=270.0,c11=12.74,groestl=37.1,quark=18.4,stats
ECHO Starting miner processes....
START "%DEV%:%A01%" /min %A% %DEV% -r 0 -a %A01% -o stratum+tcp://%A01%.%POOL%:3633 -u %ADDY% -p %PASS%
START "%DEV%:%A02%" /min %A% %DEV% -r 0 -a %A02% -o stratum+tcp://%A02%.%POOL%:3533 -u %ADDY% -p %PASS%
START "%DEV%:%A03%" /min %A% %DEV% -r 0 -a %A03% -o stratum+tcp://%A03%.%POOL%:4733 -u %ADDY% -p %PASS%
START "%DEV%:%A04%" /min %A% %DEV% -r 0 -a %A04% -o stratum+tcp://%A04%.%POOL%:3733 -u %ADDY% -p %PASS%
REM START "%DEV%:%A05%" /min %C% %DEV% -r 0 -a %A05% -o stratum+tcp://%A05%.%POOL%:4533 -u %ADDY% -p %PASS%
START "%DEV%:%A06%" /min %D% %DEV% -r 0 -a %A06% -o stratum+tcp://%A06%.%POOL%:4233 -u %ADDY% -p %PASS%
START "%DEV%:%A07%" /min %A% %DEV% -r 0 -a %A07% -o stratum+tcp://%A07%.%POOL%:5744 -u %ADDY% -p %PASS%
START "%DEV%:%A08%" /min %A% %DEV% -r 0 -a %A08% -o stratum+tcp://%A08%.%POOL%:5743 -u %ADDY% -p %PASS%
START "%DEV%:%A09%" /min %A% %DEV% -r 0 -a %A09% -o stratum+tcp://%A09%.%POOL%:3573 -u %ADDY% -p %PASS%
START "%DEV%:%A10%" /min %A% %DEV% -r 0 -a %A10% -o stratum+tcp://%A10%.%POOL%:4033 -u %ADDY% -p %PASS%
START "%DEV%:%A11%" /min %A% %DEV% -r 0 -a %A11% -o stratum+tcp://%A11%.%POOL%:5333 -u %ADDY% -p %PASS%
START "%DEV%:%A12%" /min %A% %DEV% -r 0 -a %A12% -o stratum+tcp://%A12%.%POOL%:5766 -u %ADDY% -p %PASS%
START "%DEV%:%A13%" /min %A% %DEV% -r 0 -a %A13% -o stratum+tcp://%A13%.%POOL%:3933 -u %ADDY% -p %PASS%
START "%DEV%:%A14%" /min %A% %DEV% -r 0 -a %A14% -o stratum+tcp://%A14%.%POOL%:3737 -u %ADDY% -p %PASS%
START "%DEV%:%A15%" /min %A% %DEV% -r 0 -a %A15% -o stratum+tcp://%A15%.%POOL%:3833 -u %ADDY% -p %PASS%
START "%DEV%:%A16%" /min %F% %DEV% -r 0 -a %A16% -o stratum+tcp://%A16%.%POOL%:4933 -u %ADDY% -p %PASS%
START "%DEV%:%A17%" /min %A% %DEV% -r 0 -a %A17% -o stratum+tcp://%A17%.%POOL%:5033 -u %ADDY% -p %PASS%
START "%DEV%:%A18%" /min %B% %DEV% -r 0 -a %A18% -o stratum+tcp://%A18%.%POOL%:3553 -u %ADDY% -p %PASS%
START "%DEV%:%A19%" /min %E% %DEV% -r 0 -a %A19% -o stratum+tcp://%A19%.%POOL%:3334 -u %ADDY% -p %PASS%
REM START "%DEV%:%A20%" /min %E% %DEV% -r 0 -a %A20% -o stratum+tcp://%A20%.%POOL%:5133 -u %ADDY% -p %PASS%
REM START "%DEV%:%A21%" /min %F% %DEV% -r 0 -a %A21% -o stratum+tcp://%A21%.%POOL%:5433 -u %ADDY% -p %PASS%
REM
REM These are the normalizations for the disabled algos. IF you enable them, add them to the PASS field in with the rest.
REM ,keccack=550.0,lyra2v2=37.2,myr-gr=50
REM
ECHO Miner processes started. Waiting for connections to resolve.
CHOICE /c · /n /t 20 /d ·
REM NOTE: If your machine needs more time to wait for the instances of ccminer to close, modify the above line's value
REM of '20' to the number of seconds you wish it to wait.
REM
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A01%"') DO IF %%x == %A% SET CURRENT=%A01%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A02%"') DO IF %%x == %A% SET CURRENT=%A02%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A03%"') DO IF %%x == %A% SET CURRENT=%A03%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A04%"') DO IF %%x == %A% SET CURRENT=%A04%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %C%" /FI "WINDOWTITLE eq %DEV%:%A05%"') DO IF %%x == %C% SET CURRENT=%A05%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %D%" /FI "WINDOWTITLE eq %DEV%:%A06%"') DO IF %%x == %D% SET CURRENT=%A06%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A07%"') DO IF %%x == %A% SET CURRENT=%A07%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A08%"') DO IF %%x == %A% SET CURRENT=%A08%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A09%"') DO IF %%x == %A% SET CURRENT=%A09%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A10%"') DO IF %%x == %A% SET CURRENT=%A10%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A11%"') DO IF %%x == %A% SET CURRENT=%A11%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A12%"') DO IF %%x == %A% SET CURRENT=%A12%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A13%"') DO IF %%x == %A% SET CURRENT=%A13%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A14%"') DO IF %%x == %A% SET CURRENT=%A14%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A15%"') DO IF %%x == %A% SET CURRENT=%A15%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %F%" /FI "WINDOWTITLE eq %DEV%:%A16%"') DO IF %%x == %F% SET CURRENT=%A16%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%A17%"') DO IF %%x == %A% SET CURRENT=%A17%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %B%" /FI "WINDOWTITLE eq %DEV%:%A18%"') DO IF %%x == %B% SET CURRENT=%A18%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %E%" /FI "WINDOWTITLE eq %DEV%:%A19%"') DO IF %%x == %E% SET CURRENT=%A19%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %E%" /FI "WINDOWTITLE eq %DEV%:%A20%"') DO IF %%x == %E% SET CURRENT=%A20%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %F%" /FI "WINDOWTITLE eq %DEV%:%A21%"') DO IF %%x == %F% SET CURRENT=%A21%
REM Algo detection for display purposes only.
REM
ECHO Currently mining: %CURRENT% on device(s): %DEV%
ECHO Total number of algo switches: %COUNTER%
ECHO Previously mining: %LAST%
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%CURRENT%"') DO IF %%x == %A% ECHO Waiting for %A% to close...
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %B%" /FI "WINDOWTITLE eq %DEV%:%CURRENT%"') DO IF %%x == %B% ECHO Waiting for %B% to close...
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %C%" /FI "WINDOWTITLE eq %DEV%:%CURRENT%"') DO IF %%x == %C% ECHO Waiting for %C% to close...
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %D%" /FI "WINDOWTITLE eq %DEV%:%CURRENT%"') DO IF %%x == %D% ECHO Waiting for %D% to close...
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %E%" /FI "WINDOWTITLE eq %DEV%:%CURRENT%"') DO IF %%x == %E% ECHO Waiting for %E% to close...
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %F%" /FI "WINDOWTITLE eq %DEV%:%CURRENT%"') DO IF %%x == %F% ECHO Waiting for %F% to close...
REM Above checks processes for all instance-names of ccminer, and displays which one is running.
REM
:END1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %A%" /FI "WINDOWTITLE eq %DEV%:%CURRENT%"') DO IF %%x == %A% goto END1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %B%" /FI "WINDOWTITLE eq %DEV%:%CURRENT%"') DO IF %%x == %B% goto END1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %C%" /FI "WINDOWTITLE eq %DEV%:%CURRENT%"') DO IF %%x == %C% goto END1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %D%" /FI "WINDOWTITLE eq %DEV%:%CURRENT%"') DO IF %%x == %D% goto END1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %E%" /FI "WINDOWTITLE eq %DEV%:%CURRENT%"') DO IF %%x == %E% goto END1
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq %F%" /FI "WINDOWTITLE eq %DEV%:%CURRENT%"') DO IF %%x == %F% goto END1
REM Checking processes for ccminer, if any version found, start looking again until none is found to continue
REM
SET LAST=%CURRENT%
CLS
GOTO START
JK's nVidia zPool Miner Batch V1.08
An updated version of the "lite" batch file will be added soon to add the new algos, I just need to go through it separately at another time, I ran out of steam today. It has no algo detection, and just rotates through them all. The original version can be found
by clicking here and you could easily add the algos yourself.
I had issues with this update (thus the long wait) as when I would get a 19th-21st algo added to the batch, stratum wouldn't send disconnects to two other algos on top of the favored one leaving multiple algos mining at once. I still can't figure out why this is happening, and my only guess at this point is maybe there's something funny with long passwords on the stratums for the algos I have disabled: lyra2v2, keccack, and myr-gr.... very odd... but it's working now as long as the offending algos were disabled. I haven't tried to disable others and enable these ones... but It starts once the password gets that huge is my best guess (see batch).
I removed the intensity settings from the batch since 90% of you aren't going to be using the miners/terminals and don't need trimmed intensity for usability while mining.
The new base normalization for this batch is an EVGA GTX 1070 FTW DT ACX3 8Gb.
The normalizations I have on hand right now are as follows:
GTX 750Ti
x17=1.8
nist5=8.5
x11evo=2.7
sib=0.725
x13=2.3
x14=2.14
x15=1.8
x11=2.7
qubit=4.2
lyra2v2=6.2
blakecoin=1.4
blake2s=0.89
neoscrypt=0.155
decred=0.475
skein=73.5
lbry=44.2
c11=2.74
quark=5.0
GTX 980
x17=5.2
nist5=8.0
x11evo=7.7
sib=1.1
x13=6.8
x14=7.0
x15=5.6
x11=8.2
qubit=12.5
lyra2v2=22.0
blakecoin=1.4
blake2s=1.2
neoscrypt=0.651
decred=1.7
skein=293.0
lbry=157.0
c11=8.3
groestl=24.5
quark=11.5
GTX 1070 FTW DT 8G
x17=7.7 ccminer 1.7
nist5=41.9 ccminer 1.8-dev
x11evo=11.8 ccminer 1.8-dev
sib=1.7 ccminer 1.8-dev
x13=10.3 1.5.74-git(SP-MOD)
x14=9.6 ccminer 1.7
x15=8.2 ccminer 1.8.dev
x11=12.1 ccminer 1.8.dev
qubit=18.5 ccminer 1.8.dev
lyra2v2=37.2 ccminer 1.7.6
blakecoin=4.1 ccminer 1.8.dev
blake2s=1.7 ccminer 1.7.6
neoscrypt=0.922 ccminer 1.8.3
decred=2.2
skein=400.0
lbry=270.0
c11=12.74
groestl=37.1
quark=18.4
keccak=550.0 ccminer 1.7.6
myr-gr=55.9 ccminer 1.7
To get to my original batch file post with more info such as how to normalize, links to miner software, and other tidbits including old versions of the batch:
by clicking hereThe Equihash miner I am using:
EWBF zCash MinerThe current most-used miner app is the ccminerAlexis78 build. It can be compiled from source, or if you are unable, check out the nemosminer zpool link and download it by itself from his package/github.
Donations not necessary but always welcomed: 1pz4yZ6DAjn4ho7x2FiEqE6VVEvefFxK9