HOW TO

Update the ArcGIS Pro license server in the registry through a batch script

Last Published: December 19, 2023

Summary

To update the ArcGIS Pro license server information on multiple machines, customers can use a batch script. This is useful when an organization has switched to a new license server with a different hostname or IP address.

Procedure

Caution:
Please note that this script modifies the Windows registry. It is recommended to back up your operating system and files, including the registry, before proceeding. Also, ensure that you have administrative privileges to make changes to the registry.
  1. Open a text editor such as Notepad.
  2. Copy and paste the following code into the text editor:
@echo off
setlocal
set KEY_NAME="HKEY_CURRENT_USER\SOFTWARE\ESRI\ArcGISPro\Licensing"
set VALUE_NAME="LICENSE_SERVER"
REG ADD %KEY_NAME% /v %VALUE_NAME% /t REG_SZ /d "@your_new_license_server" /f
endlocal
  1. Replace "your_new_license_server" with the hostname or IP address of your new license server.
  2. Save this file with a .bat extension. For example, you could name it "UpdateLicenseServer.bat".
  3. Run the batch file as an administrator.


Article ID: 000031618

Software:
  • ArcGIS Pro

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