JustASRV

Windows updater

A PowerShell script (Windows 10 / Server 2016 and later, PowerShell 5.1) run every 2 minutes by a scheduled task as SYSTEM. No service binary, no .NET install, no tray icon. It does DDNS and nothing else.

Install

In an elevated PowerShell:

Invoke-WebRequest https://docs.justasrv.com/downloads/Install-JustASRV.ps1 -OutFile Install-JustASRV.ps1
powershell -ExecutionPolicy Bypass -File .\Install-JustASRV.ps1 -Hostname acme-main.ddns.justasrv.com

The installer prompts for the token securely. For RMM deployment pass -Token jas_…. The command runs in your RMM's SYSTEM context, and the token is then stored encrypted.

What it installs

C:\ProgramData\JustASRV\folder readable only by SYSTEM and Administrators
JustASRV-Update.ps1the updater
config.jsonhostname and the token encrypted with DPAPI (machine scope)
state.json, justasrv.logstate and a log rotated at 1 MB
Task JustASRV DDNS Updaterat startup and every 2 minutes, as SYSTEM

How it behaves

The same as the Linux updater: it checks the address each run, updates on change or every 10 minutes as a heartbeat, backs off exponentially on failure, and recovers by itself after network outages.

Rotate the token

Rotate in the portal, then re-run the installer with the new token. It replaces the stored token and clears any backoff. The old token keeps working during the grace period, so there is no gap.

Operate

Get-Content C:\ProgramData\JustASRV\justasrv.log -Tail 20
Start-ScheduledTask -TaskName 'JustASRV DDNS Updater'
.\Install-JustASRV.ps1 -Uninstall

Download

FileSHA-256
Install-JustASRV.ps11e9c4efd660d5d2c47439c421cdd017d5f358a9cccbdddd56957b036ace31794
JustASRV-Update.ps1d291d87bc03caf222dee27c3e20ac6e05b9a2b442699e4518e8c954456f16318