Bypass 1s 7.7 program protection key. Problems with security keys. Monitor HASP does not show the key

Installing the 1C:Enterprise 7.7 platform on a 64-bit operating system is fraught with some difficulties. The fact is that you won’t be able to install 1C through a regular installer, even if you run the program in . But nothing is impossible. Below is step-by-step instruction for installing 1C:Enterprise on 64-bit Windows, in my case it is .

1. Installation on Windows x32

First you need to install the required 1C:Enterprise platform on any other 32-bit Windows system by changing the default installation path to " C:\Program Files (x86)\1Cv77\"(so that all shortcuts work). I wrote in detail about installing 1C. Then you need to copy the following files to the 64-bit system:

  1. Directory " 1Cv77» out of the way
    « C:\Program Files (x86)\» 32 bit system V
    « C:\Program Files (x86)\» 64-bit system.
  2. Directory " 1C Enterprise 7.7» out of the way
    « C:\Documents and Settings\All Users\Main Menu\Programs»
    on a 32-bit system
    « C:\ProgramData\Microsoft\Windows\Start Menu\Programs»
    64-bit system
    (Paths may vary depending on the versions of Windows used).
  3. Copy file from path
    « C:\WINDOWS\system32\» 32-bit system in
    « C:\Windows\SysWOW64\» 64-bit operating system.

Did this article help you?

I came across this problem the other day. One of the machines refused to work network version of 1C Enterprise. When connecting to the database, the following error occurred.


I would like to point out that the error appeared on a computer that had 2 network cards with 2 different networks. For some reason the meanings immediately at this moment didn't give it. Apparently because HASP monitor I detected these keys perfectly, which is why I looked for the problem in 1C. As a result, I lost half a day of working time. The problem really lay in two network cards, or to be more precise, 2 different networks, the solution was in the file C:\Program Files\1cv81\bin\conf\nethasp.ini


Having disconnected the network in which there are no HASP keys, after rebooting the machine, 1C started up.... I went to Google to find a solution to this problem. The search did not take long, the solution was as follows:

Protection keys for 1C are divided into:

1. Single-user(must be physically connected to the computer running 1C)

model HASP HL ​​Basic (of blue color ), this key is marked H4 M1 ORGL8, does not have built-in memory and personal ID, does not store any parameters and settings. Supplied with products licensed for one workplace.

2. Multi-user (the key is on the network, 1C can be launched on any computer in within local network or domain)

Network client keys include a series HASP HL ​​Net (Red ). 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 markings NETXX ORGL8 , Where XX- number of licenses (for example NET5 ORGL8 ). There are also keys for 300 and 500 users that are marked NET250+ ORG8A And NET250+ ORG8B . Supplied with products licensed for 5 workstations, as well as separately, in the form of additional client licenses.

3. Server (must be physically connected locally to the computer on which the 1C Enterprise agent server is installed and running)

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

For 64-bit server key is used HASP HL ​​Max (Green colour ) With internal memory and a unique ID. Has markings 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.

A single-user and server key is sufficient to operate install the security key driver on the local machine and insert the security key into the local USB port.

For a multi-user (network) security key you need:
1. Install the security key driver on one of the machines on the network, which will serve as the key server - HASP4_driver_setup.zip
2. Install the security key server (service) on the same machine - HASP_LM_setup.zip
3. Insert the security key into the server’s USB port
4. Install 1C on client machines

In general, these actions are sufficient for 1C to work. In the process of launching and further work 1C:Enterprise 8 on local machines, the system will contact using a broadcast request on port 475 and look for the protection key. If the search is unsuccessful, a message will be displayed “Program protection key not found” and the work of 1C:Enterprise will be interrupted.

If you encounter the message " application protection key not found“need to check:
1. presence of a protection key in usb port key server
2. check whether the key server is running on the server (process named “Hasp loader”)
3. use the telnet command to check the availability of the key server from the local machine on port 475 (for example: telnet 192.168.100.100 475)

If all checks were successful, but the error remains, move on to more detailed settings. In the 1C:Enterprise 8 installation folder (usually c:\program files\1cv81\bin\conf or c:\program files\1cv8\bin\) there is a file nethasp.ini . This is the security key configuration file, it is divided into sections, we are interested in the section . When installing 1C, by default, in this section all parameters are separated by double signs ";", which means that these settings are ignored. In this case, the key driver behaves in the following way:
1. a broadcast type packet is sent over the local network on port 475 in search of a security key server
2. if no response is received - error

