--- title: "Configuring the maximum image files for image password extraction using the CLI" slug: "configuring-the-maximum-image-files-for-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/configuring-the-maximum-image-files-for-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. # Configuring the maximum image files for image password extraction using the CLI Use the command in this section to configure the maximum number of image files to be scanned for passwords using OCR. The maximum applies to all images in all attachments in a single email. > [!NOTE] > Note > > You can configure the maximum number of images to scan for passwords 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 configure the maximum number of images to scan:** ``` 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 ocr ``` ``` OCR Password Extraction Configuration OCR enabled                     :    yes OCR timeout                     :    3000 milliseconds OCR max images                 :    5 files ``` 3. Configure the maximum number of image files to be scanned for passwords. ``` hostname (config) # analysis password-extraction ocr max-image-files ``` 4. Save your changes.