Command Line Interface

Use ftlicsrvcmd.exe console program to configure the program via command line interface.

Command line ftlicsrvcmd.exe file is created during the program installation. You can find it in License Server program folder.

Command Line Keys

Key Description
/? Show this help.
add [-d] [-f] <key file path or single-line key string> Add a license key.
-d - add deactivated key.
-f - force the addition of a duplicate key (may be beeded to replace the license key with the extended one).
activate <KeyId> Activate the license key.
deactivate <KeyId> Deactivate the license key.
port [TCPPort] Get/set TCP port for license server.
TCPPort - if specified, set this TCP port or get it otherwise.
state [[-u] <KeyId>] Print a current state of the license server.
KeyId - if specified, print a current state of this key.
-u - print a current state of the specified key with connected users.
logmon [-w] [-l <N>] Monitoring the License Server log file.
-w - print warnings with errors (only errors by default).
-l <N> - print last N matching lines from a log file

Command Line Usage Examples:

Add a license key:

C:\Program Files (x86)\License Server>ftlicsrvcmd.exe add C:\Users\User\Desktop\key.txt

View a current state of the license server:

C:\Program Files (x86)\License Server>ftlicsrvcmd.exe state

All keys state ------------------------------------------------------

"Scanner for Remote Desktop" license keys

    Key (1) - Site: 5000 sessions totally
      Available - 4483 sessions
      State - Active. Trial till 01/01/18.

    Key (2) - Unlimited Site
      Available - License Expired
      State - Expired. Trial till 11/10/17.

View a current state of the Key 1:

C:\Program Files (x86)\License Server>ftlicsrvcmd.exe state 1

Key (1) state ------------------------------------------------------

  Product:          Scanner for Remote Desktop
  Reference number:
  Licensed to:      IT Test
  Trial till:       January 01st, 2018
  Update till:      October 05th, 2018
  Total quantity:   Site: 5000 sessions totally
  Available:        4442 sessions
  In use:           558 sessions

Deactivate and delete Key 1:

C:\Program Files (x86)\License Server>ftlicsrvcmd.exe deactivate 1

C:\Program Files (x86)\License Server>ftlicsrvcmd.exe state

All keys state ------------------------------------------------------

"Scanner for Remote Desktop" license keys

    Key (1) - Site: 5000 sessions totally
      Available - 5000 sessions
      State - Deactivated. Trial till 01/01/18.

    Key (2) - Unlimited Site
      Available - License Expired
      State - Expired. Trial till 11/10/17.

C:\Program Files (x86)\License Server>ftlicsrvcmd.exe del 1

C:\Program Files (x86)\License Server>ftlicsrvcmd.exe state

All keys state ------------------------------------------------------

"Scanner for Remote Desktop" license keys

    Key (2) - Unlimited Site
      Available - License Expired
      State - Expired. Trial till 11/10/17.