Update the connection password using Command Prompt
You can change the password for existing connections without using the KC Plug-In user interface. You can change the connection passwords for the following import types: Mailbox, Folder and Fax Server.
To change the password for an existing connection, you must provide the new password values in an XML file. This XML file must be a sub-set of the KIC-ED-KCPlugin.xml file. The new password values must be encoded in the <ModifyConfig> element as shown in the below example.
<?xml version="1.0" encoding="utf-8"?>
<ModifyConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="2.5">
<ConnectionConfigurations>
<ConnectionConfig>
<Id>2</Id>
<FolderImportConfigList>
<FolderImportConfig>
<Id>2</Id>
<Password>.:base64password</Password>
</FolderImportConfig>
</FolderImportConfigList>
</ConnectionConfig>
</ConnectionConfigurations>
</ModifyConfig>
-
The <Password> element must have Base64 encoded password prefixed with ".:" (without quotes).
-
You can validate the input XML using the ModifyKicConfig.XSD file. Default path:
C:\ProgramData\Kofax\KIC-ED\KCPlugin\config\
Do the following:
Close the KC Plug-In configuration and Kofax Capture Administration module.
-
Start Windows Command Prompt in the KC PlugIn installation folder. Default path:
C:\Program Files (x86)\Kofax\KIC-ED\KCPlugIn\Bin
-
Run the command
KCSImportConnectorConfigExe.exe ModifyConfig "<ConfigUpdateFile>"
Where,
ModifyConfig: A command line switch for informing KCImportConnectorConfigExe.exe to update the connection password. This is not case-sensitive.
<ConfigUpdateFile>: The full path and name of the XML file which contains the new configuration.
Example:
KCSImportConnectorConfigExe.exe modifyconfig "D:\KIC\Dynamic password\KIC-ED-KCPlugIn-UP_pop.xml"
Whether the password update is failed or success, respective message is displayed on the Command Prompt.
For a failed password update, refer to the KIC_ED_Connector_XmlConfig.txt log file. Default path:
C:\ProgramData\Kofax\KIC-ED\KCPlugIn\Log
- Start the KC Plug-In service.