Disadvantages of the default configuration:
1. broadcast takes some time
2. not all servers respond to such packets
3. broadcast is okay, but it’s a load on the network

To solve this problem you need to do the following:
1. indicate the specific address where to look for the key server (for example: NH_SERVER_ADDR = 192.168.100.100)
2. disable broadcast search (NH_USE_BROADCAST = Disabled)
3. and limit the packet types to the TCP protocol only (NH_TCPIP_METHOD = TCP)

As practice shows, the launch speed of 1C:Enterprise 8 after such a setup increases noticeably!

But there are also some flaws this method:

You must ensure that the address of the security key server does not change, otherwise you will have to reconfigure the nethasp.ini file on all local machines!


I would also like to clarify a few points about working with keys that I had to deal with during my work:

1. Monitor HASP does not show the key

The monitor itself can only show the presence of a license manager at a particular address. He will be able to see the key only after the protected application has successfully opened at least one session with the key. In addition, it should be taken into account that Aladdin Monitor only works over the UDP protocol, port 475. Thus, the absence of data about the key in the monitor does not mean that the key is not available to the application.

2. Two 1C HASP protection keys on one computer

When installing two or more security keys software HASP on one computer, please note that:

  • Keys with different series will work fine. (in relation to 1C: 1 server and 1 network will work fine)
  • Keys of the same series will work if this feature was implemented by the developer of the protected software. If the developer this opportunity was not implemented, then keys belonging to the same series will not work together on one computer, only one of them will be visible: either the one closest to the port (in the case of LPT keys), or located on the port with a low address (in the case of with USB keys for protecting HASP programs). (in relation to 1C, - 2 local or 2 network keys on one computer will most likely not work correctly)
  • It is not recommended to put a local and network key together; this is due to the security feature of 1C Enterprise: when finding a local key, the program will never look for a network key.

