Batch commands for loading configuration connection info (.cci) files - Intergraph Smart Licensing - Version 14.1 Update 18 - Installation & Upgrade - Hexagon

Smart Licensing Installation and Setup

Language
English (United States)
Product
Intergraph Smart Licensing
Search by Category
Installation & Upgrade

The following batch commands are useful when loading configuration connection info (.cci) files for many users at once or when loading different configuration connection info (.cci) files for different users.

In these examples, replace the italicized text with the actual paths and file names that you're using.

Multiple users

To load a configuration connection info (.cci) file for multiple users:

for /F %i in (path\userlist.txt) do "C:\Program Files\Intergraph Smart Licensing\Client\ClientConfigTool.exe" -u %i -f path\configconnectioninfo.cci

The file userlist.txt contains a list of users like the following:

user1a
user1b
user1c
user1d
user2a
user2b
user2c
user2d

Multiple users with password on configuration connection info (.cci) file

To load a configuration connection info (.cci) file for multiple users, with a password MyPassword set on the file:

for /F %i in (path\userlist.txt) do "C:\Program Files\Intergraph Smart Licensing\Client\ClientConfigTool.exe" -u %i -f path\configconnectioninfo.cci -p MyPassword

Different users and different configuration connection info (.cci) files

To load different configuration connection info (.cci) files for different users:

for /F "tokens=1,2 delims=," %i in (path\users_and_configconnectioninfofiles.txt) do "C:\Program Files\Intergraph Smart Licensing\Client\ClientConfigTool.exe" -u %i -f %j

The file users_and_configconnectioninfofiles.txt contains a list of users with their associated configuration connection info (.cci) files:

user1a,c:\MyFiles\configconnectioninfo1.cci
user1b,c:\MyFiles\configconnectioninfo1.cci
user1c,c:\MyFiles\configconnectioninfo1.cci
user1d,c:\MyFiles\configconnectioninfo1.cci
user2a,c:\MyFiles\configconnectioninfo2.cci
user2b,c:\MyFiles\configconnectioninfo2.cci
user2c,c:\MyFiles\configconnectioninfo2.cci
user2d,c:\MyFiles\configconnectioninfo2.cci

Different users, different configuration connection info (.cci) files, and passwords

To load different configuration connection info (.cci) files for different users with different passwords:

for /F "tokens=1,2,3 delims=," %i in (path\users_configconnectioninfofiles_passwords.txt) do "C:\Program Files\Intergraph Smart Licensing\Client\ClientConfigTool.exe" -u %i -f %j -p %k

The file users_configconnectioninfofiles_passwords.txt contains the following:

user1a,c:\MyFiles\configconnectioninfo1.cci,MyPassword1
user1b,c:\MyFiles\configconnectioninfo1.cci,MyPassword1
user1c,c:\MyFiles\configconnectioninfo1.cci,MyPassword1
user1d,c:\MyFiles\configconnectioninfo1.cci,MyPassword1
user2a,c:\MyFiles\configconnectioninfo2.cci,MyPassword2
user2b,c:\MyFiles\configconnectioninfo2.cci,MyPassword2
user2c,c:\MyFiles\configconnectioninfo2.cci,MyPassword2
user2d,c:\MyFiles\configconnectioninfo2.cci,MyPassword2