Custom ArcGIS Pro Desktop Shortcuts by License Type

605
2
Jump to solution
03-09-2023 06:29 AM
PatrickKielty
New Contributor III

As we migrate from ArcMap to ArcGIS Pro, we are inquiring about using the the same custom desktop shortcuts we use for ArcMap. Currently, for ArcMap we have Concurrent Use Licenses (all stored on the same license server) and we have created shortcuts for users. These shortcuts are .bat files. They have the option to launch ArcMap with Advance, Standard or Basic License.  Example of a .bat file:

set ESRI_SOFTWARE_CLASS=Editor
set path=%path%;C:\Program Files (x86)\ArcGIS\Desktop10.6\bin
ArcMap.exe

Does anyone know if this will work for ArcGIS Pro as well? The Concurrent Use License set up for pro will be the same as ArcMap. 

Thank you

0 Kudos
1 Solution

Accepted Solutions
SamuelCanas
Esri Contributor

Hello @PatrickKielty , 

Here I´d like to share with you a script tested to work and the steps of how to create it in order to configure custom ArcGIS Pro Desktop Shortcuts by License Type with .bat files as you need to. 

  • In the following clip you will be able to see how the Batch Files work.
    • First the Batch File for ArcGIS Pro Basic licenses is executed and as you can see, the license type is set up to Basic.
    • After that, we close ArcGIS Pro and execute the Batch File for ArcGIS Pro Advanced. The license type changes successfully to Advanced.

ArcGISProBatchFiles.gif

 

  • Step-by-step process to create Batch Files for ArcGIS Pro: 
    1. Create a new text file with the following scripts:
      • This is the script for ArcGIS Pro Advanced. Note that ESRI_SOFTWARE_CLASS_PRO = Professional
        set ESRI_SOFTWARE_CLASS_PRO=Professional
        set path=%path%;C:\Program Files\ArcGIS\Pro\bin
        ArcGISPro.exe
      • For ArcGIS Pro Standard: Set the ESRI_SOFTWARE_CLASS_PRO = Editor
      • For ArcGIS Pro Basic: Set the ESRI_SOFTWARE_CLASS_PRO = Viewer
    2. Save the script as a .bat file
      • On the notepad or text editor, go to File > Save As. Provide a name and a .bat extension to the file and save.
    3. Run the script for Basic, Standard or Advanced as needed. 
      • Finally, run by double-clicking on the Batch File to execute it. The command prompt will launch and after that ArcGIS Pro will open with the selected license type.
      • If you happen to have any issues, run the Batch File as an Administrator by right-clicking and selecting Run as administrator.

I hope the information is useful and that you can configure the shortcuts as needed. 

Kindly, 

Samuel 

View solution in original post

2 Replies
SamuelCanas
Esri Contributor

Hello @PatrickKielty , 

Here I´d like to share with you a script tested to work and the steps of how to create it in order to configure custom ArcGIS Pro Desktop Shortcuts by License Type with .bat files as you need to. 

  • In the following clip you will be able to see how the Batch Files work.
    • First the Batch File for ArcGIS Pro Basic licenses is executed and as you can see, the license type is set up to Basic.
    • After that, we close ArcGIS Pro and execute the Batch File for ArcGIS Pro Advanced. The license type changes successfully to Advanced.

ArcGISProBatchFiles.gif

 

  • Step-by-step process to create Batch Files for ArcGIS Pro: 
    1. Create a new text file with the following scripts:
      • This is the script for ArcGIS Pro Advanced. Note that ESRI_SOFTWARE_CLASS_PRO = Professional
        set ESRI_SOFTWARE_CLASS_PRO=Professional
        set path=%path%;C:\Program Files\ArcGIS\Pro\bin
        ArcGISPro.exe
      • For ArcGIS Pro Standard: Set the ESRI_SOFTWARE_CLASS_PRO = Editor
      • For ArcGIS Pro Basic: Set the ESRI_SOFTWARE_CLASS_PRO = Viewer
    2. Save the script as a .bat file
      • On the notepad or text editor, go to File > Save As. Provide a name and a .bat extension to the file and save.
    3. Run the script for Basic, Standard or Advanced as needed. 
      • Finally, run by double-clicking on the Batch File to execute it. The command prompt will launch and after that ArcGIS Pro will open with the selected license type.
      • If you happen to have any issues, run the Batch File as an Administrator by right-clicking and selecting Run as administrator.

I hope the information is useful and that you can configure the shortcuts as needed. 

Kindly, 

Samuel 

PatrickKielty
New Contributor III

Thank you very much Samuel - 

This worked for us. we were missing the '_PRO'