Using DLibAdm.exe

DLibAdm.exe is used to run administrative operations on DLib Database Servers installed on the network.

To use DLibAdm.exe:

1. Click Start > Run and key in CMD.

2. Click Ctrl + Shift + Enter to run CMD as an administrator.

3. Change the active directory to the install folder of DLib Database Server. Key in (example):

CD C:\Program Files\GFI\Database Server 2.1

Press Enter.

4. Key in DLibAdm.exe followed by the functions described below:

/decryptDatabase

This function enables you to decrypt an encrypted DLib database. The following parameters are supported:

Parameter Description
/dbPath:<path>

Specify the path to the database you want to decrypt.

Note

Parameters that contain spaces must be enclosed in double quotes ().

/dbName:<name>

Specify the name of the database you want to decrypt.

Note

Parameters that contain spaces must be enclosed in double quotes ().

/password:<password> Specify the password used to decrypt the database.

Example

DLibAdm.exe /decryptDatabase /dbPath:"C:\Program Files\GFI\Database Server 2.1" /dbName:EventsDatabase /password:p@ss

/encryptDatabase

This function enables you to encrypt a specified database. The following parameters are supported:

Parameter Description
/dbPath:<path>

Specify the path to the database you want to encrypt.

Note

Parameters that contain spaces must be enclosed in double quotes ().

/dbName:<name>

Specify the name of the database you want to encrypt.

Note

Parameters that contain spaces must be enclosed in double quotes ().

/password:<password> Specify the password used to encrypt the database.

Example

DLibAdm.exe /encryptDatabase /dbPath:"C:\Program Files\GFI\Database Server 2.1" /dbName:EventsDatabase /password:p@ss

/displayAllDLib

This function enables you to list all the valid DLib Database Servers running in a specified folder. The following parameter is supported:

Parameter Description
/path:<path>

Specify the folder path where you want to scan for valid DLib Database Servers.

Note

Parameters that contain spaces must be enclosed in double quotes ().

Example

DLibAdm.exe /displayAllDLib /path:"C:\Program Files\GFI\Database Server 2.1"

/copyMoveDLib

This function enables you to copy or move a DLib database to a specified location. The following parameters are supported:

Parameter Description
/sourcePath:<sourcePath>

Specify the path to the source database (database you want to move or copy).

Note

Parameters that contain spaces must be enclosed in double quotes ().

/destinationPath:<destinationPath>

Specify the path to the destination folder.

Note

Parameters that contain spaces must be enclosed in double quotes ().

/copyMove:<c|m>

Specify the action to perform on the database. Supported values:

  • c (for copying).
  • m (for moving).
/dbName:<dbName>

Specify the name of the database you want to copy or move.

Note

Parameters that contain spaces must be enclosed in double quotes ().

Exmaple

DLibAdm.exe /copyMoveDLib /sourcePath:"C:\Program Files\GFI\Database Server 2.1" /destinationPath:C:\EventsDatabases /copyMove:m /dbName:EventsDatabase