HOW TO

Change the connection to a new License Manager with a batch file

Last Published: April 25, 2020

Summary

When a new License Manager is set up for an organization, each machine connected to the license server is required to update their connection to the new License Manager. Instead of manually updating the connection through ArcGIS Administrator for each machine in a large organization, updating the connection through a batch file saves time.

Procedure

Follow the steps below to create a batch file that updates a machine's connection to the new License Manager:

Warning:   
The instructions below include making changes to essential parts of your operating system. It is recommended that you backup your operating system and files, including the registry, before proceeding. Consult with a qualified computer systems professional, if necessary.

Esri cannot guarantee results from incorrect modifications while following these instructions; therefore, use caution and proceed at your own risk.
  1. Open a text editor, such as Notepad, and paste the following syntax:
REGEDIT4

; @ECHO OFF
; CLS
; REGEDIT.EXE /S "%~f0"
; EXIT

[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\ESRI\License10.x]
"LICENSE_SERVER"="@LicenseManager"
  1. Replace the LicenseManager value in the syntax with the hostname of the new license manager.
  2. Click File > Save As and save the file with the .bat extension
  3. Run the .bat file on the individual machines to update the license manager connection.

Article ID: 000021164

Software:
  • ArcMap

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options