Increase the maximum length of a reserve password hash for the RSA Authentication Agent 7.x for Windows
Originally Published: 2016-03-04
Article Number
Applies To
RSA Product/Service Type: Authentication Agent for WIndows
RSA Agent Version/Condition: 7.x
Issue
Because of this discrepancy when the ADM\RSA Desktop\Local Authentication Settings\Reserve Password policy is enabled and the hash is set, the data pasted from the ReservePasswordHashGenerator to the Reserve Password text box does not fit, resulting in a non-functional reserve password.
In the agent’s ADM templates, strings are allocated and stored in the registry as MAXLEN-1 because one character was needed to account for the trailing null that is needed when a string is written to the registry as a REG_SZ or REG_EXPAND_SZ.
Microsoft Technet has an article entitled "Classic ADM file in Windows 2008: MAXLEN error," which says that the string in the text box is limited to this defined length, so the trailing null should be in addition to the value of MAXLEN and not built into it.
Editing the attached RSA_Authentication_Agent.adm file will correct the MAXLEN value to accommodate the trailing null.
Resolution
- Download the RSA Authentication Agent for Microsoft Windows.
- Unzip the files in the archive and navigate to the RSA_Authentication_Agent_<version>\Policy Templates\adm folder.
- Open the RSA_Authentication_Agent.adm file in a text editor.
- Look for the line below:
PART !!LAC_RESERVE_PASSWORD_LABEL EDITTEXT VALUENAME "ReservePassword" MAXLEN 80
- Change the value for MAXLEN to 81, as shown:
PART !!LAC_RESERVE_PASSWORD_LABEL EDITTEXT VALUENAME "ReservePassword" MAXLEN 81
- Save and close the file.
- Download ReservePasswordHashGenerator zip file attached to this article and save it on a local Windows machine.
- Unzip the files in the archive and navigate to the appropriate folder based upon the Windows architecture (32- or 64-bit).
- Double click the installer and run the Windows install wizard.
- Click on Finish when the installation is complete.
- Go to Start > All Programs > RSA and click on the RSA Reserve Password Hash Generator, which opens a command prompt as shown:
- Enter a reserve password that meets the requirements and confirm the same to generate the 80-character reserve password hash.
- The 80-character reserve password hash generated using the ReservePasswordHashGenerator can now be entered
- Take the agent machine off the network to test the new reserve password.
Attachments
If the attachment does not open when clicked, please refresh the page and try again. You must be logged into view the file(s).
Related Articles
Error: 'read_config: Could not open config file /opt/ace/data/ sdtacplus.cfg Errno 2: No such file or directory' appears … 36Number of Views Using PowerShell to Update Registry Keys for the MFA Agent for Microsoft Windows 44Number of Views Capture the reserve password from the current RSA ACE/Agent 5.6 for Windows installation is grayed out 61Number of Views RSA ACE/Server not logging replication error messages to syslog or var/adm/messages file after applying patch 3 19Number of Views Agent C API 8.x: How to enable debug/trace logging for 32-bit API running on 64-bit Windows OS 83Number of Views
Trending Articles
Passwordless Authentication in Windows MFA Agent for Active Directory – Quick Setup Guide RSA Authentication Manager 8.9 Release Notes (January 2026) RSA Authentication Manager Upgrade Process RSA Authentication Manager 8.7 SP2 Setup and Configuration Guide An example of SSO using SAML and ADFS with RSA Identity Management and Governance 6.9.x
Don't see what you're looking for?