Windows Command Shell

Windows 7/8/10 and 11 all still use the legacy Credential Manager which can be accessed via the start menu, run command or directly in a command shell (cmd command). Here is a quick guide on how to use each of these methods.

Via the Start Menu

  1. In the start menu, type netplwiz to open the Credential Manager and click the Run Command option.
  2. In the User Accounts window, click the Advanced tab and click Manage Passwords.
  3. Password for websites and network computers can be added and edited from this screen.

Via Run

  1. Open the Run dialogue from the start menu or by press WindowsKey+R.
  2. Type ‘control userpasswords2’ in the box and press enter.
  3. In the User Accounts window, click the Advanced tab and click Manage Passwords
  4. Password for websites and network computers can be added and edited from this screen.

Via CMD (Command Prompt)

  1. Open a command prompt window with Administrator access
  2. Use the following command to list all saved credentials:

    cmdkey /list
  3. To list the credentials for a specific computer only, use:

    cmdkey /list:COMPUTER-OR-DOMAIN

    COMPUTER-OR-DOMAIN is the name of the computer, domain name or IP address, such as 10.0.0.200, domain.com or SERVER-DB1
  4. To Add a new credential, use:

    cmdkey /add:COMPUTER-OR-DOMAIN /user:COMPUTER-OR-DOMAIN\USERNAME /pass:PASSWORD
  5. Similarly, to delete a credential, use:

    cmdkey /delete:COMPUTER-OR-DOMAIN

Categories:

Tags: