Agent install: drop auto-elevation, require elevated PowerShell #17

Merged
gsadmin merged 1 commits from dev into main 2026-08-12 19:00:02 +00:00
Owner

Removes the Windows install self-elevation (IsInRole -> temp .ps1 -> Start-Process -Verb RunAs) that Defender flagged as Win32/ClickFix.SZZ. Scripts now run in place; the Add device modal states the elevated-PowerShell prerequisite. Test + zip installer updated. [skip ci]

Removes the Windows install self-elevation (IsInRole -> temp .ps1 -> Start-Process -Verb RunAs) that Defender flagged as Win32/ClickFix.SZZ. Scripts now run in place; the Add device modal states the elevated-PowerShell prerequisite. Test + zip installer updated. [skip ci]
gsadmin added 1 commit 2026-08-12 18:59:49 +00:00
The Windows install one-liner self-elevated (IsInRole -> write a temp .ps1 ->
Start-Process -Verb RunAs), which Defender flagged as Win32/ClickFix.SZZ - an
"executes commands / auto-elevates" heuristic. The scripts now run in place:
no UAC relaunch, no temp scriptblock, no self-delete. The operator runs the
command from an elevated PowerShell, and the Add device modal states that
prerequisite on one concise line (Windows only; the unix installers already
use sudo). Backend + zip installers and the elevation test updated to match.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
gsadmin merged commit 5a89547865 into main 2026-08-12 19:00:02 +00:00
Sign in to join this conversation.