On Windows
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
The following procedure assumes that you have created an ODBC data source called oa81_myDSN.
-
From a command prompt, change to the driver installation directory.
C:>install_dir\ -
Type
oaencpwd, and then press ENTER.C:>install_dir\oaencpwd -
Specify the data source type:
Choose System DSN [S] or User DSN [U].- Type S if the data source is a System DSN.
- Type U if the data source is a User DSN.
-
Choose the type of password to encrypt and store:
[1]=Password (PWD)[2]=DBPassword (DBPWD)[3]=HPassword (HPWD)[4]=NewPassword (NPWD)Choice: [1] ==> 1 -
You are prompted to enter the password. Type the password and press ENTER. Keystrokes are not shown.
DSN=oa81_myDSN : Password (PWD) stored encrypted.Would you like to store a LogonID (UID) as well? [Y] [N]Choice: ==>Y -
You are prompted to choose whether to store a logon ID. If you want to store a logon ID, type Y.
DSN=oa81_myDSN : Password (PWD) stored encrypted.Would you like to store a LogonID (UID) as well? [Y] [N]Choice: ==>Y -
Type the logon ID (UID) and press ENTER.
Enter LogonID (UID):my_logonidDSN=oa81_myDSN : LogonID (UID) stored.