Start a conversation

Restoring the Kerio Control Box NG series default configuration using a USB flash drive

Overview

GFI/Kerio provides a set of tools for solutions for situations in which it is not possible to connect to Kerio Control on a network and administer it through the Kerio Control Administration web interface.

These tools are designed to run from a USB flash drive.

You need a flash drive with the capacity of at least 1 GB to run the tools. For restoring the default configuration, 256 MB suffices.

If you have any issues after using the tools, for example, if Kerio Control fails to work even after you perform a complete system recovery, please contact our technical support.

Solution

 

Restoring the default configuration

For more information, please refer to the Factory Resetting Kerio Control box.

 

Running a complete system recovery

During the complete system recovery, all configuration data, including activation and the statistics database, is completely rewritten. This means that you must reactivate and reconfigure the device afterward.

WARNING: Before doing a complete system recovery, restore the default configuration, and then retest the connection to Kerio Control.

 

Preparing a flash drive for a complete system recovery

For complete system recovery, you must save the installation disk image directly to the physical device.

Microsoft Windows

  1. Insert the flash drive into a USB port on your computer (1 GB and more).

    NOTE: All data on the flash drive is completely overwritten.

  2. Download and unpack Image Writer (it does not require installation).
  3. Download the kerio-control-rescue file.
  4. In Image Writer, find the file, select your flash drive and click Write.
  5. Eject the flash drive securely and remove it from your computer.

Linux

  1. Insert the flash drive into a USB port on your computer (1 GB and more).

    NOTE: All data on the flash drive will be completely overwritten.

  2. Download the kerio-control-rescue file.
  3. Run the terminal (console) in the super-user mode (for example, using the suor sudo -s command depending on your Linux distribution).
  4. Use the command fdisk -l to detect the USB flash drive name (for example, /dev/sdx).
  5. Save the kerio-control-rescue file to the flash drive using the following command: dd if=rescue.img of=/dev/sdx bs=1M and replace rescue.img with the real file name and /dev/sdx with the actual device name. You must type the physical device (for example, /dev/sdx), not a partition (for example, /dev/sdx1).
  6. Use the sync command to ensure all disk operations finish.
  7. Eject the USB drive safely and remove it from the USB port.

Mac OS X

  1. Insert the flash drive into a USB port on your computer (1 GB and more).

    NOTE: All data on the flash drive will be completely overwritten.

  2. Download the kerio-control-rescue file.
  3. Run the terminal: Applications > Utilities > Terminal.
  4. Use the sudo diskutil list command to detect the USB flash drive name (for example, /dev/diskX).

    NOTE: The drive name is case sensitive.

  5. Use the sudo diskutil unmountDisk /dev/diskX command to unmount the flash drive.
  6. Save the kerio-control-rescue file to the USB flash drive using the following command: sudo dd if=rescue.img of=/dev/disk1 bs=1m and replace rescue.img with the real file name and /dev/diskX with the actual device name.
  7. Eject the flash drive securely and remove it from your computer.

Kerio Control Box system recovery

  1. Switch off Kerio Control.
  2. Plug the USB flash drive into a USB port of your Kerio Control Box.
  3. Switch on Kerio Control. Wait for applying the kerio-control-rescue script.
  4. Kerio Control turns off after the recovery finishes.
  5. Switch on Kerio Control

Recovering the USB flash drive for further use

The recovery file creates partitions on the USB flash drive. To reuse the USB drive for other purposes, you need to remove all disk partitions, create new partitions, and reformat the disk for your file system.

Microsoft Window

  1. Click Start and in the Search field type cmd.exe to open the Command Prompt window.
  2. In the command line, type diskpart. You may need to confirm that you have administration rights.
  3. Type list disk to display the list of drives and look up the number of the physical USB drive.
  4. Type select disk X (replace X with the number of the corresponding disk).
  5. Type clean to remove all partitions.
  6. Create a new disk partition by typing the following commands in the order listed:
    create partition primary 
    select partition 1
    format fs=fat32 label="USB Flash" quick 
    exit 
    

Linux

Use the graphical tool GParted or the command fdisk.

Mac OS X

Use the system tool Disk Utility: Application > Utilities > Disk Utility.

Formatting a USB flash drive with MBR

  1. Click Start and in the Search field type cmd.exe to open the Command Prompt window.
  2. In the command line, type diskpart. You may need to confirm that you have administration rights.
  3. Type list disk to display the list of drives and look up the number of the physical USB drive.
  4. Type select disk X (replace X with the number of the corresponding disk).
  5. Type clean to remove all partitions.
  6. Type rescan to locate new disks that may have been added to the computer.
  7. Create a new disk partition by typing the following commands in the order listed:
    create partition primary 
    select partition 1 
    format fs=fat32 label="USB Flash" quick 
    exit 
    
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted
  3. Updated

Comments