000032123 - RSA Authention Manager Prime fails with the error "Files was unexpected at this time" while attempting to execute edtool.bat

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 3Show Document
  • View in full screen mode

Article Content

Article Number000032123
Applies ToRSA Product Set: SecurID
RSA Product/Service Type: Authentication Manager Prime
RSA Version/Condition: 8.1.0
Platform: Windows
O/S Version: Server 2012 R2
IssueWhen attempting to execute edtool.bat the error message below is displayed.
Files was unexpected at this time.

User-added image
CauseThis 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.
ResolutionTo 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.

Attachments

    Outcomes