Possible solutions to this problem:

  • Replacing several HASP program protection keys with one, with a larger number of licenses (this is well written here: http://v8.1c.ru/predpriyatie/questions_licence.htm).
  • Installing protection keys on different computers, followed by installing and configuring license managers for each key.

3. Two or more license managers (License Manager) on the network

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

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

NHS_SERVERNAMES = NAME1

After which, on client machines, it is advisable to edit the nethasp.ini file, 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

Then 1C: Salary + Personnel does not start. If you put the key 1C: Salary + Personnel first, then “1C: Salary + Personnel” starts, but “1C: Accounting” does not start. What is the reason?

The reason is that the programs are installed in one directory, or in one program group. If these are programs of different versions, for example, one is basic and the other is professional (single-user, three-user or network), then you need to install the programs in different directories and specify different program groups. That is, during installation, you need to change the default directory (C:\Program Files\lCV77) to another (new) directory, for example C:\1CV77BSTD, and change the default program group “1C Enterprise 7.7” to another, then You can write a new name, for example, “1C Accounting 7.7 standard.”

Another launch problem may arise if “1C: Accounting 7.7 network” and “1C: Salary + Personnel 7.7 three-user” are installed in one directory or one program group (for example, when using the Set for a small company). Then more than 3 users will not be able to work in 1C: Accounting at the same time, because it also becomes three-user.

It is allowed to install in one directory and specify the same program group for components of the same version (all professional single-user, or all network, or all three-user, or all for SQL) and the same release (for example, all have the release program files 7.70.018).

What should I do if, after updating the release, the program does not find the protection key?

If, after updating the release of program files, the message “Protection key not found” is displayed, you should unload the protection driver (button “Start” - “Programs” - “1C:Enterprise” - “Removing the protection driver”), reboot, then download new driver protection (button “Start” - “Programs” - “1C:Enterprise” - “Installing the protection driver”), and then reboot again.

How to connect the key correctly USB protection for 1C:Enterprise 7.7

To install a USB security key:

  1. Install the protection driver from the Start menu: /Programs/1C:Enterprise 7.7 /Installing the protection driver.
  2. Check that the security driver is installed correctly. To do this, from the “Start/Run” menu, select the command (By default, this is C:\Program Files\1Cv77\BIN) the Hinstall.exe file, add the /info parameter (i.e., the startup line will be “C: \Program Files\1Cv77\BIN\Hinstall.exe/info") and execute.
  3. Connect the USB security key to the computer.
  4. On USB key the LED should light up
  5. IN Device Manager(Device Manager) Windows should show the line "Aladdin USB Key".

Problems with security keys when using Windows XP.

The 1C:Enterprise 7.7 system is compatible with Windows XP, starting with the release of program files 7.70.019.

The security key driver must be at least 5.20. When installing the security driver, the user must have local administrator rights.

Laser printer connected to the computer via a security key. Printing is not working properly.

Check, apparently your printer is “lightweight”, i.e. does not have its own memory, processor, etc. (they are cheaper). This printer is fully controlled central processor computer, and all actions (moving paper, drawing dots, etc.) are performed only at the command of the processor. For this reason, the exchange through the port is very overloaded, because not only print data is sent, but also control commands. Moreover, the data for printing does not come in the form of character codes, but point by point, since the printer does not have its own code table. When using the port in this way, you cannot use a key on it, otherwise the printer will constantly malfunction.

The only solution to this problem is to place the dongle and the printer on different ports (the dongle should be placed on LPT1, and the printer on LPT2).

In this article I will try to briefly talk about the principles of operation of the 1C:Enterprise version 7 , its installation and launch. I will describe the installation for 32 -bit operating systems, about the features of installing 1C:Enterprise 7.7 on 64 Read the -bit system.

1. What you will need

  1. Distribution of the required 1C:Enterprise platform + protection key.
  2. Distribution of the required configuration (or a ready-made configuration).

2. Brief information about the 1C:Enterprise 7 system

The 1C system is used to automate various business processes. Depending on the required tasks, it may have different variants supplies. Like any other system for working with databases, 1C consists of a database management system (DBMS) - Platforms, and directly from databases (DBs) having various Configurations. The most common configurations are:

  • "Accounting" - database configuration for automation accounting.
  • “Trade and Warehouse” - for automation of warehouse accounting and trade.
  • “Salaries and personnel” - for calculation wages and personnel records.

The 1C platform may consist of several component, namely:

  • "Accounting" - supports all the necessary capabilities for accounting. Required to work with the Accounting configuration.
  • “Operational accounting” - allows you to maintain operational accounting of any funds (material and monetary). Required to work with the “Trade and Warehouse” configuration.
  • "Calculation" - allows you to support complex periodic calculations, primarily used for payroll calculations. Required to work with the “Salaries and Personnel” configurations
  • “Management of distributed information bases” is a component that allows you to organize work with distributed information bases.
  • “Web extension” is a component that allows you to access 1C:Enterprise data via the Internet.

In addition, the 1C platform comes in different versions, differing in the number of users and type of databases. Namely:

  • “Local version” - the platform allows only one user to work in one database at a time (if there are several databases, then several users will be able to work simultaneously, each individually in their own database).
  • “Version for 3 users”—up to 3 users can work in each database simultaneously.
  • “Network version” - an unlimited number of users can work simultaneously in each database.
  • “SQL version” is the same as the network version, but it is still possible to work with SQL.

Thus, depending on established tasks, you need your own supply of the 1C:Enterprise system. For example, if you want to organize accounting of goods in a warehouse and automate trade operations from this warehouse and your company employs 10 people who will simultaneously work in terminal mode, then you need the Network version of 1C: Enterprise 7.7, with the “Operational Accounting” component and configuration "Trade and Warehouse".

3. Installation of the 1C:Enterprise 7.7 platform

The distribution kit of the 1C 7.7 platform is usually supplied on floppy disks, even on ITS disks it looks like 10 folders, according to the number of floppy disks.

To start installation you need to run the file setup.exe from directory DISK1. The 1C:Enterprise installation wizard will start. Click " Further" and we get to the installation option selection window, the following options are possible:

  • « Installation on the user's computer (local)» — normal installation 1C:Enterprise systems. This involves copying all program files, creating shortcuts and updating system information on a given computer.
  • « Server installation (administrative)"—creates a directory and installation program on the computer for further installation of the 1C:Enterprise system on user computers on the local network. Does not create shortcuts and does not change system information on the computer.

To install 1C directly on this computer(for example, to work in), select the local option and click “ Further» .

Then enter the name and information about the organization (this will later be displayed at startup) and press “ Further» and confirm the entered information. Now we define the installation directory (default C:\Program Files\1Cv77), click " Further" and agree to create a catalog. Click again " Further" and wait for the window with a message about the successful installation of the component and a proposal to install the configuration.

As you can see above, we installed the “1C:Enterprise” component. Operational accounting" to the catalog C:\Program Files\1Cv77. If in the future you need to install another component, for example “Accounting”, then you can install it in the same directory, the components will be combined.

4. Installing the 1C:Enterprise 7.7 configuration

The configuration, as a rule, is also supplied on floppy disks. To install, run the file setup.exe from directory DISK1(or select this file if, after installing the platform, you agreed to install the configuration). The installation wizard will start, click " Further" and we get to the installation option selection window:

  • « New configuration"—must be selected if a standard configuration is being installed on a computer for the first time.
  • « Configuration update» - must be selected if a new one is installed release configuration in order to update a previously installed one.

For initial installation, select the first item and click “ Further". Select a directory (this is the directory in which our database), press " Further" and wait for the message that the installation is complete. Now, if we go to the selected directory, we will see two folders:

  • “DB” is a directory with a new (clean) configuration.
  • “DemoDB” is a configuration with the initial data entered and standard operations performed. Serves for training and demonstration of system capabilities.

As with the installation of the 1C:Enterprise 7.7 platform, the above algorithm only works for 32 -bit systems. About installing a standard configuration in operating system Windows x64 can be read.

5. Installing protection drivers

Now you need to install the protection drivers. 1C:Enterprise uses the HASP hardware and software protection system from Aladdin Knowledge Systems Ltd. To run all protection modules you must:

      1. Insert electronic key HASP to USB or LPT port computer, depending on the type of key.
      2. Install HASP4 key driver 6.50 . You can download from the official website or from.
      3. Install HASP4 license manager for Windows, following the installer instructions. At the time of writing, the latest version was 8.32.5.40 . You can download from the official website or from.
      4. Launch shortcut " Installing the security driver", located along the way " Start» — « All programs» — « 1C Enterprise 7.7«

and wait for a message about successful driver installation.

6. Launching the 1C:Enterprise system

Well, finally, everything is installed and you can start working directly in the 1C:Enterprise system. Launch the shortcut " 1C Enterprise", located along the way " Start» — « All programs» — « 1C Enterprise 7.7". If the message " The program protection key was not found!!!", then you must once again perform all the steps to install the protection drivers described in the previous step. Otherwise, the dialogue “ Launch 1C:Enterprise", in which you can:


To launch 1C:Enterprise, you need to go to the " Launch 1C:Enterprise» select launch mode « 1C:Enterprise", mark the required information base and click " OK", after which you need to select a user from the list, enter a password (if set) and press " again OK» .

If you are launching a “clean” configuration for the first time, I recommend that you first create a user to work in the system (you can read about how to do this). After authorization we are taken to the main program window. The system is ready to go!

Did this article help you?

   

1C 7.x: Marking of security keys 1C:Enterprise

For 1C 8v currently 4 types of keys are used:
- Single-user. This is HASP HL ​​Basic. The key is blue, has no internal memory and no personal number.
- Network. HASP HL ​​Net. The key is red, has a personal number and internal memory in which the number of licenses is recorded.
- Key for 32-bit server 1C:Enterprise. HASP HL ​​Pro. The key is marked ENSR8 The key is purple, with internal memory (not actually used) and a unique identifier.
- Key for 64-bit server 1C:Enterprise. HASP HL ​​Max. The key is green. The key has a marking EN8SA, wherein given keys supports a 32-bit server (if the client has a license for a 64-bit server, he can also use the 32-bit version without changing the key). With internal memory (not actually used) and a unique identifier.

Now that we've sorted out the colors, let's try to understand the letters:
In the first line of the key its type and maximum amount licenses.
Hasp4 or H4- key type.
M1- local with 112 byte memory
NetXX- network, where XX is the number of licenses.
1C does not use any others yet.
In the second line, the first five characters are the code of the developer (customer) of the key.
In the 1C appendix, this is the purpose of the key.
ORGL8- custom from eight.
ENSR8- Enterprise Eight 32x server.
EN8SA- Enterprise Eight 64x server.
The remaining signs are of no interest.

More details:
Server keys:
1C:Enterprise 8.0 (8.1, 8.2) Server license (x32) is marked “H4 M1 Pro ENSR8” (purple key color)
1C:Enterprise 8.0 (8.1, 8.2) Server license (x64) is marked “H4 M1 Max EN8SA” ( green color key)

Single-user keys: (blue key color)
Keys for all program versions are marked "H4 M1 ORGL8"
Network (multi-user) keys: (red color of the key)

Keys are marked depending on the number of client licenses:
Programs of the "1C: Accounting 8" group are marked "H4 NET5 ORGL8"
Keys for 5 users are marked "H4 NET5 ORGL8"
Keys for 10 users are marked "H4 NET10 ORGL8"
Keys for 20 users are marked "H4 NET20 ORGL8"
Keys for 50 users are marked "H4 NET50 ORGL8"
Keys for 100 users are marked "H4 NET100 ORGL8"
Keys for 300 users are marked "NET250+ ORG8A"
Keys for 500 users are marked "NET250+ ORG8B"

Key sets:
A set of 2 keys "1C:Enterprise 8 Manufacturing Enterprise Management" for 10 users + server, as well as a set of 2 keys "1C:Enterprise 8 Integrated Automation" for 10 users + server, the keys are marked "H4 NET10 ORGL8" and "H4 M1 ENSR8"
Set of 2 keys "1C:Enterprise 8 Training Kit" for 20 users + server, the keys are marked "H4 NET20 ORGL8" and "H4 M1 ENSR8"

This system marking was introduced for ease of key identification by software developers and users.
To install single-user and server keys, simply install the security key driver and insert the security key into the port.

To install a multi-user security key, you need to determine which machine on the network will be the server. Next, you need to install the security key driver (HASP4_driver_setup.zip) and the security key service (HASP_LM_setup.zip) on this computer, and then insert the security key into the port.

For 1C 7
Network keys - Red
Local - Gray
+ the key was decrypted ACC- Accounting, TRD- Trade, SAL - Salary

Single-user group programs:
Programs of the group "1C: Accounting 7.7" are marked "H4 M1 ACCNT"
Programs of the group "1C: Salaries and Personnel 7.7" are marked "H4 M1 QXDXD"
Programs of the group "1C: Trade and Warehouse 7.7" are marked "H4 M1 WRBQB"
Programs of the "1C:Enterprise 7.7 Integrated" group are marked "H4 M1 WRBQB"

Network (multi-user) group programs:
Programs of the group "1C:Enterprise 7.7 Accounting" are marked "H4 Net5 ACCNT"
Programs of the group "1C:Enterprise 7.7 Salary + Personnel" are marked "H4 Net5 QXDXD"
Programs of the group "1C:Enterprise 7.7 Trade + Warehouse" are marked "H4 Net5 WRBQB"
Programs of the group "1C:Enterprise 7.7 Integrated Delivery" are marked "H4 Net5 WRBQB"
Programs of the "1C:Enterprise 7.7 Taxpayer" group are marked "H4 Net5 TAXPR"
Programs of the "1C:Enterprise 7.7 Small Firm" group are marked "ACCNT" / "WRBQB" / "QXDXD"
Programs of the group "1C:Enterprise 7.7 Management of distributed information bases" are marked "H4 Net5 DISTR"
Programs of the "1C:Enterprise 7.7 Web extension" group are marked "H4 Net5 W31CK"

You might also be interested in

0
Instead of Tab.Show() we use global function- and the report is shown immediately in Excel in a digestible form - with columns formatted in width, an autofilter and sheet labels Procedure... 1
Regular Expressions Regular Expressions are a well-known and powerful tool for finding, testing and replacing substrings. This technology is also available in 1C - through the VBScript.RegExp object. The required object is already built into modern versions... 1
To do this, you can use the following functionality: external components: 1. FormEx look here. 5
Service=CreateObject("Service"); Service.KeyboardLayout("Russian"); 2. Miracle look here. 5
For 3. See NetaTable here. If...