--- title: "Generate a Challenge Response Code" slug: "generate-a-challenge-response-code-1" updated: 2026-09-12T18:55:48Z published: 2026-09-12T18:55:48Z canonical: "docs.trellix.com/generate-a-challenge-response-code-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Generate a Challenge Response Code If the user's password or logon tokens have been lost, you need to perform administrator recovery on the client computer to recover the user or system. User calls the administrator to perform the administrator recovery, and provides the Challenge Code. The administrator initiates the Trellix ePO - On-prem Scripting API to generate the Challenge Response Code. A valid Response Code is supplied by the scripting API to the administrator. When typing the Response Code, access is granted to the Client system. Use the **`eeadmin.administratorRecovery`** command to generate the Challenge Response Code. There are four different administrator recovery types: - machineRecovery='1' - resetUserToken='2' - unlockDisabledUser='3' - reserUserToPasswordToken='4' machineRecovery recovery type | Command | Syntax | Description | | --- | --- | --- | | eeadmin.administratorRecovery | **`eeadmin.administratorRecovery`** **`challengeCode=<>`** **`recoveryType=<>`** | Specify **`recoveryType='1'`**, to perform Machine Recovery. | resetUserToken recovery type | Command | Syntax | Description | | --- | --- | --- | | eeadmin.administratorRecovery | **`eeadmin.administratorRecovery`** **`challengeCode=<>`** **`recoveryType=<>`** **`userDn=<>`** | Specify **`recoveryType='2'`** and pass the Distinguished Name (DN) of the user, to perform the Reset User Token Recovery. | unlockDisabledUser recovery type | Command | Syntax | Description | | --- | --- | --- | | eeadmin.administratorRecovery | **`eeadmin.administratorRecovery`** **`challengeCode=<>`** **`recoveryType=<>`** **`userDn=<>`** | Specify **`recoveryType='3'`** and pass the Distinguished Name (DN) of the user, to perform the Unlock Disabled User Recovery. | resetUserToPasswordToken recovery type | Command | Syntax | Description | | --- | --- | --- | | eeadmin.administratorRecovery | **`eeadmin.administratorRecovery`** **`challengeCode=<>`** **`recoveryType=<>`** **`userDn=<>`** | Specify **`recoveryType='4'`** and pass the Distinguished Name (DN) of the user, to perform the Reset User To Password Token Recovery. | unlockDisabledUser recovery type | Command | Syntax | Description | | --- | --- | --- | | eeadmin.administratorRecovery | **`eeadmin.administratorRecovery`** **`challengeCode=<>`** **`recoveryType=<>`** **`userDn=<>`** | Specify **`recoveryType='3'`** and pass the Distinguished Name (DN) of the user, to perform the Unlock Disabled User Recovery. | resetUserToPasswordToken recovery type | Command | Syntax | Description | | --- | --- | --- | | eeadmin.administratorRecovery | **`eeadmin.administratorRecovery`** **`challengeCode=<>`** **`recoveryType=<>`** **`userDn=<>`** | Specify **`recoveryType='4'`** and pass the Distinguished Name (DN) of the user, to perform the Reset User To Password Token Recovery. | :