--- title: "Enabling or disabling image password extraction using the CLI" slug: "enabling-or-disabling-image-password-extraction-using-the-cli" tags: ["Product Usage", "EX 11.x", "FX 11.x", "AX 11.x", "NX 11.x", "Network Security"] updated: 2026-08-24T19:53:17Z published: 2026-08-24T19:53:17Z canonical: "docs.trellix.com/enabling-or-disabling-image-password-extraction-using-the-cli" stale: true --- > ## 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. # Enabling or disabling image password extraction using the CLI Use the commands in this section to enable or disable image password extraction on an appliance. The default value is disabled. > [!NOTE] > Note > > You can enable or disable password extraction using the CLI only. ### Prerequisites - Administrator or Operator access to the Email Security - Server appliance. - An established connection between your Email Security - Server appliance and the Internet. **To enable image password extraction:** ``` hostname (config) # write memory Saving configuration file ... Done! ``` 1. Go to CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Check the current settings. ``` hostname (config) # show analysis password-extraction ``` ``` Password Extraction Configuration Feature enabled                 :    yes Persist submission              :    yes Max timeout                     :    60000 milliseconds Max text body to lookup         :    25600 bytes Candidate max length limit      :    64 OCR Password Extraction Configuration OCR enabled                     :    no OCR timeout                     :    3000 milliseconds OCR max images                  :    5 files ``` 3. If `OCR enabled` is set to `no`, enable image password extraction on the appliance: ``` hostname (config) # analysis password-extraction ocr enable ``` 4. Save your changes. **To disable image password extraction:** ``` hostname (config) # write memory Saving configuration file ... Done! ``` 1. Go to CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Check the current settings. ``` hostname (config) # show analysis password-extraction ``` ``` Password Extraction Configuration Feature enabled                 :    yes Persist submission              :    yes Max timeout                     :    60000 milliseconds Max text body to lookup         :    25600 bytes Candidate max length limit      :    64 OCR Password Extraction Configuration OCR enabled                     :    yes OCR timeout                     :    3000 milliseconds OCR max images                  :    5 files ``` 3. If `OCR enabled` is set to `yes`, disable image password extraction on the appliance as follows: ``` hostname (config) # no analysis password-extraction ocr enable ``` 4. Save your changes.