To fix the RDP "CredSSP encryption oracle remediation" error: Set the registry DWORD value AllowEncryptionOracle to 2 (Mitigated) or 1 (Vulnerable) under HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters via administrative PowerShell, or configure the Group Policy setting "Encryption Oracle Remediation" to "Mitigated", followed by patching both client and host with cumulative security updates.[1]
Follow this production runbook to resolve the handshake block immediately, understand the cryptographic CVE-2018-0886 vulnerability, and permanently restore secure NLA connectivity.[2]
Technical Analysis of Remote Desktop CredSSP Vulnerability (CVE-2018-0886)
The Credential Security Support Provider protocol (CredSSP) is the underlying authentication provider that processes Network Level Authentication (NLA) requests for Remote Desktop Protocol (mstsc.exe).[1] It delegates user credentials securely from the local workstation to the target server before establishing the full graphical desktop session.
What Causes the CredSSP Encryption Oracle Remediation Error in RDP?
When connecting to a remote Windows Server, the client encounters the dialogue:
An authentication error has occurred.
The function requested is not supported.
Remote computer: <Hostname_or_IP>
This could be due to CredSSP encryption oracle remediation.
For more information, see https://go.microsoft.com/fwlink/?linkid=866660
This error is triggered by the enforcement of security updates addressing CVE-2018-0886, a critical remote code execution vulnerability in CredSSP.[3] In unpatched protocol implementations, an attacker executing a man-in-the-middle (MitM) network attack could exploit cryptographic oracle flaws to relay user credentials and execute arbitrary commands on the target system.
Microsoft introduced the Encryption Oracle Remediation Group Policy to mandate patch validation during session negotiation.[2] The authentication failure occurs when an updated client configured with strict security policies attempts to establish an NLA session with an unpatched remote server (or vice versa). The client refuses the unencrypted handshake and terminates the connection.
Comparison Matrix: CredSSP Protection Tiers and Policy Settings
The Group Policy setting for Encryption Oracle Remediation defines three distinct operational tiers:
| Policy Setting | Registry Value (AllowEncryptionOracle) |
Client Behavior (Initiating RDP) | Server Behavior (Receiving RDP) | Security Risk Profile |
|---|---|---|---|---|
| Force Updated Clients | 0 |
Refuses connections to unpatched servers; requires patched CredSSP | Refuses connections from unpatched clients | Highest Security; Blocks all unpatched endpoints |
| Mitigated (Recommended) | 2 |
Allows connections to unpatched servers, but restricts credential delegation | Allows connections from unpatched clients | Balanced; Shields against MitM while maintaining access |
| Vulnerable | 1 |
Permits fallback to unpatched encryption negotiation with any host | Permits fallback negotiation from any client | High Risk; Vulnerable to CVE-2018-0886 credential interception |
How Do I Fix the CredSSP Error Using the Windows Registry?
If you are locked out of an unpatched remote server or virtual machine and lack access to the domain Group Policy management editor, adjusting the client-side registry provides immediate administrative access.[2]
Step 1: Applying the PowerShell Registry Override
Launch PowerShell as Administrator on your local client machine and execute:
# Define the registry path for CredSSP Parameters
$RegistryPath = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters'
# Create the key if it does not already exist
if (-not (Test-Path $RegistryPath)) {
New-Item -Path $RegistryPath -Force | Out-Null
}
# Set AllowEncryptionOracle to 2 (Mitigated) or 1 (Vulnerable)
Set-ItemProperty -Path $RegistryPath -Name "AllowEncryptionOracle" -Value 2 -Type DWord
Alternatively, you can apply this via standard Windows Command Prompt (cmd.exe):
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters" /v AllowEncryptionOracle /t REG_DWORD /d 2 /f
Always attempt AllowEncryptionOracle = 2 (Mitigated) first. In modern Windows 10/11 and Windows Server builds, value 2 permits the client to establish a session with an unpatched host while still applying local memory isolation protections. Only revert to value 1 if your remote host runs legacy Windows Server 2008 R2 or unserviced early builds of Server 2012.
How Do You Configure CredSSP Encryption Oracle Remediation via Group Policy?
For enterprise environments managed via Active Directory Domain Services (AD DS) or local Group Policy Editor (gpedit.msc), configure the policy centrally.
Step 2: Navigating the Local Group Policy Editor
- Open the Windows Run dialog (
Win + R), typegpedit.msc, and press Enter. - Navigate the administrative template tree:
Computer Configuration └── Administrative Templates └── System └── Credentials Delegation - In the right-hand details pane, double-click Encryption Oracle Remediation.
- Set the radio button to Enabled.
- In the Protection Level dropdown list, select Mitigated.
- Click Apply and OK.
# Force immediate Group Policy engine refresh
gpupdate /force
Relaxing the client policy via AllowEncryptionOracle should be treated as a temporary bridge to restore administrative access. Once connected, your immediate responsibility is to apply cumulative security rollups to the remote host and then revert your local workstation policy back to Force Updated Clients (AllowEncryptionOracle = 0).
Is Setting CredSSP to “Vulnerable” Safe for Production Servers?
No, setting CredSSP to “Vulnerable” (Value 1) is not safe for long-term production use.[3]
When AllowEncryptionOracle is set to 1:
- Network Exposure: An attacker positioned on the same local area network (LAN), public Wi-Fi access point, or compromised upstream router can perform ARP spoofing or DNS poisoning to intercept the NLA handshake.
- Credential Theft: The exploit decrypts the session ticket and recovers the user’s plaintext password or NTLM password hash from the CredSSP packet.
- Compliance Violations: Financial and healthcare regulatory frameworks (including PCI-DSS 4.0 and ISO 27001) mandate that known remote code execution vulnerabilities with published vendor patches must be resolved within strict remediation windows.
Enterprises managing sensitive data or high-traffic e-commerce workloads can eliminate shared-network interception risks by provisioning isolated bare-metal hardware such as Dedicated Servers in Pakistan or deploying private VLAN infrastructure across Enterprise Dedicated Servers.
Step-by-Step Permanent Remediation: Patching Windows Server
To permanently resolve CredSSP authentication issues without sacrificing cryptographic security:
Step 3: Verifying Installed CredSSP Security Updates
Connect to the remote Windows Server and query installed hotfixes via PowerShell:
Get-HotFix | Where-Object { $_.Description -match "Security Update" } | Select-Object HotFixID, InstalledOn, Description | Sort-Object InstalledOn -Descending
Verify that the server has applied the minimum required servicing stack updates:
- Windows Server 2022 / 2025: Cumulative updates inherently include all CredSSP protections.
- Windows Server 2019: KB4103727 (May 2018 Rollup) or subsequent cumulative updates.
- Windows Server 2016: KB4103723 or newer.
# Trigger automated Windows Update scan via PowerShell PSWindowsUpdate module
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
Install-Module PSWindowsUpdate -Force
Get-WindowsUpdate -AcceptAll -Install -AutoReboot
Once both the client and remote host have completed patching, re-enable maximum security on your administrative workstation:
# Re-enable strict policy enforcement (Force Updated Clients)
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters' -Name "AllowEncryptionOracle" -Value 0 -Type DWord
Production Verification Checklist
Follow this checklist to confirm clean, permanent resolution:
- Initial Access Restored: Successfully established RDP session using
AllowEncryptionOracle = 2. - Remote Server Servicing Checked: Verified remote host has applied the latest Windows Cumulative Security Update.
- Network Level Authentication Active: Confirmed
UserAuthentication = 1remains enabled on the server’sRDP-Tcplistener. - Client Policy Hardened: Reverted client-side policy to
Force Updated Clients(AllowEncryptionOracle = 0). - Event Viewer Verified: Checked
Applications and Services Logs > Microsoft > Windows > TerminalServices-RemoteConnectionManager > Operationalfor error-free session establishment.
Secure, Low-Latency Windows Cloud VPS & Dedicated Servers
Protect your enterprise infrastructure with fully patched, high-availability Windows Server hosting. NextGen provides dedicated hardware, hardware firewall protection, and enterprise remote desktop capabilities.
Explore Enterprise Dedicated ServersDisclaimer: This post is for informational and educational purposes only, accurate to the best of our knowledge at publication. It does not constitute advice. We do not guarantee accuracy or completeness and accept no liability for any decisions or losses resulting from reliance on this content.
Sources & Official References
- Microsoft Learn. "CredSSP updates for CVE-2018-0886." Official Security Guidance KB4093492. Retrieved November 2026. https://support.microsoft.com/en-us/topic/credssp-updates-for-cve-2018-0886-5cbf93c7-8bf0-8611-1f0e-957e575a6058
- Microsoft Learn. "Encryption Oracle Remediation Group Policy and Registry Configuration Reference." Technical Documentation. Retrieved November 2026. https://learn.microsoft.com/en-us/troubleshoot/windows-server/remote/credssp-encryption-oracle-remediation
- National Vulnerability Database (NVD). "CVE-2018-0886: Windows CredSSP Remote Code Execution Vulnerability." NIST. Retrieved November 2026. https://nvd.nist.gov/vuln/detail/CVE-2018-0886
- Microsoft Security Response Center (MSRC). "CVE-2018-0886 Security Vulnerability Details and Mitigation." Retrieved November 2026. https://msrc.microsoft.com/update-guide/vulnerability/CVE-2018-0886
