When Remote Desktop (RDP) refuses to connect to a Windows Server 2022 or 2025 VPS, the client error message rarely points straight to the real cause. In practice, more than 90% of failures come down to six issues: port 3389 blocked along the path, TermService still booting or stopped, a CredSSP mismatch, an NLA requirement, an account locked out by brute force (Event ID 4625) or the default two-session limit being full.
On this page
- 30-second check from your workstation
- 1. "Remote Desktop can't connect to the remote computer" (port 3389 unreachable)
- 2. CredSSP encryption oracle remediation error
- 3. Network Level Authentication (NLA) errors
- 4. Rejected password or brute-force account lockout (`Event ID 4625`)
- 5. Maximum RDP sessions reached or stuck disconnected session
- 6. Black screen after login or unresponsive RDP service
- Next steps
Work through the checks below in order, starting with a 30-second network test from your own machine before changing registry keys or firewall rules.
30-second check from your workstation
Before assuming the server is down, test whether TCP port 3389 answers from your local network.
On Windows (PowerShell):
Test-NetConnection -ComputerName 203.0.113.10 -Port 3389On macOS or Linux:
nc -vz -w 5 203.0.113.10 3389The output splits troubleshooting into two clear tracks:
| Test result | What it means | Where to look first |
|---|---|---|
TcpTestSucceeded : False (timeout) |
Packets are not reaching RDP on port 3389 |
Server power state, first-boot timing, panel edge firewall or OS firewall |
TcpTestSucceeded : True (connected) |
Network and port 3389 are open |
Authentication issue: CredSSP, NLA, password, lockout or session limit |
1. "Remote Desktop can't connect to the remote computer" (port 3389 unreachable)
If TCP 3389 times out, check four things before opening a support ticket:
- Was the VPS just provisioned or rebooted? On a newly created Windows Server VPS,
cloudbase-initand networking typically take around two minutes after the panel shows the instance as active before RDP accepts logins. Wait briefly and test again. - Is the server powered on? Check in the panel that Windows was not shut down from inside the OS and that the paid period has not lapsed.
- Does the edge firewall still match your current IP? If you restricted port
3389in the Nuvits panel's Rede e firewall tab and your ISP rotated your dynamic IPv4, traffic is dropped before reaching Windows. Update the rule to your current IP (or switch to a VPN) and apply. - Is your local network blocking outbound port 3389? Corporate Wi-Fi, hotels and some mobile carriers block outbound TCP
3389. Test briefly on a mobile hotspot to rule out local filtering.
If the server is running, the panel firewall allows your IP and port 3389 still times out, the block sits inside Windows (Windows Firewall or a stopped TermService). Because Windows plans do not expose a self-service web console in the panel, open a support ticket noting what changed right before the disconnect.
2. CredSSP encryption oracle remediation error
Typical message:
This appears when the RDP client and Windows Server have mismatched patch levels for CVE-2018-0886, as explained in the Microsoft CredSSP troubleshooting guide.
Permanent fix: install all pending Windows Updates on both your workstation and the Windows Server VPS.
Temporary workaround on your local Windows PC (just to sign in and patch the server):
Open PowerShell as Administrator on your PC (not the server) and temporarily allow the fallback policy:
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters" /v AllowEncryptionOracle /t REG_DWORD /d 2 /fConnect to the VPS, run Windows Update, reboot the server and immediately remove the temporary override on your PC:
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters" /v AllowEncryptionOracle /f3. Network Level Authentication (NLA) errors
Typical message:
Or immediate credential rejection even when you are certain the password is right. Check three common causes:
- Outdated RDP client: on macOS, switch to the official Windows App; on Linux, use an up-to-date Remmina or FreeRDP build with NLA enabled.
- Wrong username domain prefix: on domain-joined laptops, typing plain
Administratoroften sendsYOURCOMPANY\Administrator. Force local authentication by entering.\Administrator(dot backslash before the username). - Stale cached credentials on Windows: open Credential Manager (
control /name Microsoft.CredentialManager) on your PC, go to Windows Credentials and delete any saved entry for the VPS IP.
4. Rejected password or brute-force account lockout (Event ID 4625)
Port 3389 responds, you know the password, yet Windows replies "Your credentials did not work" or "The referenced account is currently locked out".
Two situations account for nearly all of these cases:
- Copy/paste whitespace or keyboard layout mismatch: on Nuvits, the generated initial password for
Administratoris displayed once in the panel. If you typed it manually, double-check keyboard layout differences and look-alike characters (l,I,1,0,O). - Brute-force lockout on public port 3389: on Windows Server 2022 and 2025 with
AllowAdministratorLockoutenabled, automated password-guessing bots on an exposed port3389can lock outAdministratorfor network logons until the lockout window clears (typically 15 to 30 minutes).
Once you are back in (or signed in through a secondary admin account), check recent 4625 failures in PowerShell:
Get-WinEvent -FilterHashtable @{ LogName = 'Security'; Id = 4625 } -MaxEvents 20 |
Select-Object TimeCreated, @{Name='Account';Expression={$_.Properties[5].Value}}, @{Name='SubStatus';Expression={'0x' + ('{0:x}' -f $_.Properties[9].Value)}}, @{Name='SourceIP';Expression={$_.Properties[19].Value}} |
Format-Table -AutoSizeThe three most useful SubStatus codes from the Microsoft Event 4625 reference are:
0xc000006a: account exists, wrong password.0xc0000234: account is currently locked out.0xc0000064: username does not exist.
To stop repeat lockouts, follow First steps on a Windows Server VPS: secure RDP and firewall and take port 3389 off the public internet via VPN or IP allowlisting.
5. Maximum RDP sessions reached or stuck disconnected session
By default, Windows Server allows two simultaneous administrative RDP sessions without RDS CALs. If two operators close the RDP window using the X button instead of signing out, both sessions stay active in the background and a third connection fails or kicks someone off.
To sign in administratively and clear orphaned sessions:
- Connect with the
/adminswitch:
mstsc /v:203.0.113.10 /admin- List active and disconnected sessions, then log off the idle one (replace
2with the matching session ID):
qwinsta
logoff 2To prevent orphaned sessions from piling up, set a disconnected-session timeout in gpedit.msc under Computer Configuration → Administrative Templates → Windows Components → Remote Desktop Services → Remote Desktop Session Host → Session Time Limits.
6. Black screen after login or unresponsive RDP service
If authentication succeeds but the desktop stays black:
- Press
Ctrl + Alt + Endinside the RDP window to open the security screen, launch Task Manager and restartexplorer.exe(File → Run new task →explorer.exe). - Before reconnecting in
mstsc, uncheck Persistent bitmap caching under the Experience tab. - Inside the VPS, check that the core Remote Desktop services are running:
Get-Service TermService, UmRdpService | Format-Table Name,Status,StartTypeIf memory is exhausted (for example, uncapped SQL Server or several users sharing an 8 GB server), dwm.exe and explorer.exe can hang for minutes after login. Check memory usage in Task Manager and review the sizing guide below.
Next steps
- Still have port
3389open to the world? Follow First steps on a Windows Server VPS: secure RDP and firewall. - If RDP connects but crawls under memory pressure, read How much RAM for a Windows VPS running ERP, SQL Server and RDP.
- Compare plans with Windows Server 2022 or 2025 and the license included on Windows RDP VPS.