Skip to content

Instantly share code, notes, and snippets.

@ishtob
Created November 18, 2017 03:04
Show Gist options
  • Save ishtob/7a374c5cc30ec5b60623bb55cad4624a to your computer and use it in GitHub Desktop.
Save ishtob/7a374c5cc30ec5b60623bb55cad4624a to your computer and use it in GitHub Desktop.
@echo on
set currentdir=%cd%
cd C:\Program Files (x86)\Windows Kits\10\Tools\x64
devcon.exe disable "PCI\VEN_1002&DEV_687F"
timeout /t 5
devcon.exe enable "PCI\VEN_1002&DEV_687F"
timeout /t 5
cd C:\xmr-stak-amd
START xmr-stak-amd.exe
FOR /L %%i IN (1,1,100) DO (
(TASKLIST | FIND /I "xmr-stak-amd") && GOTO :startnext
)
ECHO Timeout waiting for xmr-stak-amd.exe to start
GOTO :EOF
:startnext
timeout /t 30
cd C:\Users\user\Desktop\miners
OverdriveNTool.exe -r0 -p0vega64-0
timeout /t 3
OverdriveNTool.exe -r0 -p0vega64-0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment