[KB6745] How to re-deploy ESET Management Agent over an existing password protected Agent

Issue

User needs to reinstall ESET Management Agent over an existing ESET Management Agent which is protected by a known password.

Details

  • The only type of installer where the password can be included is the Live installer script.
  • This solution works only on ESET Management Agent of version 7.x for Windows operating system.

Solution

To create an installer which can override a password-protected agent, you have to create a new (or modify existing) Live installer script.

  1. Create the Live installer script, but do not deploy it on a computer yet.
     
  2. Extract the downloaded file ESMCAgentInstaller.zip
     
  3. Open the ESMCAgentInstaller.bat in a simple text editor like Notepad.
     
  4. Find the section between lines 30 and 46 where the parameters shown below are selected.

Figure 1-1

  1. Add a line between lines 36 and 37 as seen in the image below.
    echo.PASSWORD=secret_123 >> "%installConfigFile%"
    Substitute the example password secret_123 with the password of your existing ESET Management Agent.
     

Figure 1-2

  1. Save the changes in the file.
     
  2. Use this modified installer for the Agent re-installation according to steps 7 - 9 from the article KB6739.