Internet Windows Android

Installing a configuration protection software key. Installing the Configuration Protection Software Key HASP Key Administration Software

Hello!
Today I want to talk about the protection system that 1C uses using keys HASP. After that, we need to install security keys in order to run 1C:Enterprise. Since 2011, the main option for protecting standard 1C solutions has been, but at the moment most users use hardware protection.

Educational versions of the system do not require security keys.

Security keys for 1C:Enterprise are divided into:

1. Local Single User blue key marked H4 M1 ORGL8. The local key must be physically connected to the computer on which we run 1C. For the local key to work, the Hasp Device Driver protection driver must be installed. Hasp Device Driver installed during the platform installation, or later in the Start menu from the 1C:Enterprise program group. The key is installed in the computer's USB port after the platform installation is completed. Using a local key, you can run any number of typical configurations on one computer. The main requirement is that the configurations must be officially purchased.

An indicator that the key is working is the glow of the red LED in the key head.

2. The network keys are red and have an internal memory that contains the number of licenses and IDs. The network key has NET XX ORGL8 marking, where XX is the number of licenses — 5, 10, 20, 50, 100. There are also keys for 300 and 500 licenses. For the network key to work, a special application is required - Hasp License Manager, it is included in the dongle's delivery package, it can also be downloaded from the Internet.

32-bit servers use keys HASP HL ​​Pro marked ENSR8 they are purple.

64-bit servers use keys HASP HL ​​Max with EN8SA marking they are green.

The EN8SA key for a 64-bit server is also supported by a 32-bit one, but not vice versa.

It is best to take the instructions for installing and operating security keys from the manufacturer, I decided to provide a link to the manufacturer's instructions so as not to be repeated "Aladdin R.D."

You can view the number of issued hardware licenses and the number of available licenses using Aladdin Monitor Utilities, it centrally administers the HASP License Manager (HASP LM) application and HASP4 Net keys.

Aladdin Monitor is better to download from the developer's site!

There are the following restrictions on installing hardware keys:

1. Two keys of the same series cannot be installed in one computer. In such a situation, only one of the keys will work!

2. The computer with the key installed should not be heavily loaded, otherwise there will be problems connecting users.

3. The local security key will not be visible in the terminal session. The restriction can be bypassed by starting a terminal session with the Admin key.

If you have any questions or comments on this topic, feel free to ask

P.S.2. My video installation of 1C and security keys

Almost the entire line of 1C products is equipped with security keys (LPT or USB) in order to protect them from copying.

Enterprise 8 provides its customers with great opportunities in dealing with an unlimited number of employees and the constant growth of the organization.

Therefore, users have several security keys (from different versions and 1C licenses), and due to the external similarity of the keys, problems arise in their assignment.

To differentiate keys, there is special marking, denoted by the following symbols:
For example:

  • H4 M1-(picture on the left)
  • ACCNT or URGLB (picture on the right)

Consider types of markings and purpose keys for 1C programs:

H4 M1/ORGL8- HASP HL ​​Basic security software key (purple/blue, without ID and internal memory).

Supplied for single-user versions (client keys): Accounting 8 PROF, KORP, ZiUP, UT, Workflow 8, Accounting of a budgetary and autonomous institution (PROF, KORP), Integrated automation;


H4 NET5/ORGL8
- USB HASP HL ​​Net security key (red, contains internal memory and a unique identifier that determines the number of licenses).

Supplied for network versions (multi-user keys): A set of application solutions for 5 users, Client license (for 5 users), Accounting PROF and Accounting 8 (for 5 workplaces).

H4NET10/ORGL8- supplied in a Client license for 10 users;

H4 NET50/ORGL8- for 50 users;

H4 NET100/ORGL8- per 100 users;

NET250+/ORG8A- for 300 users;

NET250+ /ORG8B- for 500 users.

H4 M1/ENSR8- in purple, USB HASP HL ​​Pro.

Contains a unique identifier and internal memory (but it is not actually used). Supplied in the product Server License (32-bit).


Max/ EN8SA- in green, USB HASP HL ​​Max.

Features are the same as USB HASP HL ​​Pro. Supplied with Server license (86-64-bit system).

Finally, consider the last program product - Kits:

