Skip to content

Windows Agent Installation

import { Aside, Steps } from ‘@astrojs/starlight/components’;

The Windows agent ships as a standard MSI installer signed by Halden Technologies. It installs as a Windows Service running as SYSTEM and starts automatically at boot.

Terminal window
msiexec /i bastion-agent-windows-x64.msi /quiet `
BACKEND_URL="grpc://YOUR_SERVER:50051"

The agent service (BastionAgent) starts immediately after installation.

Section titled “Group Policy deployment (recommended for school districts)”
  1. Download the MSI from the console under Settings → Downloads or from the GitHub release page.

  2. Create a GPO in Group Policy Management Console (GPMC):

    • Computer Configuration → Policies → Software Settings → Software Installation
    • Right-click → New → Package → select the MSI
  3. Set the backend URL via a registry key GPO:

    • HKLM\SOFTWARE\Bastion\Agent
    • String value: BackendUrl = grpc://YOUR_SERVER:50051
  4. Link the GPO to the OUs containing your endpoints. The agent installs at next startup.

  1. In Intune admin center, go to Apps → Windows → Add → Line-of-business app
  2. Upload the MSI
  3. Under Command-line arguments, add: /quiet BACKEND_URL="grpc://YOUR_SERVER:50051"
  4. Assign to your device groups
Terminal window
# Check service status
Get-Service BastionAgent
# Check logs
Get-EventLog -LogName Application -Source "BastionAgent" -Newest 20

The agent should appear in Endpoints in the console within 30 seconds.

%ProgramData%\Bastion\config\agent.toml

See Agent Configuration for all available options.

Terminal window
msiexec /x bastion-agent-windows-x64.msi /quiet