Since 2016 · 50,000+ customers · ★ 5.0 on Google Live chatWhatsAppTelegramOpen a ticket
Get started
Remote Desktop

How to Fix the CredSSP Encryption Oracle Remediation Error in RDP

How to fix the CredSSP encryption oracle remediation error by 99RDP

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.

Diagram of the CredSSP encryption oracle error: an updated client refuses to connect to an unpatched server
Why the CredSSP error appears

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

  1. Reach the server another way: your provider's VNC/web console, Hyper-V or VMware console, or a client that hasn't received updates.
  2. Run Windows Update on the server and install all security updates (or at least the latest cumulative update), then restart.
  3. Make sure your own PC is up to date too.
  4. 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.

Steps to fix the CredSSP error: update the server, or briefly set Encryption Oracle Remediation to Vulnerable
Fix it properly

With Group Policy (Windows Pro, Enterprise, Server)

  1. On the client PC, run gpedit.msc.
  2. Go to Computer Configuration → Administrative Templates → System → Credentials Delegation.
  3. Open Encryption Oracle Remediation, set it to Enabled, and choose Protection Level: Vulnerable.
  4. Click OK, run gpupdate /force, and connect.
Meaning of AllowEncryptionOracle registry values 0, 1 and 2
AllowEncryptionOracle values

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 nameBehaviour
0Force Updated ClientsMost secure: only patched clients and servers can connect
1MitigatedDefault: a patched client won't connect to an unpatched server
2VulnerableAllows 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.

Minakshi, Server Administrator L1 at 99RDP
Written byMinakshiServer Administrator L1, 99RDP. Part of the team that runs our servers and answers support.
Keep reading

More Remote Desktop guides

All Remote Desktop guides

Need a server for this?

✓ Setup in minutes✓ Full admin access✓ 7-day refund on new services