
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
Method 1: Save credentials in Remote Desktop Connection
- Press Win + R, run
mstscand click Show Options. - Enter the Computer (IP or host name) and User name (for example
AdministratororDOMAIN\user). - Tick Allow me to save credentials.
- Click Connect, enter the password, tick Remember me, and click OK.
- Optional: click Save As on the General tab to create an
.rdpfile 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.
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/serveras the address.
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:
- Run
gpedit.msc. - Go to Computer Configuration → Administrative Templates → System → Credentials Delegation.
- Open Allow delegating saved credentials with NTLM-only server authentication, set it to Enabled, click Show and add
TERMSRV/203.0.113.10(orTERMSRV/*for all servers). - Do the same for Allow delegating saved credentials if needed.
- Run
gpupdate /forceand 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 withcmdkey /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
.rdpfiles 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
Administratorcredentials 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.


