For the complete documentation index, see llms.txt. This page is also available as Markdown.

NinjaOne Deployment (Windows)

Overview

Deploy Akto Endpoint Shield to Windows endpoints from NinjaOne using a script directly stored in NinjaOne Automation Library (Option A).

Replace placeholder values before rollout:

  • <AKTO_WINDOWS_INSTALLER_EXE_URL>

Prerequisites

  • NinjaOne admin access with script and policy permissions

  • Windows device policy in NinjaOne

  • Akto-hosted Windows installer URL (.exe)

  • Pilot device group for staged rollout

Deployment Steps

1

Create the Windows automation script

In NinjaOne:

  1. Go to Administration → Library → Automation

  2. Click Add and choose Script

  3. Configure:

    • Language: PowerShell

    • OS: Windows

    • Run As: System

  4. Save as: Akto Endpoint Shield - Windows Install

2

Use this script content

Download direct script file:

Show script
$ErrorActionPreference = "Stop"

$installerUrl = "<AKTO_WINDOWS_INSTALLER_EXE_URL>"
$installerPath = Join-Path $env:TEMP "akto-endpoint-shield-setup.exe"
$installerArgs = "/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-"

Write-Host "[Akto] Downloading installer..."
Invoke-WebRequest -Uri $installerUrl -OutFile $installerPath -UseBasicParsing

Write-Host "[Akto] Running installer..."
$p = Start-Process -FilePath $installerPath -ArgumentList $installerArgs -Wait -PassThru

if ($null -eq $p -or $p.ExitCode -ne 0) {
    throw "Akto installer failed. Exit code: $($p.ExitCode)"
}

Write-Host "[Akto] Installation finished successfully."
3

Attach to policy and schedule

  1. Open target Windows policy

  2. Add a Scheduled Script

  3. Select Akto Endpoint Shield - Windows Install

  4. Schedule:

    • Pilot: run once immediately

    • Production: run daily (safe for idempotent installs/upgrades)

  5. Save policy

4

Validate on endpoint

Run on a test endpoint:

Test-Path "C:\Program Files\Akto Endpoint Shield\akto-endpoint-shield.exe"
Get-ScheduledTask | Where-Object { $_.TaskName -like "*Akto Endpoint Shield*" } | Select-Object TaskName,State

Expected:

  • Binary exists in C:\Program Files\Akto Endpoint Shield\

  • Scheduled tasks exist for HTTP, Agent, and Detector

Troubleshooting

Script fails in NinjaOne

  • Confirm script runs as System

  • Confirm endpoint can download <AKTO_WINDOWS_INSTALLER_EXE_URL>

  • Check NinjaOne script output and local PowerShell logs

Install succeeds but services not visible

  • Re-run validation command for scheduled tasks

  • Verify endpoint restart/startup task execution

Support

  1. In-app Intercom in Akto dashboard

  2. support@akto.io

Last updated