Difference between revisions of "Zabbix Agent Uninstall"
Jump to navigation
Jump to search
(Created page with "HKLM:SYSTEM\CurrentControlSet\Services\EventLog\Application\Zabbix Agent 2 ``` Get-item "HKLM:SYSTEM\CurrentControlSet\Services\EventLog\Application\Zabbix Agent 2" Remove-It...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
Remove-Item "HKLM:SYSTEM\CurrentControlSet\Services\EventLog\Application\Zabbix Agent 2" -Recurse | Remove-Item "HKLM:SYSTEM\CurrentControlSet\Services\EventLog\Application\Zabbix Agent 2" -Recurse | ||
+ | ``` | ||
+ | |||
+ | Windows force | ||
+ | ``` | ||
+ | stop-service "zabbix agent 2" | ||
+ | 'C:\Program Files\Zabbix Agent 2\zabbix_agent2.exe --uninstall' | ||
+ | sc.exe delete "Zabbix Agent 2" | ||
+ | $regkey="HKLM:\SYSTEM\CurrentControlSet\Services\EventLog\Application\Zabbix Agent 2" | ||
+ | Get-Item $regkey | ||
+ | Remove-Item -Force -Verbose -Path $regkey | ||
+ | Remove-Item -Recurse -Force 'C:\Program Files\Zabbix Agent 2\' | ||
``` | ``` |
Latest revision as of 19:04, 1 May 2023
HKLM:SYSTEM\CurrentControlSet\Services\EventLog\Application\Zabbix Agent 2
Get-item "HKLM:SYSTEM\CurrentControlSet\Services\EventLog\Application\Zabbix Agent 2" Remove-Item "HKLM:SYSTEM\CurrentControlSet\Services\EventLog\Application\Zabbix Agent 2" -Recurse
Windows force
stop-service "zabbix agent 2" 'C:\Program Files\Zabbix Agent 2\zabbix_agent2.exe --uninstall' sc.exe delete "Zabbix Agent 2" $regkey="HKLM:\SYSTEM\CurrentControlSet\Services\EventLog\Application\Zabbix Agent 2" Get-Item $regkey Remove-Item -Force -Verbose -Path $regkey Remove-Item -Recurse -Force 'C:\Program Files\Zabbix Agent 2\'