
You open Remote Desktop Connection, enter your password, and get: "An authentication error has occurred. The function requested is not supported. This could be due to CredSSP encryption oracle remediation." The cause is a security update that protects RDP logins: one side of the connection has it and the other doesn't, so they refuse to talk. This guide explains why it happens, the correct fix (update both machines), and the temporary workaround for when you can't update the server right away.
Quick answerInstall the latest Windows updates on both the computer you connect from and the server you connect to. If the server can't be updated yet, temporarily set Encryption Oracle Remediation to Vulnerable on your client, connect, update the server, then undo the change.
What is CredSSP and why does this error appear?
CredSSP (Credential Security Support Provider) is the protocol that sends your credentials securely to the server during Network Level Authentication. In 2018 Microsoft fixed a serious remote-code-execution flaw in it (CVE-2018-0886). The update added a setting, Encryption Oracle Remediation, that controls whether a patched computer will talk to an unpatched one. Patched clients default to Mitigated, which refuses connections to unpatched servers, and you see the CredSSP error.
All supported Windows versions have included the fix for years, so today the error usually means the server hasn't been updated in a very long time, or it's an old image (for example a Windows Server 2012 R2 or 2016 template that was never patched).
Common situations that trigger it
- A freshly deployed server from an old, unpatched image.
- A server where Windows Update has been disabled or broken.
- Connecting from an up-to-date Windows 10/11 PC to a legacy server.
- Rarely, the reverse: an old client connecting to a server set to Force Updated Clients.
Fix 1 (correct): update the server and the client
- Reach the server another way: your provider's VNC/web console, Hyper-V or VMware console, or a client that hasn't received updates.
- Run Windows Update on the server and install all security updates (or at least the latest cumulative update), then restart.
- Make sure your own PC is up to date too.
- Connect again. The error is gone and the connection is protected.
Fix 2 (temporary): allow the connection from your client
Use this only to get into a server so you can update it, then reverse it.
With Group Policy (Windows Pro, Enterprise, Server)
- On the client PC, run
gpedit.msc. - Go to Computer Configuration → Administrative Templates → System → Credentials Delegation.
- Open Encryption Oracle Remediation, set it to Enabled, and choose Protection Level: Vulnerable.
- Click OK, run
gpupdate /force, and connect.
With the registry (all editions, including Home)
Run Command Prompt as administrator on the client:
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters" /v AllowEncryptionOracle /t REG_DWORD /d 2 /f
No restart is normally needed; open a new Remote Desktop Connection window.
Undo it after updating the server
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters" /v AllowEncryptionOracle /f
Or set the Group Policy back to Not Configured. Leaving it on Vulnerable lets your PC send credentials to unpatched servers, which is exactly what the update protects against.
What the values mean
| Value (AllowEncryptionOracle) | Policy name | Behaviour |
|---|---|---|
| 0 | Force Updated Clients | Most secure: only patched clients and servers can connect |
| 1 | Mitigated | Default: a patched client won't connect to an unpatched server |
| 2 | Vulnerable | Allows connections to unpatched machines (temporary use only) |
Other ways in while you fix it
- Provider console: most VPS panels have a browser-based VNC console that doesn't use RDP at all.
- Disable NLA on the server (last resort): from the console, open
sysdm.cpl→ Remote and untick "Allow connections only from computers running Remote Desktop with Network Level Authentication". Turn it back on immediately after updating.
Frequently asked questions
What does "This could be due to CredSSP encryption oracle remediation" mean?
The client and server have different CredSSP security updates, and the patched side refuses to connect to the unpatched one.
How do I fix the CredSSP error permanently?
Install the latest Windows updates on both the server and the client. No registry change is needed afterwards.
Is setting AllowEncryptionOracle to 2 safe?
Only briefly, to reach a server and update it. It weakens protection for every RDP connection from that PC, so remove it afterwards.
Where is the CredSSP registry setting?
In HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters, value AllowEncryptionOracle.


