We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now


XP Script for "Manage my network passwords"

argint asked
Medium Priority
Last Modified: 2012-05-06
Hi - I would like advice on how to set  user network credentials (not paswords, just server and login name) on Windows XP. Specifically, I would like to have a script I can run on a local laptop that is not in a domain. The entries I add via script should appear in the section "Stored User Names and Passwords" that is available in XP from the control panel by clicking on a user account and then clicking on "Manage My Network Passwords"

I only want to add the servers and log in names.

Im sure this should be scriptable, but I cant find an answer on how to do it.

Any takers??
Watch Question

Danny ChildIT Manager

how are you connecting to the domain resources - are you using Remote Desktop, mapped drives, or some other resource?

the former can use RDP files to store the logins and passwords, and for the latter, then NET USE is the tool for the job (with some security caveats, though)

hth, Danny.
Hi all. Ive found a tool to do the job. It comes with Windows server 2003. CMDKEY.EXE. You can use it to manipulate credentials againsta server stored on your machine. The results appear in the correct section that I asked for in my question.

Thanks to anyone who even thought of answering!



Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.