Windows sometimes fails to save Remote Desktop (RDP) credentials, forcing you to retype your password every connection. This is usually caused by a Group Policy setting, a corrupted Credential Manager entry, or a missing “Allow me to save credentials” checkbox. Below are the exact fixes, starting with the most common cause.
Why Windows Won’t Save RDP Credentials
Remote Desktop credentials are stored in Windows Credential Manager, but the RDP client only writes to it if two conditions are met: the “Allow me to save credentials” option is checked in the RDP file, and no Group Policy or local security policy blocks the saving. If either condition fails, the checkbox is grayed out or the password simply isn’t retained after you close the session.
Another frequent culprit is a corrupted credential entry. A partially written or outdated entry for the target computer can make Windows think it already has the credentials, so it never prompts to save new ones. The fix is to delete that entry and reconnect.
Fix 1: Enable “Allow me to save credentials” in the RDP Client
Open Remote Desktop Connection (mstsc.exe), type the computer name, and click Show Options. Go to the General tab and check Allow me to save credentials. If the box is grayed out, proceed to Fix 2—a policy is overriding it.
Fix 2: Change the Group Policy Setting
If the checkbox is disabled, a local or domain policy is blocking credential saving. Run gpedit.msc (Windows Pro/Enterprise) and navigate to:
- Computer Configuration → Administrative Templates → System → Credentials Delegation
- Set Allow Delegating Default Credentials with NTLM-only Server Authentication to Enabled and add
TERMSRV/*to the server list.
Also check Computer Configuration → Administrative Templates → Windows Components → Remote Desktop Services → Remote Desktop Connection Client and ensure Do not allow passwords to be saved is set to Not Configured or Disabled. Then restart the RDP client.
Fix 3: Clear Corrupted Credentials in Credential Manager
Open Control Panel → Credential Manager → Windows Credentials. Look for any entry under Generic Credentials that starts with TERMSRV/ followed by the computer name or IP. Remove it, then reconnect and check “Allow me to save credentials” again. This often resolves the issue when the checkbox is already enabled but the password still isn’t saved.
Fix 4: Edit the RDP File Directly
If you’re using a saved .rdp file, open it in Notepad and add or modify the line promptcredentialonce:i:1. Also ensure username:s: is filled in. Save the file and double-click it to connect. This bypasses some UI quirks and forces the client to remember the credentials.
Fix 5: Use the Command Line with cmdkey
For a more direct approach, use the cmdkey command to store credentials manually. Open Command Prompt as administrator and run:
cmdkey /generic:TERMSRV/192.168.1.100 /user:YourUsername /pass:YourPassword
Replace the IP and credentials with your own. This writes directly to Credential Manager, so the RDP client will pick it up even if the “Allow me to save” checkbox is unavailable.
Fix 6: Check Local Security Policy (secpol.msc)
If Group Policy isn’t the issue, the Local Security Policy may be. Run secpol.msc and go to Local Policies → Security Options. Look for Network access: Do not allow storage of passwords and credentials for network authentication. If it’s enabled, disable it. This policy is rarely set by default, but some security suites enable it.
Frequently Asked Questions
Why is the “Allow me to save credentials” checkbox grayed out?
This is almost always due to a Group Policy setting. Check the policy paths in Fix 2. If you’re on a work computer, your IT department may have enforced it, and you’ll need to contact them.
I enabled the checkbox but it still doesn’t save. What now?
Clear any existing TERMSRV entries in Credential Manager (Fix 3), then reconnect. Also make sure you’re not using an IP address that changes—Windows ties credentials to the exact hostname/IP.
Does this work for Remote Desktop Gateway?
Yes, but Gateway has its own credential storage. In the RDP client, go to the Advanced tab, click Settings, and check Use my RD Gateway credentials. You may also need to add the gateway server to the same Group Policy list.
Is it safe to save RDP credentials?
Stored credentials are encrypted with your Windows login, but they can be decrypted by a user with administrative access. On a shared or untrusted computer, it’s safer to leave them unsaved.
Why does Windows forget the password after a reboot?
This can happen if Credential Manager’s service is disabled or if the credentials are stored as “session” credentials rather than persistent ones. Using cmdkey with the /persistent:yes flag (add it to the command in Fix 5) forces permanent storage.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Fix Error 0x8007025d in Windows 10
- Fix Alexa App Stuck on Setup
- Android Camera for 7 Office Tasks: Step-by-Step
- Pair Phone to Pioneer Stereo After Bluetooth Reset
- Essential Tips for macOS Users Switching to Windows
- Netbook vs Smartphone: Key Differences