XP Script for "Manage my network passwords"

Posted on 2009-02-18
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??
Question by:argint
    LVL 23

    Expert Comment

    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.

    Accepted Solution

    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!



    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    Suggested Solutions

    Can I legally transfer my OEM version of Windows to another PC?  (AKA - Can I put a new systemboard in my OEM PC?) Few of us are both IT and legal experts but we all have our own views of Microsoft's licensing rules and how they apply.  There are…
    If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now