Since 2016 · 50,000+ customers · ★ 5.0 on Google Live chatWhatsAppTelegramOpen a ticket
Get started
Remote Desktop

How to Save, Edit and Remove Remote Desktop Credentials

How to save and remove Remote Desktop credentials by 99RDP

Typing the same user name and password every time you connect to a server gets old quickly. Windows can save Remote Desktop credentials so you log in with one click, and it stores them securely in Credential Manager. This guide shows how to save RDP credentials in Remote Desktop Connection and from the command line, where they're stored, how to fix "Your system administrator does not allow the use of saved credentials", and how to edit or remove saved logins when a password changes or you're on a shared PC.

Quick answerIn Remote Desktop Connection, click Show Options, enter the computer and user name, tick Allow me to save credentials, connect, and tick Remember me at the password prompt. Or from the command line:

cmdkey /generic:TERMSRV/203.0.113.10 /user:Administrator /pass:YourPassword
Steps to save RDP credentials: tick Allow me to save credentials, connect, tick Remember me
Saving credentials

Method 1: Save credentials in Remote Desktop Connection

  1. Press Win + R, run mstsc and click Show Options.
  2. Enter the Computer (IP or host name) and User name (for example Administrator or DOMAIN\user).
  3. Tick Allow me to save credentials.
  4. Click Connect, enter the password, tick Remember me, and click OK.
  5. Optional: click Save As on the General tab to create an .rdp file you can double-click next time.

Method 2: Save credentials with cmdkey

cmdkey manages the same Credential Manager entries from Command Prompt or PowerShell, which is handy for scripts or many servers:

cmdkey /generic:TERMSRV/203.0.113.10 /user:Administrator /pass:YourPassword
cmdkey /list                          # show saved entries
cmdkey /delete:TERMSRV/203.0.113.10   # remove one entry

The target name must be TERMSRV/ followed by exactly what you type in the Computer box (IP or host name). Leave out /pass to be prompted, so the password doesn't end up in your command history.

Where saved RDP credentials live and how to edit or remove them
Manage saved credentials

Method 3: Credential Manager

Open Control Panel → Credential Manager → Windows Credentials. Saved RDP logins appear as TERMSRV/server. From here you can:

  • Edit an entry to update the password after it changes.
  • Remove an entry to stop automatic login.
  • Add a generic credential manually with TERMSRV/server as the address.
Troubleshooting "Your credentials did not work" with saved RDP credentials: the delegation policy
Saved password not used?

Fix "Your system administrator does not allow the use of saved credentials"

You'll see this when connecting to a server whose identity can't be verified with Kerberos, for example a standalone VPS outside your domain. Windows' default policy then refuses to send saved credentials. To allow it on your own PC:

  1. Run gpedit.msc.
  2. Go to Computer Configuration → Administrative Templates → System → Credentials Delegation.
  3. Open Allow delegating saved credentials with NTLM-only server authentication, set it to Enabled, click Show and add TERMSRV/203.0.113.10 (or TERMSRV/* for all servers).
  4. Do the same for Allow delegating saved credentials if needed.
  5. Run gpupdate /force and reconnect.

Listing specific servers is safer than TERMSRV/*. On Windows Home, which has no gpedit.msc, use Windows App or type the password at each login.

Remove saved credentials and connection history

  • Delete the TERMSRV/… entries in Credential Manager or with cmdkey /delete.
  • In mstsc, select a recent computer in the drop-down and press Delete to remove it from the list; the full history lives in the registry under HKCU\Software\Microsoft\Terminal Server Client\Default.
  • Delete saved .rdp files you no longer need.

Always remove saved credentials on shared or public computers.

Security tips

  • Credential Manager encrypts saved passwords with your Windows account. Anyone who can log in as you can use them, so lock your PC and use a strong Windows password.
  • Don't save the server's built-in Administrator credentials on a laptop you travel with; use a separate admin account you can disable.
  • Update saved entries when you change a server password, or repeated failed logins may trigger account lockout.

Frequently asked questions

How do I save my password in Remote Desktop Connection?

Tick Allow me to save credentials under Show Options, connect, and tick Remember me at the password prompt.

Where are RDP credentials stored?

In Windows Credential Manager, under Windows Credentials, as entries named TERMSRV/server.

How do I clear saved RDP credentials?

Remove the TERMSRV/… entries in Credential Manager, or run cmdkey /delete:TERMSRV/server.

Why doesn't RDP use my saved credentials?

Usually the "Allow delegating saved credentials with NTLM-only server authentication" policy isn't set for that server, or the saved entry doesn't match the name you connect with.

Minakshi, Server Administrator L1 at 99RDP
Written byMinakshiServer Administrator L1, 99RDP. Part of the team that runs our servers and answers support.
Keep reading

More Remote Desktop guides

All Remote Desktop guides

Need a server for this?

✓ Setup in minutes✓ Full admin access✓ 7-day refund on new services