Quick Setup
- Download aria2 Download
- Download the AriaNg AllInOne Download
- Extract the downloaded AriaNg .zip file
- Extract the downloaded aria2 .zip file
- Rename the extracted folder aria2
- Copy the aria2 folder to a permanant location such as C:\Program Files
- Hold the SHIFT key and right click in the white space > Open PowerShell windows here...
- Run the following command to start aria2 with the RPC server enabled
.\aria2c.exe --dir=C:\Downloads --enable-rpc=true --rpc-allow-origin-all=true --rpc-listen-all=true --rpc-listen-port=6800 --rpc-secret=SomethingSecure -D
- Navigate back to the extracted AriaNg folder
- Double click index.html to open it in the default web browser
- Select AriaNg Settings from the left navigation menu
- Select the automatically generated RPC connection in the top sub-navigation menu
- Scroll down to the Aria2 RPC Secret Token field and paste the rpc-secret string, SomethingSecure in this example
- Click the Reload AriaNg button on the notification popup
- The AriaNg will now be able to communicate with aria2 over RPC
Starting Aria2 on System Boot
- Open File Explorer and navigate to C:\Program Files\Aria2 (or wherever Aria2 is installed)
- Right click in the white space > New > Text Document
- Name the new doucment aria2.conf
- Edit the new aria2.conf file in a text editor
- Paste the following basic configuration into the file
dir=C:\Downloads
enable-rpc=true
rpc-allow-origin-all=true
rpc-listen-all=true
rpc-listen-port=6800
rpc-secret=SomethingSecure - Save the aria2.conf file
- Click on the Start Button > Type task > Launch Task Scheduler
- Right click the Task Scheduler Library folder in the left pane > Create Basic Task...
- Set the name to Aria2 and optionally set a Description > Click Next
- For the Trigger, select When the computer starts > Click Next
- For the Action, select Start a program > Click Next
- In the Program/script field, paste the following, editing the path if Aria2 is installed somewhere else
"%ProgramFiles%\aria2\aria2c.exe"
- In the Add Arguments field, paste the following, again editing the path if necessary
--conf-path="%ProgramFiles%\aria2\aria2.conf" -D
- Click Next
- Click Finish
- In the Properties dialog, click the Change User or Group... button
- Type System in the Object name field > Click OK
- Check the Run with highest privileges box
- Click OK to create the scheduled task
- Right click the Aria2 scheduled task > Run
- Right click the task bar > Task Manager
- Select the Details tab and aria2c.exe should be running
- Open the AriaNg page to very it has connected
Additional Aria2 documentation, including how to setup SSL, can be found at https://aria2.github.io/manual/en/html/aria2c.html#options