Command line parameters 1s 8.3. Command line options to specify launch options

Command line parameters 1s 8.3.  Command line options to specify launch options
Command line parameters 1s 8.3. Command line options to specify launch options

When running the 1CV8.EXE file, the following parameters can be specified on the command line:
Options command line mode selection:
CONFIG - launching the 1C:Enterprise 8.x system in the "Configurator" mode; ENTERPRISE - launching the 1C:Enterprise 8.x system in the "1C:Enterprise" mode;
CREATEINFOBASE ] - Creation information base (
a string specifying the infobase parameters, each of which is a fragment of the view<Имя параметра=><Значение>, where Parameter Name is the name of the parameter, and Value is its value.
Fragments are separated from each other by ';' characters.
If the value contains whitespace characters, then it must be enclosed in double quotes (“).

The following parameter is defined for the file variant:

File - infobase directory;
Locale - language (country) that will be used when creating the infobase. Valid values ​​are the same as the parameter<Форматная строка>method Format. The Locale parameter is optional. If not specified, the regional settings of the current infobase will be used.

For the client-server version, the following parameters are defined:
Srvr - 1C:Enterprise server name;
Ref - name of the infobase on the server;
SQLSrvr - SQL server name;
SQLDB - SQL database name;
SQLUID - name SQL user;
SQLPwd - SQL user password. If the password for the SQL user is not set, then this parameter can be omitted
SQLYOffs is the date offset used to store dates in SQL Server. It can take the values ​​0 or 2000. This parameter is optional. If not set, the value is 0.
Locale - language (country), (similar to the file version).

For all options, the parameters are defined:
usr - username;
pwd - password
/AddInList – parameter showing under which name to add the base to the list, if not specified, the base will not be added to the list. If no name is specified, the default is used, similar to the interactive creation of an infobase.

Simultaneous use of keys is not allowed.

Command line options to specify launch options:
/@<имя файла>– command line parameters are written in the specified file
/F<Путь>– path to the infobase, if it is stored in a file (no need to specify the file name)
/S<Адрес>– the address of the infobase stored on the 1C:Enterprise 8.x server is added as follows:
<Имя компьютера, работающего сервером приложений>\ <Ссылочное имя информационной базы, известное в рамках сервера 1С:Предприятия 8.x>

/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
/WA - prohibition of using Windows authentication at the start of the Enterprise or the Configurator
/WA+ setting the mandatory use of Windows authentication at the start of 1C:Enterprise or Configurator. If the /WA switch is not specified, it is assumed that the /WA+ command line option is used.
/AU - prohibition of the output of the update question current version 1C:Enterprise with administrative installation
/AU+ setting the output of the question about updating the current version of 1C:Enterprise from the administrative installation. If the /AU switch is not specified, it is assumed that the /AU+ command line option is used.
/Out<Имя файла>[-NoT_runcate] – setting a file for displaying service messages. If the key –NoT_runcate (separated by a space) is set, the file is not cleared
/L<Каталог>– specifies the directory of localized interface resources (for example, "RU")
/DisableStartupMessages - Suppresses startup messages: "The database configuration does not match the saved configuration. Continue?"; “The capabilities of your computer are not enough to edit the configuration help. To edit help, you need to install Microsoft Internet Explorer version 6.0 or higher."; “The capabilities of your computer are not enough to edit html documents, including help sections. To edit html documents, you need to install Microsoft Internet Explorer version 6.0 or higher. In this launch, editing html documents will not be available.
/C<Строка текста>– passing the parameter to the configuration Command line parameters of the batch mode of the configurator:
/DumpIB<Имя файла>- unloading the infobase in command mode
/RestoreIB<Имя файла>– loading infobase in command mode
/DumpCfg<имя cf файла>– saving the configuration to a file
/LoadCfg<имя cf файла>– loading configuration from a file
/UpdateDBCfg [-WarningsAsErrors] - update 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 the database configuration to a file
/RollbackCfg - return to the database configuration
/CheckModules - perform syntax check
/UpdateCfg<имя cf | cfu файла>– updating a supported configuration
/IBCheckAndRepair [-ReIndex] [-LogIntergrity] [-RecalcTotals] [-IBCompression] [-TestOnly | [-BadRefCreate | -BadRefClear | -BadRefNone] [-BadDataCreate | -BadDataDelete] ] – perform testing and correction of the infobase
ReIndex - table reindexing
LogIntergrity - logical integrity check
RecalcTotals - recalculation of totals
IBCompression - table compression
TestOnly - only testing

If there are references to non-existent objects:
BadRefCreate - create objects
BadRefClear - clear objects
BadRefNone - do not change

in case of partial loss of objects:
BadDataCreate - create objects
BadDataDelete - delete objects

Simultaneous use of keys within a parameter subgroup is not allowed.
If the command was successful, returns a return code of 0, otherwise - 1 (101 if there are errors in the data).
After execution, it closes the 1C:Enterprise 8.x system.

Command line options for creating distribution and update files in batch mode:
/CreateDistributionFiles [-cffile<имя cf файла>] [-cfufile<имя cfu файла>[-f<имя cf файла>|-v<версия дистрибутива>]+] – Creation of delivery and update files
-cffile<имя cf файла>- an instruction to create a distribution kit
-cfufile<имя cfu файла>- an instruction to create an update
-f<имя cf файла>– the distribution kit included in the update is specified by the name
-v<версия дистрибутива>] – the distribution included in the update is specified by the version
Note: parameter group -f<имя cf файла>|-v<версия дистрибутива>repeats as many times as the distribution files are included in the update.

Mode selection command line options:

CONFIG
launching the 1C:Enterprise 8 system in the "Configurator" mode

ENTERPRISE
launching 1C:Enterprise 8 in 1C:Enterprise mode

CREATEINFOBASE
creating distribution and update files


a string specifying the infobase parameters, each of which is a fragment of the view
,
where Parameter name is the name of the parameter, and Value is its value. Fragments are separated from each other by ";". If the value contains whitespace characters, it must be enclosed in double quotes (").

File mode options

File directory of the infobase;
Locale language (country) that will be used when creating the infobase. Valid values ​​are the same as the Format method parameter. The Locale parameter is optional. If not specified, the regional settings of the current infobase will be used.

Client-Server Options

Srvr server name 1C:Enterprise;
Ref is the name of the infobase on the server;
SQLSrvr name of the SQL server;
SQLDB name of the SQL database;
SQLUID SQL username;
SQLPwd SQL user password. If the password for the SQL user is not set, then this parameter can be omitted
SQLYOffs is the date offset used to store dates in SQL Server. It can take the values ​​0 or 2000. This parameter is optional. If not set, the value is 0.
Locale - language (country), (similar to the file version).

For all options, the parameters are defined:

Usr Username;
pwd password

/AddInList parameter showing under which name to add the base to the list, if not specified, the base will not be added to the list. If no name is specified, the default is used, similar to the interactive creation of an infobase.
Simultaneous use of keys is not allowed.

Command line options to specify launch options:

/@
command line options are written in the specified file

/F
path to the infobase, if it is stored in a file (no need to specify the file name)

/S
the address of the infobase stored on the 1C:Enterprise 8 server is added up as follows:

/N
Username. Must be specified in the same way as in the list of users created in the Configurator

/P
the password of the user whose name is specified in the /N option. If the user does not have a password, this parameter can be omitted

/WA-
prohibiting the use of Windows authentication at the start of the Enterprise or the Configurator

/WA+
setting the mandatory use of Windows authentication at the start of 1C:Enterprise or Configurator. If the /WA switch is not specified, it is assumed that the /WA+ command line option is used.

/AU-
prohibition of displaying 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 the administrative installation. If the /AU switch is not specified, it is assumed that the /AU+ command line option is used.

/Out
[-NoTruncate]
setting a file for displaying service messages. If the NoTruncate key is set (separated by a space), the file is not cleared

/L
the directory of localized interface resources is specified (for example, "RU")

/DisableStartupMessages
Suppresses startup messages: “Database configuration does not match saved configuration. Continue?"; “The capabilities of your computer are not enough to edit the configuration help. You must have Microsoft Internet Explorer version 6.0 or later installed to edit the Help.»; “The capabilities of your computer are not enough to edit html documents, including help sections. To edit html documents, you need to install Microsoft Internet Explorer version 6.0 or higher. In this launch, editing html documents will not be available.

/C
passing parameter to configuration

Batch mode

Using command line options, the administrator can run the configurator in batch mode to perform the following actions:

  • updating the database configuration, including the one under support;
  • performance of syntactic control;
  • testing and correcting the infobase with setting all parameters;
  • reduction of the registration log;
  • performing a configuration check.
  • Using command line options, the administrator can specify:

    • launching the 1C:Enterprise 8 system in the Configurator mode;
    • infobase parameters: user, password; for the file version - directory, language; for the client-server version - server name, infobase name, SQL server name, SQL database name, SQL username and password, date offset.

    In addition, all launch options can be generated in an external file whose name is specified in the command line options.

    After performing the actions specified in the launch parameters, the 1C:Enterprise configurator closes.

    Using the batch launch mode of the configurator allows you to automate the process of maintaining infobases by launching the corresponding batch files Scheduled.

    Configurator batch mode command line parameters:

    /DumpIB
    unloading infobase in command mode

    /DumpCfg
    saving the configuration to a file

    /UpdateDBCfg
    [-WarningsAsErrors]
    updating the database configuration. If the Warnings-AsErrors key is specified (separated by a space), then all warning messages will be treated as errors

    /DumpDBCfg
    saving the database configuration to a file

    /RollbackCfg
    back to database configuration

    /CheckModules
    perform syntax check

    /UpdateCfg
    updating a supported configuration

    /IBCheckAndRepair [-ReIndex]
    [-LogIntergrity] [-RecalcTotals]
    [-IBCompression]
    [-TestOnly | [-BadRefCreate |
    -BadRefClear | -BadRefNone]
    [-BadDataCreate |
    -BadDataDelete] ]
    perform testing and correction of the infobase

    ReIndex
    table reindexing

    LogIntergrity
    logical integrity check

    RecalcTotals
    recalculation

    IBCompression
    table compression

    TestOnly
    only testing if there are references to non-existent objects:

    BadRefCreate
    create objects

    BadRefClear
    clear objects

    BadRefNone
    do not change

    With partial loss of objects:

    BadDataCreate
    create objects

    BadDataDelete
    delete objects

    Simultaneous use of keys within a parameter subgroup is not allowed. Return code 0 if command succeeds, return code 1 otherwise (101 if there are errors in the data).

    Command line options for creating distribution and update files in batch mode:

    /CreateDistributionFiles
    [-cffile]
    [-cfufile
    [-f |-v ]+]
    Creating Delivery and Update Files

    cffile
    an instruction to create a distribution

    cfufile
    an instruction to create an update

    F
    the distribution included in the update is specified by the name

    V]
    the distribution included in the update is specified by the version

    Note: The -f |-v group of options is repeated as many times as the number of distribution files included in the update.

    Command line parameters for working with the configuration repository:

    /DepotF
    storage directory

    /DepotN
    vault username

    /DepotP
    vault user password

    V
    v - version number, if the version number is not specified, or equal to -1, it will be saved latest version.

    /DepotUpdateCfg [-v ] [-revised]
    Update storage configuration from file (batch mode)

    V
    version number, if the version number is not specified, or equal to -1, the latest version will be saved, if the configuration is connected to the repository, then the parameter is ignored

    Revised
    receive captured objects if required. If the configuration is not connected to the repository, then the parameter is ignored.

    Command line parameters for batch registration of 1C:Enterprise 8 as an Automation server:

    /RegServer
    application registration

    /UnregServer
    deleting application registration

    After execution, it closes the 1C: Enterprise 8 system.
    If parameter values ​​include spaces (for example, a path or file name), the values ​​must be enclosed in quotation marks.

    Examples

    How to run 1C:Enterprise 8 from the command line

    C:\Program Files\1cv8\bin\1cv8.exe" ENTERPRISE /F D:\Configurations\Typical\ControlTorg /N Username /P Password

    C:\Program Files\1cv8\bin\1cv8.exe" ENTERPRISE /S Server\Base /N Username /P Password

    C:\Program Files\1cv8\bin\1cv8.exe" CONFIG /F D:\Configurations\Typical\ControlTorg /N Username /P Password

    How to force 1C:Enterprise to unload the database from the command line

    C:\Program Files\1cv8\bin\1cv8.exe" CONFIG /F D:\Trading Admin /N Username /P Password /DumpIB c:\name.dt

    How to update the current configuration changes in the database configuration from the command line

    C:\Program Files\1cv8\bin\1cv8.exe" CONFIG /F D:\Trading Admin /N Username /P Password /UpdateDBCfg

    How to test and fix an infobase without checking referential integrity in automatic mode

    C:\Program Files\1cv8\bin\1cv8.exe" CONFIG /F"C:\DemoTrd2" /N"Fedorov (Administrator)" /P"" /IBcheckAndRepair -LogIntegrity

    How to perform a configuration check in automatic mode with the output of the check results to a file

    C:\Program Files\1cv8\bin\1cv8.exe" CONFIG /F"C:\DemoTrd2" /N"Fedorov (Administrator)" /P"" /OutD:\my\log.txt /CheckConfig -ClientServer -Client -ExternalConnectionServer -ExternalConnection -Server -DistributiveModules -IncorrectReferences -ConfigLogicalIntegrity -UnreferenceProcedures -HandlersExistence -EmptyHandlers

    How to shrink the log programmatically

    C:\Program Files\1cv8\bin\1cv8.exe" CONFIG /F"C:\DemoTrd2" /N"Fedorov (Administrator)" /P"" /OutD:\my\log.txt /ReduceEventLogSize 2004-12- 26 -saveAsC:\OldLog.elf

    How to unload application solution modules as text files from the command line

    C:\Program Files\1cv8\bin\1cv8.exe" CONFIG /F"C:\DemoTrd2" /N"Fedorov (Administrator)" /P"" /DumpConfigFiles "D:\1\11" -Module

    How to load help files saved in .htm format into the application solution

    C:\Program Files\1cv8\bin\1cv8.exe" CONFIG /F"C:\DemoTrd2" /N"Fedorov (Administrator)" /P"" /LoadConfigFiles "D:\1\11" -Help

    The 1C program is incredibly popular for maintaining financial records of almost any enterprise. The program has a huge number of functions and features. Sometimes they are not so easy to deal with. You can create multiple user accounts for which a separate database will be created. At each start, you need to select the desired account, database, and in some cases, specify other settings and parameters. If there are several users, then you can easily get confused and make a mistake when choosing. Even if you don’t get confused, over time, such a number of manipulations for a normal launch gets boring in order.

    Running 1C from the command line simplifies working with the program.

    How to simplify this procedure? The developers have provided for the launch of the 1C program from the command line. Do not be afraid of this name, you will not need to memorize a bunch of combinations, and the command Windows string you don't need either. It is enough just to create the required number of shortcuts once, set the necessary command line parameters in their properties, or create a special bat file and write them in it.

    In this article, we will analyze in detail how to use this launch method, as well as how to specify all the parameters. In addition, we will share with you a list of the most important commands that will help you fine-tune the client.

    First, let's see which files are responsible for launching and running the program, as well as the directory hard drive where they are stored. The main directory in which 1C is installed is C:\Program files\1CvXX\, where the numbers of the working version are indicated instead of XX. If the latest 8.3 is used, the folder will be named 1Cv83, if the previous ones are 1Cv82 or 1Cv81. Inside the directory are other directories with subversions. Already in them is the bin folder with the main executable file of the version. It is not clear what the developer is guided by, but with each update, the installer creates new folders, eventually eating up a lot of free space on the hard drive. Next, find the Common folder, and in it the 1cestrart.exe file. It is he who launches the user and database selection window. This window, respectively, is a 1cv8s.exe file from a specific bin directory.

    After you select a database to work with, another file is launched, the name of which depends on the launch option - 1cv8.exe ( fat client) or 1cv8c.exe (thin client). We will explain the difference between these options a little later. In addition, you can display the shortcuts you need for work and prescribe launch options in them, speeding up the process several times.

    Options for launching the 1C program

    Let's try to figure out what launch options the developer offered us. There are four of them in total, they differ in the principle of operation and the demands on the resources of the computer on which you work.

    • Thick client - until recently, this was the only existing option. It is the most demanding on the resources of the working machine, since all data processing is performed on the user's computer, it also stores all the files necessary for work. Does not depend on the availability of the Internet, but is tied to hardware, does not represent the possibility of remote work.
    • Thin client - is a software shell for accessing the 1C server. It has a familiar menu and settings interface, but since all data processing is done on the server, it is not demanding at all on the power of the equipment. The user is provided with limited functionality, you can organize work as with remote server via the Internet, and on the computer itself in a special software environment.
    • Web client - all you need to work is a web browser and Internet access. Accordingly, there is no connection to the computer and the place of work. The load on the equipment is minimal, since all calculations take place on a remote server.
    • Configurator - special mode For fine tuning program that only works when using a thick client.

    To date, the most popular launch option is a thick client with a file database stored on a computer. However, given the total focus on web services and cloud technologies, we can assume that the future is in the web version.

    It is worth noting that by default, the 1C program settings automatically select the launch option, so you do not need to think about it. However, if you need to use some specific option, you can create shortcuts on the desktop and prescribe command line parameters in them, or use a bat file. Let's look at each method in more detail.

    Launch via desktop shortcut

    Most in a simple way will use the shortcut on the desktop, in the properties of which the command line parameters are specified. How to organize access in this way?

    1. Open Windows Explorer, navigate to the directory that contains the executable you want, and find the .exe file itself. For example, C:\Program files\1Cv83\bin\1cv8.exe to run in thick client mode.
    2. Click on it right click mouse and select "Create Shortcut".
    3. After the system displays the message “Windows cannot create a shortcut in this folder. Put it on the desktop? click Yes.
    4. Find your shortcut on the desktop, right-click on it, select "Properties" - the "Shortcut" tab - the "Object" line.
    5. You will see the entry the following kind: “C:\Program files\1Cv83\bin\1cv8.exe”. If you put the cursor there, then the contents of the line can be changed.
    6. At the end of the line, enter the command that matches your expectations, confirm the entry with the "Apply" - OK buttons.

    Starting with a bat file

    No less easy way to launch the program. The main difference is the registration of all data manually in a special text file. For some, this method will seem more convenient. How to use it?

    1. Create the most common Text Document using standard Notepad.
    2. Give it a name in the format file_name.bat, where bat is the file extension, and then save it to any folder on your hard drive.
    3. Copy the following commands into the document:

    @echo off
    cls
    start

    1. After start, enter the desired command to start the program with the required parameters.
    2. Save the file and close it.
    3. To start 1C, double-click on the bat file.

    Attention! For correct operation, it is desirable that there are no Russian characters in the commands, in particular, in the file path or username. Otherwise, you should carefully consider the choice of file encoding.

    Basic startup commands

    Since the command line parameters are different in different versions of 1C, we will consider samples for each of them. We will present in the following sequence: decoding of each element and a sample application.

    Version 7.7

    1cv7.exe MODE [ /M | /D‹path› | /U‹path› | /N| /P‹password› ],

    where MODE is the specified mode in which the program client will be launched. It can take the following values:

    • config - configurator, for fine-tuning the program's functions, as well as programming some operations;
    • debug - debugger for checking the performance of some functions and operations;
    • enterprise - the normal mode of operation for performing day-to-day enterprise maintenance tasks.
    • monitor is a command that starts monitor mode.
    • /M - start the exclusive access mode so that no one except you can enter the program. If you are the only user, then exclusive mode activated automatically. To enter exclusive mode when working on an enterprise network, you need other users to log out of the program. The mode is necessary to perform important operations with databases so that no third-party intervenes.
    • /D - folder where the database is stored. It is especially important if you use a folder that is different from the one that the program selects by default.
    • /U- work folder user, provided that the program is used by several users.
    • /N - username to access the database and account.
    • /P - password for access to the account and database.

    More rarely used commands:

    • /T- path to the folder with temporary files, if you want them to be stored in a non-default folder.
    • /@‹FileName› - to select a batch file when working in the configurator mode.
    • /W - web extension initialization.
    • /L - program menu language other than Russian: ENG - English, UKR - Ukrainian

    Usage example: 1cv7 enterprise /Dc:\1c\database /NIvanov /P753159,

    If you run the program with such commands, you will avoid displaying the user and database selection window, and you will not be asked for a username and password.

    Version 8.2 and 8.3

    • DESIGNER - launch in configurator mode for programming functions and fine-tuning.
    • ENTERPRISE - start the normal mode for servicing the enterprise.
    • CREATEINFOBASE‹ConnectionString› ] - create new base data, which will store all the working information.
    • ConnectionString - the following parameters can be specified:
      • File - database folder (for file mode).
      • Srvr - enterprise server address (for client-server operation). You can specify multiple addresses as follows: Srvr=”Server1,Server2” or Srvr=”Server1:1741,Server2:1741”;
    • /AddInList [BaseName] - the name of the database that will be used to add to the list. If you skip this parameter, the base will not be added to the list, and if you do not enter your own name, it will be assigned automatically.
    • /UseTemplate - the database is created from a ready-made template, which is indicated in the name written in triangular brackets.
    • Ref - name of the database stored on the application server.

    DBMS indicates the type of database used on the server:

    • MS SQL Server
    • PostgreSQL;
    • IBMDB2;
    • OracleDatabase.

    For each type of database, you can specify additional parameters:

    • Usr - login.
    • pwd - password.
    • Locale - localization.

    When starting the program in normal mode or in configurator mode, you can use the following command line parameters:

    • /@‹FileName› - select external file with the specified command line options.
    • /F‹PathBase› - path to the database when file mode work.
    • /S‹ComputerName\BaseName› - location of the base on the host computer in server mode.
    • /WS - link to connect to the web server.
    • /IBName‹base name› - launches a database with the specified name from the list of all available databases. If the names of several databases match, the program will generate an error.
    • /IBConnectionString - the address of the full database connection as it is used by the ConnectionString function described above.

    When using a thin client, you can apply the following options:

    • wsn - user login to connect to the web server.
    • wsp - password to connect to the web server.
    • wspauto - enable automatic proxy settings.
    • wspsrv - proxy server address.
    • wspport - port of the proxy server.
    • wspuser - login when working through a proxy server with the need for authorization. username for proxy with authorization.
    • wsppwd - password when working through a proxy server with the need for authorization. username for proxy with authorization.
    • /N‹Login› - login specified in the configurator. Username as it is set in the Configurator.
    • /P‹Password› - the password of the user specified in the previous parameter. Can be omitted if the user does not have a password.
    • /WSN- username for authentication on the web server.
    • /WSP‹password› - the password of the user whose name is specified in the /WSN parameter for authentication on the web server.
    • /WA- - disable the use of Windows authentication at startup.
    • /WA+ - Force Windows authentication at startup. If you do not write this parameter at all, /WA+ is used by default.
    • AppAutoCheckVersion - automatic selection for each database version desired version 1C programs.
    • /AppAutoCheckMode - automatic choice of startup mode based on information from the database.
    • /UseHwLicenses+, /UseHwLicenses- - search for a local security key.
    • /Debug - launch the 1C program 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) on which the debugger can create remote objects.
    • /RunShortcut‹file name› - run the program from the list file of created databases.

    Batch Mode Configurator

    • /DumpIB‹FileName› - unload the database.
    • /DumpCfg‹FileName› - saving settings to a separate file.
    • /DumpDBCfg‹FileName› - save database settings to a separate file.
    • /ConvertFiles‹file name|catalog› - batch conversion of 1C version 8.x files. For the procedure to be successful, the files must be writable, as well as running the configurator mode with an open configuration in which you will perform the conversion.

    For example: 1cv8.exe /ConvertFilesd:/base/ExtProcessing.epf - file conversion,

    1cv8.exe /ConvertFilesd:/base - folder conversion.

    Command line examples

    Launching 1C in the file mode of a thick client:

    "C:\Program Files\1cv83\bin\1cv8.exe" ENTERPRISE /F"D:\database\User" /N"Admin" /P"12345"

    Launching 1C in client-server mode:

    "C:\Program Files\1cv83\bin\1cv8.exe" ENTERPRISE /S"server-base\User" /N"Admin" /P"12345′′

    Conclusion

    We have reviewed the most basic commands for launching 1C from the command line. By substituting commands, you can perform a variety of queries. In fact, there are many more of them, but a significant part of them are rather intended for specialists. technical support. Using the information from the article, you can perform all the actions yourself. Leave your questions in the comments.

    In this article I will talk about the 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 the possible parameters, but I will describe those points that, in my opinion, may be needed ordinary users programs.

    On the 1C 8.1 platform, there was only one option for launching a 1C application - this is a thick client. I will 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 a greater demand on the resources of the end user's computer.

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

    • Configurator only works in thick client mode.
    • fat client the most demanding on computer resources.
    • Thin client not demanding on the resources of the user's computer in the client-server mode of operation, because all the load goes to the server.
    • Web client Requires only a browser and internet connection. You can work with the program from anywhere in the world. Comfortable work depends only on the speed of the 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 infobase. Although the future is undoubtedly with the web client.

    I also note that by default in the database launch settings it is set to “Select automatically” and you do not need to think about which client and which database you do not 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 journals were not displayed if no user was created in the 1C database.

    To fix it, you had to create and go under it, clicking OK each time in the user selection window. And this is basically correct if several users work in the database, each should log in under his own.

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

    If you do not 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 user operating system Windows then you can do the following:

    We start the infobase in the 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. We press select, a window for selecting the user of the operating system appears. In my case, the “Domains” list contains the name of my computer, the “Users” list contains 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 issue a warning. In this case, you should create another user with full rights. I think this was done for security reasons, so that in the event of a malfunction of the OS, they could still log into 1C with full rights.

    Using additional launch options for the 1C infobase. As scary as it sounds, there is really nothing complicated about it. You don’t need to go into the configurator for this, except to look at the possible parameters for starting in the help. You need to specify the username and password as parameters.

    From reference 1C:

    • /N<имя>- Username. Must be specified in the same way as in the list of users created in the Configurator.
    • /P<пароль>- the 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 write them? Select the desired database in the list and click edit:

    Scroll further to last page settings and see the line we need “ Extra options launch". 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, then the user selection window will also pop up. Make sure everything is entered correctly.

    If you want to change the username and password, then you need to make corrections in the settings.

    Launching a specific 1C base without selecting from a list of bases

    For example, you do not 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 need one more launch parameter. From reference 1C:

    • /F<путь>- path to the infobase if it is stored in a file (no need to specify the file name).

    Let's look at an example file base 1C. Do the same for all other bases from the list if necessary.

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

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

    First, let's create a shortcut for the 1cestart.exe executable file. 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 run:

    Now we go into the properties of the shortcut and in the object field, after the quotes, after a space, we prescribe 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\1C base demo\Trade management (demo) for site”.

    We save and now, when starting from this shortcut, exactly the database, the path to which you specified, will be launched.

    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 base 1C\Trade management (demo) for the site” /N “Fedorov (administrator)” /P “ 131".

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

    Keys and parameters for launching the 1C database at Windows startup

    Let's say you want that when you turn on the computer and Windows startup, you automatically launched the 1C database you need under your user with a password. To do this, you need to create a shortcut with launch options as described above and put it in the Startup folder. We go Start => All programs see the Startup folder, click on it with the right button and click Open. We copy the created shortcut to the opened Startup folder and at the next start Windows 1C will start with the parameters specified in it.

    Choice different versions platforms 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 the same 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 registered in the database launch settings specific version platform and after updating the platform, the launch happens anyway old version. To change the version of the platform to run, 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 an entry, the latest version of the 8.1 platforms installed on your computer for the selected base will be launched.

    With such a record, the platform 8.1.15.14 will be selected to launch this database.

    By default, when adding a base to the list, the value 8.2 or 8.3 is set. I think this article may come in handy when switching to version 8.3, when everyone in the database settings will have a version to run 8.2 and no one will see the result of the update and transition to 8.3, because bases will be launched by platform 8.2 as well.