At many enterprises, depreciation and amortization of buildings and structures significantly exceeds the standard terms. After the commissioning of new facilities, the old ones are closed, their repair and maintenance are stopped. Buildings fall into an emergency condition with spontaneous collapse of walls and elements of building structures with the possible accidental presence of people in the danger zone. Responsibility for the occurrence and consequences of a hazardous situation is borne by the company in charge of the facility. In order to eliminate the hazardous situation, it is necessary to carry out measures to eliminate the emergency facilities.