2. Windows Server Setup

Updated on November 4, 2025

Step-by-Step

  1. Set File Permissions
  • Right-click thirdpartyserver-win.exe
  • Go to Properties > Security.
  • Ensure Read & Execute permissions are enabled
  1. Install Node.js & PM2
npm install pm2 -g
  1. Start the Executable with PM2
pm2 start thirdpartyserver-win.exe

You can also use Windows Task Scheduler as an alternative to PM2.

  1. Run as Administrator
Open `cmd` or `PowerShell` as Administrator before running PM2.
  1. Correct File Path Example
pm2 start "C:\\path\\to\\thirdpartyserver-win.exe"