If you are getting the "SFDC_AUTHENTICATION_ERROR" and Error message as "Invalid or locked out salesforce.com user ID or password in configuration" then please follow the below steps:
- Go to your Server where Email2case build is configured
- Open the sfdconfig.txt file and append the security token with password
- Save the file and run the batch file again, these steps resolve the SFDC_AUTHENTICATION ERROR.