Generate a keycodes file to authorize an enterprise geodatabase when an ArcGIS Server instance is unavailable

Last Published: February 25, 2021


When authorizing an enterprise geodatabase on an ArcGIS Server instance, a keycodes file is required to complete the authorization process. As the keycodes file is generated during the authorization process, in some instances, when access to an ArcGIS Server instance is unavailable, the authorization process cannot be completed. For example, when a different machine is used for the authorization, or when the server is unavailable.


Follow the steps below to complete the software authorization process, and generate a new keycodes file to authorize an enterprise geodatabase when an ArcGIS Server instance is unavailable.

An authorization file for ArcGIS Server is still required to perform the following procedure. It is not possible to authorize an enterprise geodatabase if only an ArcGIS Desktop license is available.
  1. On the machine, navigate to the following location:
C:\Program Files (x86)\Common Files\ArcGIS\bin
  1. Double-click SoftwareAuthorization.exe to run the authorization wizard.
  2. In Software Authorization Wizard, under Authorization Options, select I have received an authorization file and am now ready to finish the authorization process..
  3. Click Browse... to select the .ecp authorization file obtained from My Esri. Select the file used to authorize the organization's ArcGIS Server machine.
Refer to the ArcGIS Server administrator to determine the correct ECP file.
  1. For Product to be Authorized, ensure ArcGIS Server is selected, and click Next.
The Software Authorizarion Wizard showing the authorization options
  1. Refer to Steps 7 to 14 of ArcGIS Pro: Authorize a Single Use license to complete the software authorization process.
  2. Navigate to the following location to access the newly created keycodes file and verify the keycodes file is present:
C:\Program Files (x86)\Esri\License10.x\sysgen
  1. Authorize the enterprise geodatabase with the newly created keycodes file. Refer to ArcGIS Pro: Update Enterprise Geodatabase License (Data Management) for more information.

Article ID:000024911

  • ArcGIS Server
  • ArcGIS Pro 2 7 x
  • ArcMap 10 7
  • ArcGIS Pro 2 x
  • ArcMap 10 8

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