1c 8.3 use thick client for everyone. Configurator batch mode

When starting the 1C:Enterprise clientsearches for a client license. The license search algorithm is not so trivial. Below is this algorithm for various launch modes of 1C:Enterprise, as well as the algorithm for searching for a license when starting the 1C:Enterprise server, for the 1C:Enterprise version 8.3 (license search algorithm for “1C:Enterprise” version 8.2 I described).

1. Thick and thin clients, file version of information security

When starting 1C:Enterprise, if connected to a file

1CEStart.cfg added parameter UseHwLicenses=0.

2. Thick and thin clients, client-server version of information security

When starting, “1C:Enterprise”, in case of connection to the client-server information base, performs the launch option (license search) according to the following algorithm (if at any step the required license is detected, further search stops):

˟ Search for the HASP protection key can be disabled if the configuration file 1CEStart.cfg added parameter UseHwLicenses=0.

3. Web client, file version of information security

When starting (browser), “1C:Enterprise”, in case of connecting to a fileinformation base, performs the ability to launch (search for a license) according to the following algorithm (if the required license is detected at any step, further search stops):

4. Web client, client-server version of information security

When starting (browser), “1C:Enterprise”, in case of connection to a client-serverinformation base, performs the ability to launch (search for a license) according to the following algorithm (if the required license is detected at any step, further search stops):

5. Starting the server "1C:Enterprise"

When a client application connects to , the availability of a server license is checked using the following algorithm (if the required license is detected at any step, further search is stopped):

6. Web services

Web services do not require client licenses to operate. However, if the information base that provides Web services operates in a client-server version, you must have a server license to operate.

7. Conclusion

A software license file is considered available for use if:

  • Not included in the black list.
  • Has the correct format.
  • Linked to the current computer.
  • Contains a free license.
  • The network does not use other license files obtained for the same PIN code and serial number of the program. If such a situation is detected, the license file is made unusable and blacklisted.

As can be seen from the diagram, licenses provided using and with the help , can be folded and used at the same time. If shared, the software licenses will be used first, followed by the licenses from the HASP keys.

Did this article help you?

Platforms: 1C:Enterprise 8.3, 1C:Enterprise 8.2, 1C:Enterprise 8.1
Configurations: All configurations

2012-11-16
21362

As you know, clients do not provide the ability to select a database. They are launched by specifying special parameters on the command line. You can also create a “.bat” file and specify in it a direct launch of 1C with the necessary parameters. It is a regular text file with the “.txt” extension replaced with “.bat”. Let's consider these 1C parameters. By using parameters, you can launch the 1C program without extra effort. In addition, this option is very fast.

This launch method is extremely convenient when there is a need to constantly launch several copies of the 1C program on behalf of different users. This need often arises when testing a single database. In this state of affairs, without creating the appropriate “.bat” file, the launch procedure will be very inconvenient and lengthy.

Let's look at some 1C parameters that may be useful to you during your work: for network 1C, file 1C and new (thin client).

Launching a database that is already in the list of databases - parameters:

C:\Program Files\1cv82\common\1cestart.exe ENTERPRISE /IBName"BaseNameInList" /NUser /Ppassword

In this case, the 1C starter is launched. Mode - “enterprise”, the name of the target database is already in the list of 1C databases.

Launch directly (file option) without entering user and password

C:\Program Files\1cv82\8.2.13.205\bin\1cv8.exe ENTERPRISE /F"C:\Base1" /NUser /Ppassword

Here a thick client is launched with a direct path to the database directory. It does not matter whether the target base is on the list. Mode - "Enterprise".

Direct launch (network option) without entering a user and password

C:\Program Files\1cv82\8.2.13.205\bin\1cv8.exe ENTERPRISE /S"ServerComputerName\DatabaseNameOnServer1C" /NUser /PPassword

The same story as in the previous paragraph, only for the network version of 1C.

Running the configuration for the Trade Management thin client in thick client mode

C:\Program Files\1cv82\8.2.13.205\bin\1cv8.exe ENTERPRISE /RunModeOrdinaryApplication

Launching external processing directly at the start of 1C

C:\Program Files\1cv82\8.2.13.205\bin\1cv8.exe ENTERPRISE /Execute"FullPathToProcessingFile.epf"

Upload database to file

File version: C:\Program Files\1cv81\bin\1cv8.exe" config /F"C:\ bases1c\BUH\Titan" /N"Admin" /DumpIB "C:\Buh_Titan_%date%.dt

