Skip to main content
Matrix42 Self-Service Help Center

Emergency Recovery Information (ERI)

Emergency Recovery Information (ERI)

In a situation in which a hard disk has been fully encrypted using Matrix42 Full Disk Encryption, and a user has forgotten the credentials necessary to access a computer (with or without PBA), the emergency recovery application can be used to gain access to data on the computer.

You may need to use the emergency recovery application if the following occurs:

  • The computer does not start correctly.
  • The encryption/decryption key (or the password that leads to the encryption/decryption key) has been damaged, forgotten, or lost.
  • FDE has been removed without decrypting the hard disk first, or decryption was interrupted due to a power failure.

Solutions

The Matrix42 Full Disk Encryption emergency recovery application is based on Microsoft Windows PE. Both are freely available and reliable tools that enable the administrator to build, and expand a boot CD based on Windows components. Matrix42 Full Disk Encryption has developed plug-ins for both that enable you to start the emergency recovery application from CD.

For details about creating an emergency recovery boot CD or USB flash drive, see Windows 10/11).

Emergency recovery information (ERI)

To perform an emergency recovery, an ERI file is needed for the damaged computer. An ERI file is a password protected file that contains the encryption keys to the encrypted partitions of the hard disk (each partition has its own encryption key). The ERI file can be generated during either the installation or at a later time. The file is the ‘key’ to getting back into your computer should an emergency arise, so a backup copy of the ERI file should be made to a secure location (network directory or external drive) (see Creating an ERI file). The emergency application accesses the ERI file to either decrypt the local partitions or to turn PBA off. To perform emergency recovery, the ERI file must contain the latest encryption details for the damaged computer. Therefore, it is recommended to create a new ERI file every time the encryption settings are changed on the target computer. If a “company key” is used for encryption (a single key used for the encryption of all, or many computers within a company), only one ERI file must be created. This ERI file can be used for emergency recovery on any computer that shares the same encryption key. In the case of individual keys for each computer, an ERI file must be created for each one.

Creating an ERI file

This section details the ERI file creation procedure. To create an ERI file and an ERD, Windows local administrator privileges are required.

Follow the steps below to create an ERI file, and/or to create an ERD:

  • Open the Control Center (as described in section 1.5).
  • Double-click the Recovery Information icon.
  • The Administration password dialog appears.

clipboard_ed5c08a7e86dde73df5418b2344e5bf1e.png

  • Enter the password and click OK.
  • An ERI file can be created only if any one of the drives in the system is encrypted. If you try to create an ERI file without encrypting any drive, an error message will appear

clipboard_e0df92921b61a5cdceceba40db0aafb71.png

  • The Save Emergency Recovery Information dialog appears:

clipboard_e690afa6fd04e80bfc826768782d6a05b.png

  • Read the information in the dialog and click Next to continue.
  • The ERI Password/File Destination dialog appears.
  • This dialog helps you specify the password to protect the ERI file from third parties, as well as the destination directory for the file.
  • Enter and confirm a password for recovery information.
  • Only the English keyboard layout is supported in the recovery application, that is why please enter the password, which contains no symbols from other languages.
  • Enter a full path for the ERI file either directly into the field Path or click “…” to open a file explorer.
  • Click Next to continue.

 

clipboard_e798f957a4d4ab8c5598fe531114a27ef.png

  •  (optional) If you want to make use of a ‘pattern’ (click Defining an automatic ERI file naming convention to see the description), make sure that the path ends with a simple backslash ( \ ) - the filename will be completed automatically using the pattern defined in the registry entry ERIFilePattern.
    • The Cache ERI/Specify User dialog appears. This dialog allows you to specify a user (via their Windows credentials) for storing the ERI file and whether to cache the ERI to the hard disk.

clipboard_e78ab890e6cde8bcfc1bddb042fc9e5c7.png

The following options are available:

Option Details

Cache emergency recovery information on disk

This option allows you to cache the ERI on the PBA partition in encrypted form.

Define the user account that will store the Emergency Recovery Information

 

If you check this option, a user account will be assigned to the emergency recovery file copy, as an additional security measure (this only functions if the recovery information copy is saved on a network drive). To be able to create the account, a username, domain and password must already exist to be specified in the fields Username, Domain and Password, respectively.

  • Once you have made your selection click Finish to complete ERI file creation.
  • A confirmation dialog appears if the ERI creation is successful:

clipboard_ef5cf2c0719d2c079d2314dba83df40c5.png

It is not possible to create an ERI file on a network path with mapped drive path. For example, Y:\ERI (Y mapped to \\FDE001\Product).

Defining an automatic ERI file naming convention

This section is an extension of step 5 – How to define an automatic naming convention for ERI files via the use of ‘patterns’. A ‘pattern’ is a placeholder that can be used as part of the path to keep certain elements of the filename consistent. These placeholders must be ‘delimited’ via the use of angled brackets (< >) and can be of the following type:

  • <computername>
  • <username>
  • <date>

These placeholders already exist as a part of every Windows system. The pattern simply uses this information to name the ERI file. Patterns can be used directly in the Path for ERI file field and in the registry entry for the automatic naming convention. Follow these steps to define an automatic ERI naming convention:

  • Open the Windows Registry Editor by either selecting Start > Run and entering regedit into the Open field, or opening the editor directly from the directory: C:\WINDOWS\regedit.exe
  • In the Windows Registry Editor, open the entry: HKEY_LOCAL_MACHINE\SOFTWARE\Mobsec_NB\Notebook\General\
  • Create a new entry by right-clicking in an open space on the right-hand panel and choose New > String Value from the menu:

