I’ve got a customer who used to have an ESET Remote Administrator 6 server, and about 85 computers connected to it. That server was deprecated, but a client task was not initiated to remove the old agent first. So essentially, they ended up with 85 machines with an agent pointing to a dead server.
A new ESET Security Management Center server was deployed, and a new agent installer created. However, because ESET changed the name of the agent, installing the new ESMC agent does not in fact upgrade the old agent. So you either end up with two agents, or just remain with the old one pointing to a non-existent server.
You could go around to every workstation and manually uninstall the ERA agent. But yikes, that’d be brutal. You can’t do it unattended even, because the uninstaller asks for a password.
The customer’s site doesn’t have a password to remove it, so you just push enter. But the prompt still appears.
So I wanted to help them do this via a GPO. After all, what’s the point in having a network if you still have to treat each system as independent?
wmic product get name
This command gives me a list of all applications that can be uninstalled. I ran it on my own system and see ESET Management Agent. I have ESMC 7. I ran it on an older system we have here, and it shows “ESET Remote Administrator Agent”. So I wrote a quick batch file to remove either of those two applications.
You can find that batch file here: https://github.com/Cat5TV/eset/blob/master/uninstallers/eset-uninstall-agent.bat
I figure there are probably various names for various versions of the agent, and I’ll add them as I find them.
ESET is currently evaluating my solution, as their support team says they have been encountering this problem more and more and had yet to come up with a solution. I hope it’s able to help some folks.
Robbie // Bald Nerd
It still shows installed though. Remains installed after reboot also.
Please re-read my reply – sorry, I think we’re both typing at the same time so you’re not seeing my edits 🙂 I’ll await your reply.
I ran as admin
C:\WINDOWS\system32>wmic product where name=”ESET Management Agent” call uninstall /nointeractive
Executing (\\AHERICKS-LAP\ROOT\CIMV2:Win32_Product.IdentifyingNumber=”{3F509AE4-E4F1-4418-B0C2-92766748DC02}”,Name=”ESET Management Agent”,Version=”7.0.577.0″)->Uninstall()
Method execution successful.
Out Parameters:
instance of __PARAMETERS
{
ReturnValue = 0;
};
This did not work for me. Did you have to do anything for the blank password in parameters of the uninstall? We have version 7.0.577.0 installed.
Hmm, it should work for all.
You’re certain you’re running it as administrator (eg,. you right-clicked the file and chose “Run as administrator”?) My first guess is that you ran it as a normal user (eg., double-clicked on it).
No, you don’t need to worry about the password. That’s part of the point of this tool since it can be used to remove password-protected product too. 🙂
Can you share the output of this command:
wmic product get name,version,vendor | findstr /R /C:"ESET"
Robbie // The Bald Nerd
ESET Management Agent ESET, spol. s r.o. 7.0.577.0
ESET Endpoint Security ESET, spol. s r.o. 7.1.2053.0
Hmm, that’s very odd – never seen this happen before. Is there anything unique about your environment I should know about?
Perhaps best to move this conversation off comments so I can be of better help. Please join the Category5 discord server and ping me on there. You’ll find it on the Interact menu on my site: https://category5.tv
I am not sure how to ping you on there. I accepted the invite, but it didn’t show a message from you anywhere
🙂 Just go into #General on the Category5 TV server and say hi to RobbieF. Eg., type: Hi @RobbieF
See you there!
Thank’s Robbie, I Have a similar problem & I tried your bat file on my machine, works a treat..Well done
Thanks Dave. Glad I could help!