Install Web Based Download Utility with AriaNg on Windows

Quick Setup

  1. Download aria2 Download
  2. Download the AriaNg AllInOne Download
  3. Extract the downloaded AriaNg .zip file
  4. Extract the downloaded aria2 .zip file
  5. Rename the extracted folder aria2
  6. Copy the aria2 folder to a permanant location such as C:\Program Files
  7. Hold the SHIFT key and right click in the white space > Open PowerShell windows here...
  8. 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
  9. Navigate back to the extracted AriaNg folder
  10. Double click index.html to open it in the default web browser
  11. Select AriaNg Settings from the left navigation menu
  12. Select the automatically generated RPC connection in the top sub-navigation menu
  13. Scroll down to the Aria2 RPC Secret Token field and paste the rpc-secret string, SomethingSecure in this example
  14. Click the Reload AriaNg button on the notification popup
  15. The AriaNg will now be able to communicate with aria2 over RPC

Starting Aria2 on System Boot

  1. Open File Explorer and navigate to C:\Program Files\Aria2 (or wherever Aria2 is installed)
  2. Right click in the white space > New > Text Document
  3. Name the new doucment aria2.conf
  4. Edit the new aria2.conf file in a text editor
  5. 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

  6. Save the aria2.conf file
  7. Click on the Start Button > Type task > Launch Task Scheduler
  8. Right click the Task Scheduler Library folder in the left pane > Create Basic Task...
  9. Set the name to Aria2 and optionally set a Description > Click Next
  10. For the Trigger, select When the computer starts > Click Next
  11. For the Action, select Start a program > Click Next
  12. In the Program/script field, paste the following, editing the path if Aria2 is installed somewhere else

    "%ProgramFiles%\aria2\aria2c.exe"

  13. In the Add Arguments field, paste the following, again editing the path if necessary

    --conf-path="%ProgramFiles%\aria2\aria2.conf" -D

  14. Click Next
  15. Click Finish
  16. In the Properties dialog, click the Change User or Group... button
  17. Type System in the Object name field > Click OK
  18. Check the Run with highest privileges box
  19. Click OK to create the scheduled task
  20. Right click the Aria2 scheduled task > Run
  21. Right click the task bar > Task Manager
  22. Select the Details tab and aria2c.exe should be running
  23. 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