clipboard_e7cd0c3080dd4675fa5d2905937aa94d2.png

  • Enter ERIFilePattern as the value name:

clipboard_e4068ab29cbca1375b52619960c5b65cd.png

  • Double-click the new entry.
  • This will open a window in which you can enter the naming convention you wish to use for filenames.
  • Enter the naming convention (‘pattern’) in the Value data field (see examples on next page). Click OK to close the window and set the value.

clipboard_ea3a4735441845b511b02766df6458898.png

  • Close registry editor.

Path examples

Here are some examples of paths that either use patterns directly or use automatic naming (the filename will automatically be appended with the extension ‘.eri’ if this was not already included in the path):

Dialog Entry (entered directly in the ‘Path for ERI file’ field) Registry Entry Result

x:\dir\erifile<date>

-------

x:\dir\erifile20050928.eri

x:\dir\

erifile

x:\dir\erifile.eri

x:\dir\

ERI_<computername>_<username>.eri

x:

It is possible that the ERI file will fail to copy to the specified path, for example, if a network drive has been specified but the computer is unable to connect to the network at the time the ERI file is created. In such a scenario, the ERI file will be temporarily stored in the Matrix42 Full Disk Encryption PBA partition until the computer can successfully locate the specified path. Once copied to the specified path, the local copy on the PBA partition is deleted.

If there is an emergency before the ERI file can be successfully copied to the specified path, the local copy of the ERI file will be detected and used by the ERD. For details about performing emergency recovery, see chapter 1.13.

It is recommended to keep copies of all ERI files in a safe place. If an ERI file is damaged or lost, no emergency recovery will be possible!

Creating a WinPE emergency recovery boot CD or USB flash drive

This section details how to create a WinPE (Windows Preinstalled Environment) ERD. This includes how to adapt WinPE to use a plug-in in preparation for recovering/repairing data from a damaged partition.

Create WinPE each time when updating Full Disk Encryption. WinPE created in the latest FDE version is valid for the emergency recovery in previous FDE versions. But: disks encrypted with the latest FDE version can NOT be decrypted with WinPE of lower versions.

SCSI adapters are not supported for creating WinPE, reconnect your device as IDE.

Preparation steps

WinPE is a part of the Windows Assessment and Deployment Kit (ADK). That is why download ADK and install its features.

  • Download ADK:
  • Install the following features, once the ADK is downloaded:
    • Deployment Tools: includes the Deployment and Imaging Tools Environment.
      • Windows Preinstallation Environment: includes the files used to install Windows PE (only for ADK 8).
  • Only for Windows ADK 10, version 1903 and higher: install Windows PE add-on for ADK (click to start the download).

clipboard_eeaf9b4a49a90f9f25023b40374eedee4.png

Creating a WinPE ERD

  • Before starting the procedure, make sure that you have already installed Full Disk Encryption and generated the ERI files necessary for recovery (for details, see Creating an ERI file).
  • Run makepe as administrator

clipboard_efad5ca2fa4cc1c17e04d7c835b5cd807.png

  • The dialog appears. On the first step, the system detects the WinPE platform type.

clipboard_e7d43762f6476339bb49e55a3bdb9757d.png

  • Type Enter.
  • In the next step, the path for Windows ADK directory is identified automatically and the following is displayed:
    • For Windows ADK 8: c:\Program Files (x86)\ Windows Kits\8.0\Assessment and Deployment Kit\Deployment Tools
    • For Windows ADK 10 & 11: c:\Program Files (x86)\ Windows Kits\10\Assessment and Deployment Kit\Deployment Tools

clipboard_e4b9536d606af8f4e5f74d26a7de5d526.png

  • Press Enter.
  • At the next 2 steps, the paths for Matrix42 WinPE directory and Matrix42 WinPE ERI directory are detected.

clipboard_e2a94f0557b914287e98363de992b2606.png

  • Enter the number which is referred to media type you want to create (1 for ISO image, 2 for USB flash drive). [1] is used by default.

clipboard_e65a02ce601deee209726a416c24b9bf6.png

  • Press Enter.
  • Creating ISO:
    • Type Y to agree.

clipboard_e479601a4842b2289fa75e362c3ca86fb.png

  • Press any key to close the window.

clipboard_e46f3ae6ddf470b13f6bba63e21c0ad9b.png

  • Creating USB:
    • Enter the letter of the drive.
      • If your flash drive has the MBR partition layout, just type yes to agree that all data on the USB drive will be lost.
      • If your flash drive has the GPT partition layout, type yes to agree that all data on the USB drive will be lost and the drive partition layout will be changed to MBR.
      • If your flash drive has a partition layout other than GPT or MBR, the warning message is displayed. Change the partition layout manually and start the procedure again.

clipboard_eaf2577efb55c22ce3e3b00fee1e8d9cc.png

  • Type Y to agree.

clipboard_ec6c42f9211f2bd788b61cad54f4940e6.png

  • Answer Y again to agree with formatting of disk drive.

clipboard_e1363fb4974e36ed021283802388c9da0.png

  • Once the process is finished, press any key to close the window.

If your flash drive is more than 2 GB and an error occurs while creating the WinPE, delete all partitions on this flash drive and create one partition for 2 GB. This partition must be formatted with the FAT32 file system.

  • Was this article helpful?