Article ID: 287536 - View products that this article applies to.
This article was previously published under Q287536
You can use the Stored User Names and Passwords feature that is included in Windows XP at a command prompt.
By default, the Stored User Names and Passwords feature creates a "key" for any connection that you make in the graphical user interface (GUI) that requires alternate credentials. When you make a connection at a command prompt by using the net use command and by passing alternate credentials, a key is not created.
For the net use command to save the credentials in Credential Manager, use the /savecred switch. When you use the /savecred switch, any credentials that you are prompted for when you use the net use command are saved as a key. Therefore, if you are prompted for the user name and password (or if you are prompted only for the password) when you use the net use command (but not because you used an asterisk [*] in the net use command for password prompting) and the /savecred switch, the credentials are saved. For example, when you type one of the following commands at a command prompt, a key is stored in the Stored Username and Passwords feature for the resource when the connection is made:
For additional information about Credential Manager, click the following article numbers to view the articles in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/281249/EN-US/ )Credential Manager Credentials Are Stored For Lifetime Of Logon Session
(http://support.microsoft.com/kb/281660/EN-US/ )Behavior of Stored User Names and Passwords
Contact us for more help
Connect with Answer Desk for expert help.