Setting Alternate Credentials to use for Accessing a System |
|
Posted Thursday, 10 January 2008 by 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. |