Network Administrator Knowledgebase

Jan 12 2008   11:27PM GMT

Setting Alternate Credentials to use for Accessing a System



Posted by: Michael Khanin
Microsoft Windows

When you connect to a new system you might be prompted for authentication or the access will fail. You can simply configure alternate sets of credentials to be used for various systems using the CMDKEY utility, as this example shows:

C:\Users\administrator>cmdkey /add:srv01.admininfo.ca /user:admininfo\pelekan /pass:
Enter the password for ‘virt\bruce’ to connect to ’srv.admininfo.ca’: ****

CMDKEY: Credential added successfully.

C:\Users\administrator>cmdkey /list

Currently stored credentials:
Target: srv01.admininfo.ca
Type: Domain Password
User: admininfo\pelekan

Target: srv.admininfo.ca
Type: Domain Password
User: srv.admininfo.ca\admin

You can remove an entry using the cmdkey /delete: command.

Comment on this Post


You must be logged-in to post a comment. Log-in/Register