/ZabbixAgent2WinLowPrivInstaller

Install script for Zabbix Agent 2 for Windows to use NT AUTHORITY\LocalService instead of SYSTEM

Primary LanguagePowerShellGNU General Public License v2.0GPL-2.0

Zabbix Agent 2 for Windows Low-Privileged Installer Script

An entirely unsupported, use at your own risk custom installation script for the Windows Zabbix Agent 2, which reconfigures the service to run with NT AUTHORITY\LocalService "minimum privileged account" and which follows Zabbix best practices.

This works on PowerShell 5, but not on PowerShell 6/7, due to reduced functionality in Get-WmiObject. This probably needs migration to Get-CimObject for pwsh support.