How to remove Netwrix Event Log agent from multiple servers

Event Log Management
6.5 and older
7.0-8.5
Other
https://kb.netwrix.com/777
Copy Article URL Copied

We used to use Netwrix Auditor – Generic (Event Log Management) events and Netwrix Auditor for User logons with agents, but we do not use them anymore

But agents are still installed on the servers, so we need a method to safely automate the removal of the service from all servers. 


The agents are registered as services, so it is recommended to use sc.exe to remove services.

Find attached a Powershell script that will remove Netwrix agents from all servers in the specified list.

Remove.zip

The script requires a list of servers in a text file as input.

Example: .\Remove.ps1 -list D:\Servers.txt

Go Up