10.3.8. Location of software licenses files

10.3.8.1. General information

A software license is a file with a .lic extension that can locate in different locations of the file system.

The software license is obtained as follows:

  • A list of software license files is generated for all directories where software licenses can be located. The files are ordered the way they are returned by the operating system when searching. You can find this list in the subsections of this section. Each section describes the location of one of the supported operating systems.
  • For each file in the list, the required license (client or server) is obtained before the license is successfully received (seeAvailable software license) or before the list of software license files is prepared.

10.3.8.2. On Windows

In Windows, software license files can be located in the following directories (directories are listed in the search order):

  • Directory of configuration files for a specific platform version. The default directory is C:\Program Files\1cv8\A.B.C.D\bin\conf.
  • The %LOCALAPPDATA%\1C\1cv8\conf directory of the user on whose behalf the system is operating.
  • The directory specified as the value of the ConfLocation parameter of the conf.cfg file from the bin\conf directory of a specific version.
  • The %ALLUSERSPROFILE%\1C\1cv8\conf directory.
  • The %ALLUSERSPROFILE%\1C\licenses directory.
  • The %ProgramData%\1C\licenses directory.

If no license was found in any of these directories, the %APPDATA%\1C\1cv8\ directory is used for search. If there is a location.cfg file in this directory, the directory specified in the location parameter will be used for the search.

10.3.8.3. On Linux

In Linux, software license files can be located in the following directories (directories are listed in the search order):

  • The conf directory of a specific version: /opt/1cv8/arch/A.B.C.D/conf.
  • The conf directory of the root installation directory: /opt/1cv8/conf.
  • The ~/.1cv8/conf directory (~ is a home directory of the user on whose behalf 1C:Enterprise operates).
  • The directory specified as the value of the ConfLocation parameter of the conf.cfg file from the conf directory of a specific version.
  • The /var/1C/licenses directory.

If no license was found in all of these directories, the ~/.1cv8/1C/1cv8/ directory is used for search. If there is a location.cfg file in this directory, the directory specified in the location parameter will be used for the search.

10.3.8.4. On macOS

In macOS, software license files can be located in the following directories (directories are listed in the search order):

  • The conf directory of the installed version. The path to this directory looks as follows: /opt/1cv8/A.B.C.D/conf.
  • The ~/.1cv8/conf directory (~ is a home directory of the user on whose behalf 1C:Enterprise operates).
  • The directory specified as the value of the ConfLocation parameter of the conf.cfg file from the conf directory of a specific version.
  • The /var/1C/licenses directory.

If no license was found in all of these directories, the ~/.1cv8/1C/1cv8/ directory is used for search. If there is a location.cfg file in this directory, the directory specified in the location parameter will be used for the search.

Icon/Social/001 Icon/Social/006 Icon/Social/005 Icon/Social/004 Icon/Social/002