Network Administrator Knowledgebase

Jan 12 2008   11:27PM GMT

Setting Alternate Credentials to use for Accessing a System

Michael Khanin Michael Khanin Profile: Michael Khanin

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

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: