Skip to main content

Use the ESET Dynamic Deactivation tool in your VDI environment to move licenses between virtual machines - Kennisbank / Legacy / Legacy ESET Remote Administrator (6.x / 5.x / 4.x) - ESET Tech Center

Use the ESET Dynamic Deactivation tool in your VDI environment to move licenses between virtual machines

Authors list

https://support.eset.com/kb6299

Issue

  • Prevent licenses from staying assigned to VDI workstations after users log off by removing old VDI computers from ERA

Solution

  1. Download the ESET Dynamic Deactivation Tool.
     
  2. Extract DynamicDeactivation.Zip, which you downloaded in step one.
     
  3. Open a command prompt and enter the following command where yourerapassword is the password you use to log into the ERA Console:

    dynamicdeactivation.exe config=ddconfig.xml setpass=yourerapassword

Figure 1-1

  1. Open the .xml file named ddconfig, which you extracted from the ZIP file in step two, using a text editor.
     
  2. Adjust the following settings in the ddconfig file to match your system parameters:
    1. RAServer: Your ERA Server's hostname or IP address
       
    2. RAPort: The port used to connect to ERA Web Console, the default value is 2223
       
    3. RAUser: The User name you use to log into ERA Web Console
       
    4. RADomainuser: If your network uses a domain Username and password, change this value from 0 to 1. Your domain Username should be entered in the RAUser field, and your password should have been specified in step 3.
       
    5. client_name: Enter a value that will apply all VDI clients on your network using a regular expression.

      For example, if clients on your network use the naming scheme "ERAClientX", you could enter ^ERAClient\S^ in this field to search for any clients with the string "ERAClient" in their name. The \S in this command must be entered with an uppercase S.
       
    6. last_connected: Enter a negative value to tell the tool how far back in minutes it should look to find the last connection to ERA.

      For example, if you want to remove entries from ERA that have not connected in an hour, use the value -60. If you want to remove entries thathave not connected for 20 minutes, use the value -20. See our Knowledgebase article for instructions to adjust your connection interval.
       

Figure 1-2
Click the image to view larger in new window

  1. Perform a test run of the tool using the following command:

    dynamicdeactivation.exe config=ddconfig.xml 
  1. To run the tool and have it deactivate found clients, add the runmode=deactivate parameter:

    dynamicdeactivation.exe config=ddconfig.xml runmode=deactivate
     
  2. To automate the Dynamic Deactivation tool so that clients are checked on a regular interval, create a scheduled task using Windows Scheduler.

Add a comment

Please log in or register to submit a comment.

Need a password reminder?