When attempting to execute edtool.bat the error message below is displayed.
Files was unexpected at this time.
Image description
This is caused when trying to run edtool.bat on a Windows 2012 server.
Running the tool on a Windows 2008 server or below will work without error.
To resolve the issue you will need to edit the edtool.bat file before running it via command line.
Typically the file edtool.bat is located under C:\RSA\SSP\edtool.bat, however it may be in a different install folder.
Edit edtool.bat with Notepad++ or Notepad and then locate the following line:
if "%JAVA_HOME%" == "" goto noJavaHome
Remove the quotes around
"%JAVA_HOME%" to match what you see below.
if %JAVA_HOME% == "" goto noJavaHome
Save the changes to edtool.bat and then run it again.