This Remote Desktop error usually means one side of the connection is missing a security update. The proper fix is to update that side, typically the server. A client-side workaround exists, but it lowers protection and should be removed right after.
The wording is close to this:
An authentication error has occurred.
The function requested is not supported.
Remote computer: (name or address)
This could be due to CredSSP encryption oracle remediation.On the client, the System log may also show event ID 6041 from LsaSrv, saying that a CredSSP authentication failed to negotiate a common protocol version.
Note the name or address in the message, and check that it is the machine you meant to reach. The message is different from a wrong password or an unreachable server, so changing your password or network settings is not the place to start.
CredSSP is the protocol that passes your credentials to the server, and Remote Desktop uses it with Network Level Authentication. In 2018 Microsoft fixed a vulnerability in it, tracked as CVE-2018-0886, that could let an attacker in a position to interfere with the connection run code using relayed credentials.
Updates were released in stages. After the May 2018 update, a patched client by default uses the Mitigated level: it refuses to fall back to the insecure version. If the server has never received the fix, the patched client blocks the connection and you see this message.
So the error is the protection working. The usual case is a server installed from an old image that has not been updated. The reverse can also happen: a server set to Force updated clients rejects a client that was never patched. Then the client needs updating.
sconfig on Server Core. To see which updates are already installed, run Get-HotFix in PowerShell.If updates fail, check that the server has working internet access and name resolution, enough free disk space, and a correct clock. A Windows version that is out of support may no longer receive newer fixes, so plan to move to a supported version.
Take a backup before heavy updating on an old server, and expect several restarts.
Warning: this lets your computer fall back to the vulnerable protocol. Microsoft describes the Vulnerable setting as exposing remote servers to attack. It affects connections from that computer, not just to one server. Use it only if you have no other way to reach the server to update it, from a network you trust, and remove it as soon as the server is patched.
On Windows editions with Group Policy Editor, run gpedit.msc and open Computer Configuration, Administrative Templates, System, Credentials Delegation. Open Encryption Oracle Remediation, set it to Enabled, choose Vulnerable, and apply.
Or use the registry from an administrator Command Prompt. Editing the registry wrongly can cause serious problems, so copy carefully. First see whether a value already exists, and note it:
reg query HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters /v AllowEncryptionOracleThen set it:
reg add HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters /v AllowEncryptionOracle /t REG_DWORD /d 2 /fRestart the client computer. Connect, update the server fully, and restart the server.
Do this on the same client right after the server is updated.
reg delete HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters /v AllowEncryptionOracle /fIf a value existed before, set that number again instead. Restart the client, then connect to the server once more. If the error is gone with the workaround removed, you are done. If it returns, the server still lacks the fix.
On a work computer, settings may come from your organisation's policy. Ask your administrator instead of changing them.
| Setting | Value | Effect on a client |
|---|---|---|
| Force updated clients | 0 | No insecure fallback |
| Mitigated | 1 | No insecure fallback |
| Vulnerable | 2 | Insecure fallback allowed |
On a server, Mitigated still accepts unpatched clients, while Force updated clients rejects them.
Afterwards, keep the server patched and limit who can reach Remote Desktop. If you run a Windows VPS with us, install updates after your first sign-in, and see our status page if you cannot reach the server at all.
Should I fix this on the client or the server?
Update the side that is missing the patch, which is usually the server. The client workaround only buys time to reach and update it.
Does the registry change need a restart?
Yes. Microsoft states that changes to this setting require a reboot.
I updated the server but still see the error. What now?
Confirm that the updates installed successfully and the server restarted. Check that you are connecting to the right machine, and that no policy on either side forces a conflicting level. Also confirm that the client is updated.
My Windows edition has no Group Policy Editor. What can I do?
Use the registry commands from an administrator Command Prompt, then remove the value again when the server is updated.