Server version: C:\Program Files\1cv81\bin\1cv8.exe" config /S"Server\AtlantBuh" /N"Admin" /DumpIB "C:\Buh_Titan_%date%.dt

Command line options to specify startup options

/@<имя файла>
path to the file with command line parameters.

/F<Путь>
path to the file infobase (excluding file name).

/S<Адрес>
The address of the infobase stored on the 1C:Enterprise 8.x server is as follows:

<Имя компьютера, работающего сервером приложений> \ <Ссылочное имя информационной базы, известное в рамках сервера 1С:Предприятия 8.x>

/N<Имя>
Username. Must be specified in the same way as in the Configurator

/P<Пароль>
The password of the user whose name is specified in the /N parameter. Is an optional parameter

/WA-
prohibiting the use of Windows authentication when starting an Enterprise or Configurator

/WA+
setting the mandatory use of Windows authentication when starting 1C:Enterprise or Configurator. If the /WA switch is not specified, the /WA+ command line option is assumed to be used.

/AU-
prohibiting the display of a question about updating the current version of 1C:Enterprise from an administrative installation

/AU+
setting the output of the question about updating the current version of 1C:Enterprise from an administrative installation. If the /AU switch is not specified, the /AU+ command line option is assumed to be used.

/Out<Имя файла>[-NoTruncate]
installation of a file for outputting service messages. If the NoTruncate key is specified (separated by a space), the file is not cleared

/L<Каталог>
indicates the directory of localized interface resources (for example, “RU”)

/DisableStartupMessages
Suppresses startup messages: “The database configuration does not match the saved configuration. Continue?"; “Your computer's capabilities are not sufficient to edit the configuration help. To edit the help, you must install Microsoft Internet Explorer version 6.0 or higher.”; “Your computer’s capabilities are not sufficient to edit HTML documents, including help topics. To edit HTML documents, you must install Microsoft Internet Explorer version 6.0 or higher. In this launch, editing html documents will not be available."

/C<Строка текста>
passing a parameter to the configuration

Not used for basic versions:
U.C.<Код доступа>
establishing a connection with an infobase that is blocked from establishing connections. If a non-empty access code is specified when setting the blocking, then to establish a connection you must specify this code in the /UC parameter.

/RunShortcut<имя файла>
launching the 1C:Enterprise 8.1 system with a list of infobases obtained using the specified file. The file can be a list file of common infobases (*.v8i), or an infobase shortcut file (*.v8l).

/IBConnectionString
specifying the entire connection string to the infobase, in the form in which it is returned by the InfoBaseConnectionString() function. Parts of the connection string can be overridden by pre-existing parameters. To do this, you need /IBConnectionString to be on the command line before them. When passing a connection string as a command line parameter, remember that the connection string contains quotes. Therefore, you need to put the entire string in quotes, and double the quotes inside.

/SLev
level of security of the client connection to the 1C:Enterprise server. /SLev0 - unsecured connection; /SLev1 - secure connection only during authentication; /SLev2 - secure connection for the entire session. If not specified, this is equivalent to /SLev0.

Debug
indicates that 1C:Enterprise is launched in debug mode.

/DebuggerURL
identification of the debugger to which the application should connect immediately after launch. Specifies the debugger URL (protocol, computer, and port number) where remote objects can be created in the debugger.

/SAOnRestart
Request a password when restarting the system from this session. By default, no password is requested.

/Execute<имя файла внешней обработки >
designed to launch external processing in 1C:Enterprise mode immediately after the system starts.

/Logui
is designed to run a client application to be created on the user's computer in the application file folder %APPDATA%\1C\1Cv81\<Уникальный идентификатор ИБ>\logui.txt" file logui.txt, in which all interactive user actions (keystrokes, mouse clicks) will be recorded.

/SchJobDn
manages the implementation of regulated tasks. Possible values ​​are "Y" or "N". "Y" - the created information base will be prohibited from performing routine tasks.

Configurator Batch Mode Command Line Options

/DumpIB<Имя файла>
unloading the infobase in command mode

/RestoreIB<Имя файла>
loading the infobase in command mode

/DumpCfg<имя cf файла>
saving configuration to file

/LoadCfg<имя cf файла>

/UpdateDBCfg[-WarningsAsErrors]

updating the database configuration. If the WarningsAsErrors key is specified (separated by a space), then all warning messages will be treated as errors
/DumpDBCfg<имя cf файла>
saving database configuration to file

