User Tools

Site Tools


guides:farming:chia_autostart_windows

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
guides:farming:chia_autostart_windows [2023/05/01 15:53] wolfgtguides:farming:chia_autostart_windows [2024/01/05 08:07] (current) – Use Chia 2.x paths aj
Line 13: Line 13:
 Open Notepad and copy the following lines: Open Notepad and copy the following lines:
  
-''    timeout /t 60 >NUL '' +<code - C:\Yourlocation\BootChia.bat> 
- +timeout /t 60 >NUL 
-''    START "Daemon" /b /normal %LOCALAPPDATA%\Programs\Chia\Chia.exe start farmer   '' +START "Daemon" /b /normal %LOCALAPPDATA%\Programs\Chia\resources\app.asar.unpacked\daemon\chia.exe start farmer 
-         +Exit 
-''    Exit  ''+</code>
  
 and save in any location (eg ''C:\<Yourlocation>'') as "''BootChia.bat''". You might need to check / manually replace the pasted double quote characters in the bat file as the wiki converts them to an incompatible type it seems. and save in any location (eg ''C:\<Yourlocation>'') as "''BootChia.bat''". You might need to check / manually replace the pasted double quote characters in the bat file as the wiki converts them to an incompatible type it seems.
Line 59: Line 59:
   - type ''nssm.exe'' and hit enter   - type ''nssm.exe'' and hit enter
   - Install chia.exe as a service: type ''nssm install Chia-service'' and hit enter   - Install chia.exe as a service: type ''nssm install Chia-service'' and hit enter
-  - A window will pop up. In the "Application" tab in the "Path" field fill in the location of the chia.exe file: ''%LOCALAPPDATA%\chia-blockchain\app-1.2.5\resources\app.asar.unpacked\daemon\chia''  +  - A window will pop up. In the "Application" tab in the "Path" field fill in the location of the chia.exe file: ''%LOCALAPPDATA%\Programs\Chia\resources\app.asar.unpacked\daemon\chia.exe''  
-  - Under "Startup directory", us the the same, but without \chia ''%LOCALAPPDATA%\chia-blockchain\app-1.2.5\resources\app.asar.unpacked\daemon''+  - Under "Startup directory", us the the same, but without \chia ''%LOCALAPPDATA%\Programs\Chia\resources\app.asar.unpacked\daemon\''
   - Under "Arguments" put ''start farmer''    - Under "Arguments" put ''start farmer'' 
   - proceed to the "Logon" tab. Select "this account" and provide your username and password :!: Again a disclaimer: Third-party software, use at your own risk.    - proceed to the "Logon" tab. Select "this account" and provide your username and password :!: Again a disclaimer: Third-party software, use at your own risk. 
guides/farming/chia_autostart_windows.1682956393.txt.gz · Last modified: 2023/05/01 15:53 by wolfgt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki