How to Install on Windows Server

πŸ’‘ Quick Navigation: Choose your preferred installation method below.
πŸ‘‰ Method 1: Auto-Installer (.exe) - Recommended & Fastest
πŸ‘‰ Method 2: Manual Installation (.zip) - For Advanced Users

System Requirements

Part I: Auto Installation (Recommended)

The easiest way to deploy the bot on Windows. The installer will automatically copy files, open firewall ports, and configure the background service.

  1. Download: Get the PrimeBotSetup_Windows_v3.0.exe from the Download page.
  2. Run Installer: Double-click the .exe file. (If Windows SmartScreen blocks it, click More Info β†’ Run anyway).
  3. Follow the Wizard: Click Next and complete the installation.

What the installer does automatically:

βœ… You are done! Open your Client GUI to connect to the server.

Part II: Manual Installation (Advanced)

Use this method only if you prefer to configure everything manually via Command Prompt.

1. Download & Extract

  1. Download the server.zip package.
  2. Extract it exactly to this directory:
    C:\Prime Spot DCA Trading Bot
  3. Ensure the executable path is: C:\Prime Spot DCA Trading Bot\server.exe

2. Open Firewall Port 8765

The client needs this port to connect. Open Command Prompt as Administrator and run:

netsh advfirewall firewall add rule name="PrimeBot Port 8765" dir=in action=allow protocol=TCP localport=8765

3. Create Auto-Startup Task

To ensure the bot runs 24/7 even after a server reboot (without needing to log in), create a background task using the SYSTEM account. Run this in the same Administrator Command Prompt:

schtasks /create /sc onstart /tn "PrimeTradingBotAuto" /tr "\"C:\Prime Spot DCA Trading Bot\server.exe\"" /ru SYSTEM /rl highest /f

To start the bot immediately without rebooting:

schtasks /run /tn "PrimeTradingBotAuto"

Part III: Management & Maintenance

1. Log Files

All logs and configs are stored safely in the installation folder (C:\Prime Spot DCA Trading Bot):

2. Troubleshooting

3. Updating the Server

  1. If using Auto-Installer: Just download and run the new .exe file. It will safely update the bot without deleting your config.json.
  2. If Manual: Stop the task (schtasks /end /tn "PrimeTradingBotAuto"), replace the server.exe, and restart the task.

4. Uninstalling

Auto-Installer: Go to Control Panel β†’ Programs and Features, find Prime Spot DCA Trading Bot and click Uninstall.

Manual Uninstall: Open Command Prompt as Admin and run:

schtasks /end /tn "PrimeTradingBotAuto"
schtasks /delete /tn "PrimeTradingBotAuto" /f
netsh advfirewall firewall delete rule name="PrimeBot Port 8765"
rmdir /s /q "C:\Prime Spot DCA Trading Bot"