Enable Save Credentials option on the Connection dialog on a GN4 client

Build 1501 on 14/Nov/2017  This topic last edited on: 1/Sep/2014, at 10:01

Note: this is not needed on the GN4 systems configured with integrated Windows authentication.

In the GN4 systems configured without pass-through domain login (ie. without integrated Windows authentication), you may want your GN4 applications to store your credentials locally and not to prompt you to log on every time. To do this, you have to enable the Save Credentials check box.

This is per-user operation.

The Save Credentials check box won't appear by default: you have to edit the USERCONFIG.XML file manually to enable it.

To store your credentials locally

1.Locate the USERCONFIG.XML file (typically stored in C:\Users\<yourWindowsname>\AppData\Roaming\TeraDP\GN4\ on Windows 10 / 8.x/ 7 / Vista and in c:\Documents and Settings\<user name>\Application Data on Windows XP / Server 2003.

2.Open the file and then locate the <UserConfig node.

3.After ClientSpecId=... add SaveUserPwd="true".

4.Save the file and restart the GN4 application.

5.When the logon dialog box appears, select Save credentials.

Here's the line as it may look like after editing (here wrapped for better readability):

<UserConfig 

 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 

 xmlns:xsd="http://www.w3.org/2001/XMLSchema" 

 SchemaSourceDirectory="C:\TERA\GN4\main\config\Schemas" 

 ClientSpecId="0" 

 SaveUserPwd="true" 

 xmlns="http://www.teradp.com/schemas/GN4/1/UserConfig.xsd"

>

Note

There are pros and cons in the above approach.

A 'pro' is that the users that are not part of the domain, or do not use their domain login when working from home non in VPN, can avoid to need to retype user name and password each time for each GN4 application.

A 'con' is that the credentials are stored locally, so they won't work if you switch to another workstation. What's worse, if another user attempts to sign in on your workstation, the user will sign with your credentials - perhaps even without noticing it.

See also

Deploy default UserConfig.XML