search cancel

CA TDM Portal 4.9.432 Receiving Error Generating Password Using EncryptionUtil.bat


Article ID: 243405


Updated On:


CA Test Data Manager (Data Finder / Grid Tools)


CA TDM Portal 4.9.432: Received the following error trying to generate password using EncryptionUtil.bat. Ran as administrator from command line. 

X:\Program Files\CA\CA Test Data Manager Portal\service\bin>.\EncryptionUtil.bat -p
8 was unexpected at this time.

X:\Program Files\CA\CA Test Data Manager Portal\service\bin>.\EncryptionUtil.bat 
8 was unexpected at this time.


JAVA installed on TDM server was uninstalled due to security reasons but the registry entry for JAVA is still pointing to that uninstalled folder/version.


Release : 4.9.1

Component : Test Data Manager - Other


It was a problem with the machine and with corrupted Java installation in particular - missing registry key. So its required to use Portal JRE for example with these commands:

cd "X:\\Program Files\\CA\\CA Test Data Manager Portal\\service\\bin"

..\\..\\jre\\bin\\java -classpath ../lib/* -p

The other option is to look in your registry for JAVA and modify the entries to point to the JRE being used.

However, this is fixed as part of updated EncryptionUtil for future builds from 6/8/2022.