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

Get support with AI

Resolve your issue quickly with the Esri Support AI Chatbot.

Start chatting now

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Start chatting now

Go to download options