H4 NET10 ORGL8/ H4 M1 ENSR8- red key USB HASP HL ​​Net.

Supplied in UPP 8 (10 workstations plus client-server). The kit contains 2 security keys at once:

multi-user (for 10 users) and 32-bit server.

H4 NET10 ORGL8/ H4 M1 ENSR8- USB HASP HL ​​Pro purple security key.

Supplied in Integrated Automation 8 (10 workstations plus client-server). Contains 2 keys similar to the previous ones.

H4 NET20 ORGL8/ H4 M1 ENSR8. Supplied in a kit for training in universities and secondary schools. Contains 2 security keys (for 32-bit server and multi-user (20 workstations).

Security Keys after 2009, they began to be produced by 1C with shorter lengths, but the marking and color scheme of the keys remained the same to this day.

When installing protection, the following factors should be considered:

  • Several USB dongles of the same series will not be able to work on one PC at once (only one dongle will be active). For example, keys marked ORGL8 (network or single-user) will not get along together, but those marked ORGL8 A and ORGL8 will be able to work on the same PC.
  • If the HASP License Manager is installed and running, the user keys will also be available over the network. Summing up, we can say that one computer is able to serve 900 licenses at once.
  • You can install a USB key and a server key on one computer at once (but only on the workplace where the 1C server is running).
  • Licenses can be found in security keys in the following order: ORGL 8, ORGL8 A and ORGL8 B. To check free (or occupied) licenses, you will need to install the special program Aladdin Monitor.

1C, like any other program, requires the user to use only licensed versions. To confirm that the program was purchased officially, 1C license keys are used.

This article will discuss the types and features of 1C security keys, as well as provide answers to frequently asked questions about working with them.

1C supports both software and hardware keys. Let's take a closer look at each of these types:

1C security software key

Software license 1C- this is a file that is stored on a PC and participates in the launch of 1C. If the file is activated with a pin code, then 1C will be launched, otherwise (if it is launched for the first time) you will need to enter the PIN, which is included in the package. The software key is tied to the hardware of the computer, therefore, periodically, when replacing computer components, you have to activate the 1C license again.

Conventionally, a 1C software license can be divided into 2 types:

  • single player,
  • multiplayer.

Single User License is placed on one PC and allows you to use the 1C platform. It should be noted that the software key does not limit the number of configurations and infobases.

Multi-User License most often installed on a server (1C:Enterprise, terminal server, WEB server). When a 1C client contacts a 1C server, the software itself keeps track of the number of free licenses and allows (or does not allow, if the number of licenses are exhausted) to work with 1C. At the same time, it should be noted that a multi-user license for up to 50 users can be activated not only on the server, as a general one, it can be activated on 50 different client computers as 50 single-user licenses. But if at least one license from the multi-user kit is activated as a single-user license, then further use of licenses as a “bundle” is no longer possible.

1C hardware security key

A more reliable, but at the same time, more expensive way to protect 1C are hardware keys. Hardware protection keys (HASP-key) look like a flash drive and mark 1C as licensed. In this case, unlike the software license, the PIN is stored on the HASP and not in a file on the computer/server.

There are 4 types of hardware keys, each has a distinctive color and marking:

  • Single user key (local). The key is blue and marked H4 M1 ORGL8. This key is supplied with products that have a license for one personal computer.
  • network key. Red key. The HASP key is inserted into one computer and is visible to all computers on the network. Marked as NETXX ORGL8.., where XX is the number of licenses. There are varieties for 5, 10, 20, 50, 100, 300, 500 licenses.
  • Server key for 32-bit server. It is purple and ENSR8 marked. Always comes with a server license.
  • Server key for 64-bit server. It is green and EN8SA marked. Can also work with 32-bit servers.

!!! It is worth emphasizing that 1C experts do not recommend using a local key and a network key on the same machine. When starting 1C, the local key will be identified, and the network key will not be used, while all other network users will not be able to “see” the network key and, as a result, will not be able to work in 1C.

License Manager 1C

In the case of working with a multi-user license, it is necessary that 1C knows about the presence of such a license in the network. The 1C License Manager is responsible for this ( Hasp License Manager). The 1C license manager is additional software (included in the delivery package), without which the multi-user license will not work correctly.

Answers to frequently asked questions about 1C security keys:

No. 1. 1C does not see the license

In the case of using hardware keys, if 1C does not see licenses, first of all, you need to make sure that the indicator on the HASP key is blinking. This is an indicator that the device is detected and the HASP key driver is installed. If the light is off, try plugging the USB key into a different USB port, or contact your system administrator, the user may not have sufficient access rights to install the driver.

Also, first of all, make sure that the key of the desired series is connected to the computer. remember that keys can block each other.

No. 2. The HASP security key driver installs with an error.

  1. The operating system and the dongle driver may be incompatible. Try downloading a newer version of the driver.
  2. Driver files may be locked due to being occupied by another process. Try restarting your computer and installing the driver immediately after downloading. Or use the console version of the installation utility with command line options: hinstall -i -kp

No. 3. Error: HASP not Found (-3), (Error 7), (H0007)

HASP works on port 475 on the network. Make sure that port 475 is not blocked on the computer with the dongle, on the computer running the application, and on the network. It can be blocked by a firewall or antivirus.

No. 4. HASP Device Driver not installed (-100)

A common error in Windows XP. The protection driver loads more slowly than the protection server from startup. Instead of a protection server, use the LMSETUP License Manager, which is installed as a Windows Service!

In addition, let's say that when working with 1C, two or more license managers can operate simultaneously, but to prevent errors, each manager must be assigned its own unique name. To do this, use the nhsrv.ini file, you need to change the value of the NHS_SERVERNAMES parameter in the NHS_SERVER section. Moreover, these names must be reported to each copy of the running program. To do this, use nethasp.ini: in the NH_SERVER_ADDR parameter, specify the ip-addresses of the servers, in the NH_SERVER_NAME parameter, indicate their names in the same order in which the addresses were specified.

If you still have questions about choosing, configuring, purchasing software or hardware, you can always contact our specialists for advice.

The actions of many system administrators who have encountered difficulties installing security keys for 1C Enterprise most of all resemble shamanic rituals with a tambourine. In "administrative circles", and on the Internet, there are myths and legends about the "capriciousness" of protection keys, about its "crooked" implementation, etc. At the same time, most non-standard situations are the result of an extremely low level of knowledge about security keys and the specifics of their use.

What are the keys

Local single user keys are represented by the model HASP HL ​​Basic(blue), this key is marked H4 M1 ORGL8, has no built-in memory and personal ID, does not store any parameters and settings. Supplied with products licensed for one workplace.

Network client keys include a series HASP HL ​​Net(of red color). They have an internal memory that stores the number of licenses and a unique ID. There are varieties for 5, 10, 20, 50 and 100 users. Has a marking NETXX ORGL8, where XX is the number of licenses (eg NET5 ORGL8). There are also keys for 300 and 500 users that are marked NET250+ORG8A and NET250+ORG8B. They are supplied with products licensed for 5 workplaces, as well as separately, in the form of additional client licenses.

Keys for the server 1C Enterprise are only local. The 32-bit version has a security key HASP HL ​​Pro(purple), which has internal memory and a unique ID. Has a marking ENSR8, comes with a license for the 1C Enterprise server.

For a 64-bit server, the key is used HASP HL ​​Max(green) with internal memory and unique ID. Has a marking EN8SA and also supports 32-bit server. Those. having a license for a 64-bit server, you can use the 32-bit version without changing the key, but not vice versa.

How to set the keys correctly

One important rule to remember is that you cannot install more than one key of the same series on one computer. It is also not recommended to put together a local and a network key, this is due to the feature of 1C Enterprise protection: when finding a local key, the program will never look for a network one. The local keys of the 1C Enterprise server do not interfere with the operation of other keys.

Second important rule: the key must not be located on a machine with active terminal software. Also, do not install the license manager in the terminal. 1C on a terminal server can only work with a network key located on another PC.

If you have two or more network keys, it is not enough to spread them across different computers. The license managers must be configured. Each license manager must have a unique name that must be explicitly communicated to the protected program. It is recommended that you perform the same configuration if you are using a terminal server, even with the same network key.

On the machine where the key is installed, find the file nhsrv.ini in the license manager folder. The parameter is responsible for the name of the license server. NHS_SERVERNAMES, it can consist of Latin letters and numbers and contain no more than 7 characters.


NHS_SERVERNAMES = NAME1

After that, on client machines, edit the file nethasp.ini, explicitly specifying the addresses and names of license managers:


NH_TCPIP=Enabled


NH_SERVER_ADDR = 192.168.0.10, 192.168.0.11
NH_SERVER_NAME = NAME1, NAME2

What are the mistakes

Unfortunately, instead of the regular HASP error message, 1C Enterprise displays its own “Program protection key not found!”. Four types of errors can be hidden under this message, we will consider them in more detail.

  • Key not found. Perhaps the most common mistake. Occurs when there is no key, an attempt to use a key from another product. For network dongles, this error can occur when there is no network, if the license manager is not running on the machine with the dongle, port 457 is closed, or a non-network dongle is installed by mistake.
  • The key does not contain a license. Occurs when two keys of the same series are installed on one PC, and one of them is visible that does not have the required license. When working on a network of two license managers with the same name and servicing keys of the same series, the application may be the first to find a key that does not contain the required license, which will also lead to this error.
  • Terminal service detected. Occurs when trying to start an application from a terminal session with a local key. It may also occur if nethasp.ini the address of the license manager is explicitly not registered.
  • Number of licenses exceeded. Occurs when the number of users (active sessions) exceeds the number of licenses specified in the key. When working on a network of two license managers with the same name and serving keys of the same series, the application can find the first key with which the maximum number of connections has already been established, which will also lead to this error.

Depending on factors such as the location of the license key (network/local), and the type of client, several options for accounting for licenses can be used. Distinguish between software and hardware security keys.

Software protection keys

The software licensing system ensures that a number of users can work together. Moreover, they should not use special additional physical devices. Only a special file is required to work. A platform license is required. It is on it that everything necessary for the functioning of the system is stored.

To get a software license, you need a pincode. You will also need the serial number of the kit you have. In it, users receive several pincodes. They are being activated. The license option fixes both the number of pincodes and their number, which can be activated together.

Types of software licenses

  • Single user licenses allow you to run any number of applications.
  • Multi-user licenses allow you to run no more than a certain number of applications. An arbitrary number of computers can be used. The nominal value determines the number of client applications that run simultaneously.
  • Combined (a combination of a group of single and multi-user) - if a single-user license is activated first, then only it can be used. If the multi-user was activated first, then the single-user version is no longer used.
  • A 32-bit server license allows you to use an arbitrary number of worker processes (32-bit).
  • A 64-bit server license allows you to use an arbitrary number of 32 and 64-bit processes.

Multi-user type licenses can be hosted on a server PC, terminal server, or expansion module. The client PC hosts only single-user licenses.

The main feature of the recently released security key is that it is important to choose the appropriate option before licensing.

  1. Single user mode allows you to run an unlimited number of instances of 1C Enterprise. This solution is convenient for accounting. The specialist in this case launches Accounting, Human Resources, Trade, Payroll.
  2. Multi-user mode allows you to run client applications among the purchased licenses.

Hardware security keys

Appearance Name of the software product Marking Peculiarities
Single user versions of the main deliveries and client keys
USB HASP HL ​​Basic 1C: Accounting 8 PROF
1C: Accounting 8 PROF. Supply for retail distribution
1C: Accounting 8 CORP
1C: Accounting of a budgetary institution 8
1C: Accounting of an autonomous institution 8 PROF
1C: Accounting department of an autonomous institution 8 KORP
1C: Trade management 8
1C: Payroll and Human Resources 8
1C: Salary and personnel of a budgetary institution 8
1C: Small business management 8
1C: Complex automation 8
1C:Enterprise 8. Manufacturing enterprise management
1C: Document management 8
1C:Enterprise 8. Client license for 1 workplace
H4 M1 ORGL8
  1. No personal ID.
  2. There is no built-in memory.
  3. The key does not store parameters and settings.
  4. Comes with 1 seat license products.
Network versions of the main supplies and multi-user keys
USB HASP HL ​​Net 1C: Accounting 8. Set for 5 users
1C: Accounting 8 PROF for 5 users. Supply for retail distribution
1C:Enterprise 8. A set of applied solutions for 5 users
1C:Enterprise 8. Client license for 5 workplaces
1C:Enterprise 8. Client license for 10 workplaces
Etc.

The XX parameter indicates the number of licenses

  1. There are varieties of keys for 5, 10, 20, 50,100 users.
  2. Provides quick launch of an arbitrary number of instances in 2 modes: "Configurator" and "Enterprise".
  3. The number of licenses is limited by the total number of licenses available from all network computers on which the HAST License Manager is installed and configured.
  4. There is a unique ID.
  5. There is an internal memory that stores the number of licenses.
  6. There are keys for 300 and 500 users. Supplied separately, as well as with various products (5 places).
Keys to the server 1C:Enterprise 8.*
USB HASP HL ​​Pro 1C:Enterprise 8.* Server license (x32) H4 M1 ENSR8
  1. There are only local ones.
  2. There is an internal memory.
  3. There is a unique ID.
  4. Supplied with a license for the 1C:Enterprise server.
USB HASP HL ​​Max 1C:Enterprise 8.2. Server license (x86-64) MAX EN8SA
  1. Supports 32-bit server.
  2. There is an internal memory.
  3. There is a unique ID.

The marking on the USB key can be seen in the areas marked in the figure, the rest of the characters do not have much meaning for users.

How to install keys correctly

It is forbidden to place more than 1 key of a single series on 1 computer.

2 or more network keys are not enough just to distribute them to individual computers. It is important to fine tune the license managers. Any of the keys used must have a unique name.

  1. On the computer where the key is installed, you need to find the nhsrv.ini file in the license manager folder (C:\Program Files\Aladdin\HASP LM\).
  2. The NHS_SERVERNAMES parameter is responsible for the name of the license server, it consists of letters and numbers of the Latin alphabet, and contains no more than 7 characters.

    NHS_SERVERNAMES = NAME1

    Do not forget to uncomment this parameter, i.e. remove the ";" before the start of the line!

    Then you need to edit the nethasp.ini file (C:\Program Files (x86)\1cv82\conf): specifying the addresses and names of license managers:

    NH_TCPIP=Enabled

    NH_SERVER_ADDR = 192.168.0.10, 192.168.0.11

    NH_SERVER_NAME = NAME1, NAME2

It is often enough to just uncomment the NH_SERVER_ADDR = parameter in this file and set the NETBIOS or IP address of the computer on which the key is located.

Using the Aladdin Monitor program, you can see which keys are being used and how many licenses have been used.

If the 1C:Enterprise server is responsible for counting client licenses, then client licenses that have a Timeout column value of 0 in Aladdin Monitor will be considered busy. In this regard, it is not recommended to use the same multi-user HASP keys to simultaneously obtain client licenses using the HASP License Manager and the 1C:Enterprise server.


What kind of errors can occur?

If Aladdin Monitor shows that more licenses are busy than network users, then this error is provoked by the fact that the client crashed. A busy license hangs. In such cases, the HLServer service is restarted.

The output "The program protection key was not found" instead of typical information about errors. Under this message, several types of failures can be hidden at once.

  1. "Key not found." This error occurs when a key is missing, as well as an attempt to use a key from another product is common. In the case of using a network key, an error occurs for a number of reasons. It provokes the absence of a network, errors in installing a non-network key. In some cases it is important to check if the manager is running.
  2. "The key does not contain a license." This error occurs when 2 keys of the same series are installed on one PC. Moreover, the program is visible to the one on which the license is not installed.
  3. "Exceeded number of licenses." This error occurs when the number of active sessions exceeds the number of licenses specified in the key. 2 managers can work in the network at this moment. Moreover, they have the same service keys, as well as similar names.

Installation restrictions

Several keys of a single series on one PC will not work! Network or single user ORGL8 keys are not used together.

Keys, for example, 8 and 8A, can work on one PC.

If the manager is launched, the keys are available over the network. One computer can therefore serve 900 licenses (ORGL8: 100, in 8A: 30 and in 8B: 500).

On one PC, you can install the keys of the 1C server and user licenses.

The search for licenses is carried out in a specific order.

  1. ORGL8.
  2. ORGL8A.
  3. ORGL8B.

Server-type keys are placed on the computer where the 1C:Enterprise server is located. They will not work over the network.