/RollbackCfg
return to database configuration

/CheckModules
perform syntax check

/UpdateCfg<имя_файла>
updating the currently supported configuration. File_name is the name of the .cf or .cfu file.

/IBCheckAndRepair [-ReIndex]
[-LogIntergrity] [-RecalcTotals]
[-IBCompression]
[-TestOnly | [-BadRefCreate |
-BadRefClear | -BadRefNone]
[-BadDataCreate |
-BadDataDelete] ]

perform testing and correction of the information base

Hello.

In the last post I wrote about regular and managed applications, regular and managed forms of 1C:Enterprise, the article is here.
The future belongs to the managed application; already now, many typical configurations are built on the basis of a managed application, these include:
1. “1C: Trade Management 11”;
2. “1C: Management of a small company 8”;
3. “1C: Document Flow 8”;
4. “1C: Enterprise Accounting 3.0”;
5. “1C: Manufacturing Enterprise Management 2.0” (to be released in the near future);

These applications are based on managed forms and automatically open in the thin client.

Many external processing and reports do not have managed forms, and when opened in a managed application, they will open, but will be empty, i.e. not working, they work in regular applications.

An example of opening processing is described in the post: ""

Most generic and other processing can only be run in a regular application.

Now consider the following question: How to launch a regular application if by default the application runs in the thin client?

The configurator parameter must be specified Managed application and regular application, and then according to the priority when choosing to launch the application.

The priority when choosing to launch an application is as follows:
1. The information base registration property is analyzed first.
2. The second one analyzes whether the user is forced to configure a regular or managed application. If the value is Auto, then the transition to the next level is carried out.
3. And lastly, the main configuration launch mode is analyzed.

In order to catch the moment the application is launched and the moment the work is completed, it is used.

Let's look at each point in more detail.

Creating regular and managed forms becomes available if the parameter is specified in the configurator mode Service – General – Managed Application and Regular Application

Application launch priority

First When selecting a client to launch, the infobase registration property on this computer is analyzed. To do this, in the infobase registration window, you need to click the Edit button, go to the third tab of the infobase editing form and in the group Basic launch mode select the type of client to launch.

Second The application launch mode for a specific user is analyzed. It is set in the list of users. Administration – Users select the user and on the Other tab in the selection field Startup mode select Managed Application or Regular application.
For roles that are marked in the Available roles list, you must specify the right to run the thick client.


In this article I will talk about possible parameters and launch keys for 1C 8.3, 8.2 and 8.1. For the convenience of users, you can use some of the presented features. I will not go deep and describe all possible parameters, but I will describe those points that, in my opinion, ordinary users of the program may need.

On the 1C 8.1 platform there was only one option for launching the 1C application - a thick client. Let me decipher this concept a little. 1C is a client-server software and client applications are used to run it.

The concept of a thick client did not exist before the concept of a thin client appeared, and it means greater demands on the resources of the end user's computer.

With the release of the 1C 8.2 platform, it became possible to use a thin client and a web client. All these client applications have their advantages and limitations; many articles have already been written about this, and I will not go deeper into this. I will note only the main points.

  • Configurator only works in thick client mode.
  • Fat client the most demanding of computer resources.
  • Thin client is not demanding on the resources of the user’s computer in client-server mode, because all the load goes to the server.
  • Web client Requires only a browser and an Internet connection. You can work in the program from anywhere in the world. Comfortable work depends only on the speed of your Internet connection. The entire load falls on the web server.

The most common launch option so far, in my opinion, is a thick client with a file information base. Although the future undoubtedly belongs to the web client.

I’ll also note that by default in the database launch settings it’s “Select automatically” and you don’t need to think about which client and which database you need to launch.

1C launch options from the command line with automatic user selection

In my work, I often encountered errors in the operation of the 1C Accounting program, for example, some document logs were not displayed if not a single user was created in the 1C database.

To fix it, you had to create and log in, clicking OK each time in the user selection window. And this is, in principle, correct: if there are several users working in the database, each should log in under their own account.

But in some cases, when only one user always works with the program, for example in basic versions, it seems inappropriate to confirm his choice each time by pressing the OK button if the user does not have a login password. After all, it’s clear that he’s alone.

If you don’t want to select a user every time you start 1C, there are several ways to do this.

If you always work in the 1C 8 program from the same computer, under the same Windows operating system user, then you can do the following:

We launch the information base in configurator mode. Select Administration => Users. Find your user in the list and click edit:

Uncheck the “1C:Enterprise Authentication” checkbox and check the “Operating System Authentication” checkbox. Click select, a window for selecting an operating system user appears. In my case, the “Domains” list shows the name of my computer, and the “Users” list shows the existing users of my Windows OS.

Select your user and save all changes:

If you have only one user with full rights, and you try to give him OS authentication, the program will display a warning. In this case, you should create another user with full rights. I think this was done for security reasons, so that if the OS malfunctions, they can still log into 1C with full rights.

Using additional parameters for launching the 1C information base. No matter how scary it may sound, there is actually nothing complicated about it. There is no need to go into the configurator for this, except to look at the possible parameters for launching in the help. You need to specify the Username and Password as parameters.

From the 1C help:

  • /N<имя>- Username. Must be specified in the same way as in the list of users created in the Configurator.
  • /P<пароль>- password of the user whose name is specified in the /N parameter. If the user does not have a password, this parameter can be omitted.

We know our username and password, but where can we register them? Select the desired database in the list and click edit:

Scroll Next to the last page of settings and see the line we need “Advanced launch options”. Here we write /N “your username” /P “your password”. If there is no password, then this parameter and its value are not written. Save with the “Done” button. If you make a mistake with the password in the parameter, the user selection window will also pop up. Make sure everything is entered correctly.

If you want to change your username and password, you will need to make corrections to the parameters.

Launching a specific 1C database without selecting from a list of databases

For example, you don’t want to select a database from the list every time you start 1C Enterprise, but create a separate shortcut on the desktop for each database. We'll need one more launch parameter. From the 1C help:

  • /F<путь>- path to the infobase, if it is stored in a file (the file name does not need to be specified).

Let's look at the example of a 1C file database. Do the same for all other databases from the list if necessary.

And those who have a database on the server should use a different parameter to indicate the path:

  • /S<адрес>- the address of the information base stored on the 1C:Enterprise 8 server is as follows:<Имя компьютера, работающего сервером приложений>\ <Ссылочное имя информационной базы, известное в рамках сервера 1С:Предприятия 8>

First, let's create a shortcut for the executable file 1cestart.exe. The easiest way is to copy the 1C Enterprise shortcut you already have and rename it, for example, to UT 10.3, so that it is clear which database it will launch:

Now go to the properties of the shortcut and in the object field, after the quotes separated by a space we write the parameters:

First we write the ENTERPRISE parameter, it means that at startup the Enterprise startup mode will be selected. If it is necessary to run the configurator, then the DESIGNER parameter is written.

  • “C:\Program Files (x86)\1cv82\common\1cestart.exe” enterprise /F “D:\1C\Demo 1C database\Trade management (demo) for the site.”

We save and now when you start from this shortcut, it will launch exactly the database whose path you specified.

You can add the user authentication parameters described above to this shortcut:

  • “C:\Program Files (x86)\1cv82\common\1cestart.exe” enterprise /F “D:\1C\Demo 1C database\Trade management (demo) for the site” /N “Fedorov (administrator)” /P “ 131".

Now, when you start from the shortcut, the database you need will be launched under the specified user and password. If there is no password, this option is removed.

Keys and parameters for launching the 1C database when starting Windows

Let's say you want that when you turn on your computer and start Windows, the 1C database you need will automatically start under your user with a password. To do this, you need to create a shortcut with launch parameters as described above and put it in the Startup folder. Go to Start => All Programs, see the Startup folder, click on it with the right button and click Open. Copy the created shortcut into the Startup folder that opens and the next time you start Windows 1C it will start with the parameters specified in it.

Selecting different versions of the platform for launching 1C databases

For example, you simultaneously use platforms 8.1 and 8.2 to run different databases and you want to run them from one list. For each database, it is possible to specify which version of the platform will run this database. People often encounter a problem when someone has specified a certain version of the platform in the database launch settings and after updating the platform, the launch still occurs with the old version. To change the launch platform version, select the base from the list and click “Change”. In the last window, specify the required version of the platform, just keep in mind that it must be installed on your computer.

With such a recording, the latest version of the 8.1 platforms installed on your computer for the selected database will be launched.

With such an entry, platform 8.1.15.14 will be selected to run this database.

By default, when adding a database to the list, the value is set to 8.2 or 8.3. I think this article may be useful when switching to version 8.3, when everyone in the database settings will have the version to run 8.2 and no one will see the result of the update and switch to 8.3, because the databases will still be launched on the 8.2 platform.