Fix "Your credentials did not work" in Remote Desktop

Fix rejected RDP logins: username format, the right password, stale saved credentials, account lockout and Remote Desktop permissions.

  • Beginner
  • Windows VPS · Admin RDP
  • 3 min read

By RunRacks Team · Published

"Your credentials did not work" means the server was reached, but Windows rejected the username or password. That is good news: the network is fine. One of the causes below is almost always the reason.

1. Check the username format

RDP clients sometimes add your own PC's name or a Microsoft account to the username. Type it with .\ in front so Windows uses the local account on the server:

Code
.\Administrator

In mstsc, click Show Options and enter it in User name. In Windows App, edit the saved credentials.

2. Check the password itself

  • Passwords are case sensitive; check Caps Lock.
  • Copy the password from the client area or your password manager and paste it, instead of typing.
  • If you changed the password in Windows, the client area still shows the original one. Use the new password.
  • A different keyboard layout on your device can turn symbols like @, " or # into other characters. Test by typing the password into a text editor first.

3. Clear old saved credentials

An RDP app may keep sending an old password it saved.

  • Windows: open Credential Manager → Windows Credentials and remove entries that start with TERMSRV/ followed by your server's IP. Or run cmdkey /list and cmdkey /delete:TERMSRV/203.0.113.25.
  • Windows App (Mac, iPhone, Android): edit the PC, remove the saved user account and add it again.

4. Is the account locked?

After several failed attempts, a lockout policy can lock the account for a set time. Wait for that period (for example 15 minutes) and try once with the correct password. If you have browser console access, you can check and unlock it:

PowerShell
Get-LocalUser Administrator | Select-Object Name, Enabled
net user Administrator | findstr /i "active locked"

5. Is the user allowed to use RDP?

Other users must be in Remote Desktop Users or Administrators. See Create Windows users with Remote Desktop access.

6. Reset the password from the console

If you know the account but not the password, and you can still sign in to the browser console with another administrator account, set a new password there with net user Administrator *. If you have no working login at all, open a support ticket and say which service it is. Do not reinstall: it erases your data.

Next steps

Was this guide helpful?

Still stuck?

Ask RunRacks AI for a quick answer, or open a ticket and our team will take a look at your server.

Troubleshooting

Fix Nginx 413 Request Entity Too Large

Nginx returns 413 Request Entity Too Large when an upload is bigger than client_max_body_size. Raise the limit for one site or the whole server, match PHP's limits, and test.

  • Beginner
  • Linux VPS
  • 5 min read

Troubleshooting

Is your ISP or router blocking port 12230? How to tell

Work out whether your internet provider, home router, parental controls or a proxy is blocking RDP port 12230, and collect the details support needs to help.

  • Intermediate
  • Windows VPS · Admin RDP
  • 5 min read

Troubleshooting

How to make .htaccess rewrites work in OpenLiteSpeed

Fix .htaccess rewrites in OpenLiteSpeed - turn on rewrite and Auto Load from .htaccess, understand why edits need a restart and which directives are supported, and fix 404 errors on WordPress permalinks.

  • Intermediate
  • Linux VPS
  • 5 min read