Remote desktop connection an authentication error has occurred

To fix an authentication error has occurred when using Remote Desktop Connection app, try modifying AllowEncryptionOracle DWORD in your registry.

How to Fix: RDP “an authentication error has occurred”

Fix the authentification error using these quick fixes

by Matthew Adams

Matthew is a freelancer who has produced a variety of articles on various topics related to technology. His main focus is the Windows OS and all the things… read more


Updated on December 20, 2022

Reviewed by
Vlad Turiceanu

Vlad Turiceanu

Passionate about technology, Windows, and everything that has a power button, he spent most of his time developing new skills and learning more about the tech world. Coming… read more

  • An authentication error has occurred error message pops up on your desktop when you try to connect to another PC with the Remote Desktop Connection app? First, change the Remote Desktop settings.
  • To fix the error, you can also try to enable the Encryption Oracle Remediation policy setting with the Group Policy Editor. You can read in the guide below how exactly you can do that.
  • In times like this, the remote desktop connection is a very useful feature but comes with some simple-to-solve errors, such as this one.

How to fix Remote desktop authentication error

XINSTALL BY CLICKING THE DOWNLOAD FILE

To fix various PC problems, we recommend Restoro PC Repair Tool:
This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues and remove viruses now in 3 easy steps:

  1. Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues affecting your computer’s security and performance
  • Restoro has been downloaded by 0 readers this month.

Some users have stated that An authentication error has occurred error message pops up on their Windows desktops.

The error occurs when they try connecting to another PC with the Remote Desktop Connection app.

This issue has become increasingly prevalent since May 2018 updates for Windows 10. These are a few resolutions that might fix the authentication error that has occurred error in Windows.

In this article

  • How can I fix Remote desktop an authentication error has occurred?
  • 1. Adjust the Remote Desktop Settings
  • 2. Enable Encryption Oracle Remediation
  • 3. Edit the Registry
  • 4. Remove the May Updates
  • 5. Perform an in-place upgrade

How can I fix Remote desktop an authentication error has occurred?

1. Adjust the Remote Desktop Settings

To fix the Remote desktop an authentication error has occurred the function requested is not supported error, you need to adjust remote desktop settings by doing the following:

  1. Press the Windows key + R hotkey.
  2. Enter sysdm.cpl in Run’s Open text box and click OK to open the window below.
    system properties window an authentication error has occurred code 0x80004005
  3. Then select the Remote tab.
  4. Deselect the Allow connections only form computers running Remote Desktop with Network Level Authentication (recommended) option on the Remote tab.
  5. Press the Apply and OK buttons.

2. Enable Encryption Oracle Remediation

To fix The remote desktop an authentication error has occurred, the function requested is not supported error, try enabling the Encryption Oracle Remediation policy setting with the Group Policy Editor.

  1. You can open the Group Policy Editor in Windows 10 Pro and Enterprise by entering gpedit.msc in Run window.
  2. Click Computer Configuration on the left of the Group Policy Editor window.
  3. Then select Administrative Templates > System > Credentials Delegation on the left of the window.
  4. Next, click the Encryption Oracle Remediation on the right to open that setting’s window.
  5. Select the Enable radio button.
  6. Then select the Vulnerable option from the Protection drop-down menu.
  7. Click the Apply button.
  8. For the new group policy setting to take immediate effect, enter cmd in Run to open the Command Prompt. Then input ‘gpupdate /force’ in the Prompt’s window and press Enter.
command prompt remote desktop authentication error has occurred. the function requested is not supported

3. Edit the Registry

In order to fix the Remote desktop authentication error that has occurred, the function requested is not supported error, you need to edit the AllowEncryptionOracle registry key.

  1. To do that, enter regedit in Run window and press Return to open the Registry Editor.
    registry editor main window an authentication error has occurred code 0x80004005
  2. Then open this key in the Registry Editor:
    • HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionPoliciesSystemCredSSPParameters
  3. Double-click the AllowEncryptionOracle DWORD to open its Edit DWORD window.
  4. Enter the value ‘2‘ in the Value data text box, and press the OK button.
  5. If you can’t see the AllowEncryptionOracle DWORD, set up a new DWORD by right-clicking an empty space on the right of the Registry Editor window and selecting New > DWORD. Enter ‘ AllowEncryptionOracle‘ as the DWORD title.
Read more about this topic

  • Fix error code 0x800706be & install Windows updates smoothly
  • Windows 10 Undoing Changes Made to Your Computer [Fix]
  • Circular Kernel Context Logger 0xc0000035: 6 Easy Fixes
  • Error Opening File for Writing: 9 Methods to Fix This Issue
  • Fix: The Local Device Name is Already in Use in Windows 10

4. Remove the May Updates

Some PC issues are hard to tackle, especially when it comes to corrupted repositories or missing Windows files. If you are having troubles fixing an error, your system may be partially broken.
We recommend installing Restoro, a tool that will scan your machine and identify what the fault is.
Click here to download and start repairing.

On the Remote Desktop, an authentication error has occurred the function requested is not supported error is primarily due to the May KB4103727 Windows 10 update.

Thus, removing the KB4103727 update from Windows on the client desktop or laptop might fix the Remote Desktop connection error. You can uninstall those updates as follows.

  1. Open the Run accessory with the Windows key + R keyboard shortcut.
  2. Enter appwiz.cpl in Run’s Open text box, and then click the OK button.
    uninstall or change a program remote desktop authentication error has occurred. the function requested is not supported
  3. Click View installed updates to open the window directly below.
    uninstall an update remote desktop authentication error has occurred. the function requested is not supported
  4. Then select the KB4103727 or KB4103718 update and click Uninstall.
  5. Click Yes to confirm.
  6. You can ensure the update doesn’t reinstall with the Show or hide updates utility. Click Download the Show or hide updates troubleshooter package now on this page to save that utility to your HDD.
  7. Click wushowhide.diagcab in the folder you saved the Show or hide updates utility in to open the window shown below.
    show or hide updates an authentication error has occurred code 0x80004005
  8. Then click Next, and select the Hide updates option.
  9. Select the KB4103727 or KB4103718 updates if they are on the update list.
  10. Press Next to block the selected updates.

5. Perform an in-place upgrade

If you want to fix An authentication error that has occurred code 0x80004005 error, it’s advised to perform an in-place upgrade. To do that, follow these steps:

  1. Download Media Creation Tool from Microsoft’s website and run it.
    download media creation tool remote desktop authentication error has occurred. the function requested is not supported
  2. Select Upgrade this PC now and click Next.
  3. Choose Download and install updates (recommended) and click Next.
  4. Follow instructions on the screen. After you get to the Ready to install screen, click on Change what to keep.
  5. Select Keep personal files and apps option and then click Next.
  6. Follow the instructions on the screen to complete the upgrade process.
  7. Once the process is finished, check if the problem is still there.

If you need more support in terms of remote desktop software solutions, you can visit our article where you will find the best remote troubleshooting tools for your Windows 10 PC. We suggest you try Mikogo, a lightweight remote control software that efficiently offers remote troubleshooting support.

Those are some of the resolutions that will kick-start your Remote Desktop connection. This post also provides further tips for fixing Remote Desktop connections.

  • How can I fix Remote Desktop error 0x204?

Start by checking the Remote Desktop Protocol. If that doesn’t solve the problem, read our complete guide to fix the 0x204 error.

  • What authentication error means?

Authentication error means that the connection to a certain device failed because the authentification data you provided doesn’t correspond to the ones you entered when you created the secure account in that device.

newsletter icon

Newsletter

The following error appeared on a Windows 7 based computer, when I tried to connect to a Server 2012 via the Remote Desktop Connection app: «An authentication error has occurred. The Function Requested is not Supported.». At the same time, the Remote Desktop connection is successful from Windows 10 based PCs.

fix: Remote Desktop authentication error has occurred. The Function Requested is not Supported

This tutorial contains instructions to resolve the error «An authentication error has occurred. The Function Requested is not Supported» in Remote Desktop Connection on Windows 10/8/7 OS.

How to FIX: «The Function Requested is not Supported» in Windows Remote Desktop Connection.

Method 1. Disable Network Level Authentication on RDP Server.

The first way to resolve the «Function Requested is not Supported» error in RDP, is to turn off the Network Level Authentication on the RDP Server’s side. To do that:

1. Open System Properties and select the Remote tab.
2. Un-check (clear) the Allow connections only from computers running Remote Desktop with Network Level Authentication checkbox and click OK. *

* Note: If the RDP server, is a Windows 7 computer, then check the «Allow connections from computers running any version of Remote Desktop (less secure)» option.

Disable Network Level Authentication

3. Now try to connect from the RDP client to the server.

Method 2. Enable the Encryption Oracle Remediation on RDP Client.

The next method to resolve the authentication error «Function Requested is not Supported» in RDP, is to change the «Encryption Oracle Remediation» settings on the Remote Desktop client. To do that:

In Windows Professional versions:

1. Simultaneously press the Windows image + R keys to open the run command box.
2. Type gpedit.msc & Press Enter.

image

3. In Group Policy Editor navigate to the following path (in the left pane):

  • Computer Configuration -> Administrative Templates -> System -> Credentials Delegation

4. At the right pane, open the Encryption Oracle Remediation settings.

Enable the Encryption Oracle Remediation

5. Choose Enable, set the ‘Protection Level’ to Vulnerable and click OK.

image

6. Close the Group Police Editor and try to connect to the RDP server.

In Windows Home versions:

1. Open Command Prompt as Administrator. To do that:

1. At the search box type: command prompt or cmd
2. Right-click at Command Prompt result and select Run As Administrator.

command prompt as administrator

2. In command prompt, paste the below command and press Enter.

  • reg add «HKLMSoftwareMicrosoftWindowsCurrentVersionPoliciesSystemCredSSPParameters» /f /v AllowEncryptionOracle /t REG_DWORD /d 2

fix Function Requested not Supported on Remote Desktop client

3. Close command prompt and restart your PC.
4. After restart, connect with the Remote Desktop app to the server.

That’s it! Let me know if this guide has helped you by leaving your comment about your experience. Please like and share this guide to help others.

If this article was useful for you, please consider supporting us by making a donation. Even $1 can a make a huge difference for us in our effort to continue to help others while keeping this site free:

If you want to stay constantly protected from malware threats, existing and future ones, we recommend that you install Malwarebytes Anti-Malware PRO by clicking below (we
do earn a commision from sales generated from this link, but at no additional cost to you. We have experience with this software and we recommend it because it is helpful and useful):

Full household PC Protection — Protect up to 3 PCs with NEW Malwarebytes Anti-Malware Premium!

После установки обновлений безопасности Windows, которые вышли после мая 2018 года, вы можете столкнуться с ошибкой CredSSP encryption oracle remediation при RDP подключении к удаленному серверу и компьютеру Windows в следующих случаях:

  • Вы подключаетесь к удаленному рабочему столу компьютера с недавно установленной старой (например, RTM) версией Windows (например, Windows 10 ниже билда 1803, Windows Server 2012 R2, Windows Server 2016), на котором не установлены последние обновления безопасности Windows;
  • Вы пытаетесь подключиться к RDP компьютеру, на который давно не устанавливали обновления Microsoft;
  • RDP подключение блокирует удаленный компьютер, т.к. нет нужных обновлений безопасности на вашем клиентском компьютере.

Попробуем разобраться с тем, что означает RDP ошибка CredSSP encryption oracle remediation и как ее можно исправить.

Итак, при попытке подключения к приложению RemoteApp на RDS серверах под Windows Server 2016 / 2012 R2 / 2008 R2, или к удаленным рабочим столам других пользователей по протоколу RDP (на Windows 10, 8.1 или 7), появляется ошибка:

Remote Desktop connection
An authentication error has occurred.
The function is not supported.
Remote Computer: hostname
This could be due to CredSSP encryption oracle remediation.

windows 10 rdp ошибка подключения CredSSP encryption oracle remediation

Подключение к удаленному рабочему столу

Произошла ошибка при проверке подлинности.
Указанная функция не поддерживается.
Причиной ошибки может быть исправление шифрования CredSSP.

Данная ошибка связана с тем, что на Windows Server или на обычной десктопной версии Windows, к которой вы пытаетесь подключится по RDP, не устанавлены обновления безопасности Windows (как минимум с марта 2018 года).

Дело в том, что еще в марте 2018 Microsoft выпустила обновление, закрывающее возможность удаленного выполнения кода с помощью уязвимости в протоколе CredSSP (Credential Security Support Provider). Подробно проблема описана в бюллетене CVE-2018-0886. В мае 2018 было опубликовано дополнительное обновление, в котором по-умолчанию клиентам Windows запрещается подключаться к удаленным RDP серверам с уязвимой (непропатченной) версией протокола CredSSP.

Таким образом, если вы на RDS/RDP серверах (компьютерах) Windows с марта 2018 года не устанавливались накопительные обновления безопасности, а на RDP клиентах установлены майские обновления (или более новые), то на них при попытке подключится к RDS серверам с непропатченной версией CredSSP будет появляется ошибка о невозможности подключения:
This could be due to CredSSP encryption oracle remediation
.

Ошибка RDP клиента появляется после установки следующих обновлений безопасности:

  • Windows 7 / Windows Server 2008 R2 — KB4103718
  • Windows 8.1 / Windows Server 2012 R2 — KB4103725
  • Windows Server 2016 — KB4103723
  • Windows 10 1803 — KB4103721
  • Windows 10 1709 — KB4103727
  • Windows 10 1703 — KB4103731
  • Windows 10 1609 — KB4103723

В списке перечислены номера KB от мая 2018 года, на данный момент вам нужно скачивать и устанавливать более новый пакет накопительных обновлений для вашей редакции Windows. Вы можете получить последние обновления безопасности через Windows Update с серверов Microsoft, с локального WSUS сервера, или скачать вручную из каталога обновлений Windows — Microsoft Update Catalog — https://www.catalog.update.microsoft.com/Home.aspx. Например, для поиска обновлений за август 2019 года для Windows 10 1803 нужно использовать поисковый запрос: windows 10 1803 8/*/2019. Скачайте и установите кумулятивное обновление (в моем примере это будет “2019-08 Cumulative Update for Windows 10 Version 1803 for x64-based Systems (KB4512509)”.скачать последние обновления windows из microsoft update catalog

Для восстановления удаленного подключения к рабочему столу можно удалить обновления безопасности на клиенте, с которого выполняется RDP подключение (но это крайне не рекомендуется, т.е. есть более безопасное и правильное решение).

Для решения проблемы вы можете временно на компьютере, с которого вы подключаетесь по RDP, отключить проверку версии CredSSP на удаленном компьютере. Это можно сделать через редактор локальных групповых политик. Для этого:

  1. Запустите редактор локальных GPO — gpedit.msc;
  2. Перейдите в раздел политик Computer Configuration -> Administrative Templates -> System -> Credentials Delegation (Конфигурация компьютера -> Административные шаблоны -> Система -> Передача учетных данных);
    групповая политика Encryption Oracle Remediation
  3. Найдите политику с именем Encryption Oracle Remediation (Исправление уязвимости шифрующего оракула). Включите политику (Enabled/ Включено), а в качестве параметра в выпадающем списке выберите Vulnerable / Оставить уязвимость;изменить значение политики CredSSP на Vulnerable
  4. Осталось обновить политики на вашем компьютере (команда
    gpupdate /force
    ) и попробовать подключится по RDP к удаленному компьютеру. При включенной политике Encryption Oracle Remediation со значением Vulnerable ваши терминальные приложения с поддержкой CredSSP смогут подключаться даже к RDS/RDP серверам и компьютерам Windows, на которых отсутствуют актуальные обновления безопасности.

Политика Encryption Oracle Remediation предлагает 3 доступных значения защиты от CredSSP уязвимости:

  • Force Updated Clients — самый высокий уровень защиты, когда RDP сервер запрещает подключение не обновлённым клиентам. Обычно эту политику стоит включать после полного обновления всей инфраструктуры и интеграции актуальных обновлений безопасности в установочные образы Windows для серверов и рабочих станций;
  • Mitigated – в этом режиме блокируется исходящее удаленное RDP подключение к RDP серверам с уязвимой версией CredSSP. Однако другие службы, использующие CredSSP работаю нормально;
  • Vulnerable –самый низкий уровень зашиты, когда разрешается подключение к RDP сервера с уязвимой версией CredSSP.

Если у вас отсутствует редактор локальных GPO (например, в Home редакциях Windows), вы можете внести изменение, разрешающее RDP подключение к серверам с непропатченной версия CredSSP, напрямую в реестр с помощью команды:
REG ADD HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystemCredSSPParameters /v AllowEncryptionOracle /t REG_DWORD /d 2

ключ реестра AllowEncryptionOracle

Вы можете изменить этот параметр в реестре сразу на множестве компьютеров в AD с помощью доменной GPO (консоль gpmc.msc) или таким PowerShell скриптом (список компьютеров в домене можно получить с помощью командлета Get-ADComputer из модуля RSAT-AD-PowerShell):

Import-Module ActiveDirectory
$PSs = (Get-ADComputer -Filter *).DNSHostName

Foreach ($computer in $PCs) {
Invoke-Command -ComputerName $computer -ScriptBlock {
REG ADD HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystemCredSSPParameters /v AllowEncryptionOracle /t REG_DWORD /d 2
}
}

После успешного подключения к удаленному RDP серверу (компьютеру) нужно установить на нем актуальные обновления безопасности через службу Windows Update (проверьте, что служба включена) или вручную. Скачайте и установите последние кумулятивные обновления Windows как показано выше. Если при установке MSU обновления появляется ошибка “Это обновление неприменимо к вашему компьютеру”, познакомьтесь со статей по ссылке.

Для Windows XP/ Windows Server 2003, которые сняты с поддержки нужно установить обновления для Windows Embedded POSReady 2009. Например, https://support.microsoft.com/en-us/help/4056564

После установки обновлений и перезагрузки сервера, не забудьте отключить политику на клиентах (либо выставить ее на Force Updated Clients), или вернуть значение 0 для ключа реестра AllowEncryptionOracle. В этом случае, ваш компьютер не будет подвержен риску подключения к незащищенным хостам с CredSSP и эксплуатации уязвимости.

REG ADD HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystemCredSSPParameters /v AllowEncryptionOracle /t REG_DWORD /d 0 /f

Есть еще один сценарий, когда обновления отсутствуют на вашем компьютере. Например, RDP сервер обновлен, но на нем выставлена политика, блокирующая RDP подключения с компьютеров с уязвимой версией CredSSP (Force Updated Clients). В этом случае при RDP подключении вы также увидите ошибку “This could be due to CredSSP encryption oracle remediation”.

Проверьте последнюю дату установки обновлений Windows на вашем компьютере с помощью модуля PSWindowsUpdate или через WMI команду в консоли PowerShell:

gwmi win32_quickfixengineering |sort installedon -desc

qwmi как узнать дату установки последних обновлений безопасности windows

В этом примере видно, что последние обновления безопасности Windows устанавливалось 17 июня 2018 года. Скачайте и установите более новый MSU файл с кумулятивным обновлением для вашей редакции Windows (смотрите выше).

После обновления безопасности, которое было выпущено после мая 2018 года, при попытке подключиться к RDP серверу (удаленному рабочему столу) пользователи могут столкнуться с ошибкой CredSSP encryption oracle remediation. В каких случаях может возникнуть эта проблема:

  • Вы подключаетесь к удаленному рабочему столу компьютера с недавно установленной старой (например, RTM) версией Windows (например, Windows 10 ниже билда 1803, Windows Server 2012 R2, Windows Server 2016), на котором не установлены последние обновления безопасности Windows;
  • Вы пытаетесь подключиться к RDP компьютеру, на который давно не устанавливали обновления Microsoft;
  • RDP подключение блокирует удаленный компьютер, т.к. нет нужных обновлений безопасности на вашем клиентском компьютере.

Видео по теме

Попробуем разобраться с тем, что означает RDP ошибка CredSSP encryption oracle remediation и как ее можно исправить.

Итак, при попытке подключения к приложению RemoteApp на RDS серверах под Windows Server 2016 / 2012 R2 / 2008 R2, или к удаленным рабочим столам других пользователей по протоколу RDP (на Windows 10, 8.1 или 7), появляется ошибка:

Remote Desktop connection
An authentication error has occurred.
The function is not supported.
Remote Computer: hostname
This could be due to CredSSP encryption oracle remediation.

Подключение к удаленному рабочему столу
Произошла ошибка при проверке подлинности.
Указанная функция не поддерживается.
Причиной ошибки может быть исправление шифрования CredSSP.

Данная ошибка связана с тем, что на Windows Server или на обычной десктопной версии Windows, к которой вы пытаетесь подключится по RDP, не устанавлены обновления безопасности Windows (как минимум с марта 2018 года).

В марте 2018 Microsoft выпустила обновление, закрывающее возможность удаленного выполнения кода с помощью уязвимости в протоколе CredSSP (Credential Security Support Provider). В мае 2018 было опубликовано дополнительное обновление, в котором по-умолчанию клиентам Windows запрещается подключаться к удаленным RDP серверам с уязвимой версией протокола CredSSP.

Таким образом, если вы на RDS/RDP серверах (компьютерах) Windows с марта 2018 года не устанавливались накопительные обновления безопасности, а на RDP клиентах установлены майские обновления (или более новые), то на них при попытке подключится к RDS серверам с непропатченной версией CredSSP будет появляется ошибка о невозможности подключения: This could be due to CredSSP encryption oracle remediation.

Ошибка RDP клиента появляется после установки следующих обновлений безопасности:

  • Windows 7 / Windows Server 2008 R2 — KB4103718
  • Windows 8.1 / Windows Server 2012 R2 — KB4103725
  • Windows Server 2016 — KB4103723
  • Windows 10 1803 — KB4103721
  • Windows 10 1709 — KB4103727
  • Windows 10 1703 — KB4103731
  • Windows 10 1609 — KB4103723

Для восстановления удаленного подключения к рабочему столу можно удалить обновления безопасности на клиенте, с которого выполняется RDP подключение (но это крайне не рекомендуется, т.е. есть более безопасное и правильное решение).

Для решения проблемы вы можете временно на компьютере-клиенте, с которого вы подключаетесь по RDP, отключить проверку версии CredSSP на удаленном компьютере. Это можно сделать через редактор локальных групповых политик.

  1. Запустите редактор локальных GPO — gpedit.msc;
  2. Перейдите в раздел политик Computer Configuration -> Administrative Templates -> System -> Credentials Delegation (Конфигурация компьютера -> Административные шаблоны -> Система -> Передача учетных данных);
  3. Найдите политику с именем Encryption Oracle Remediation (Исправление уязвимости шифрующего оракула). Включите политику (Enabled/ Включено), а в качестве параметра в выпадающем списке выберите Vulnerable / Оставить уязвимость;
  4. Осталось обновить политики на вашем компьютере (команда gpupdate /force) и попробовать подключится по RDP к удаленному компьютеру. При включенной политике Encryption Oracle Remediation со значением Vulnerable ваши терминальные приложения с поддержкой CredSSP смогут подключаться даже к RDS/RDP серверам и компьютерам Windows, на которых отсутствуют актуальные обновления безопасности.

Политика Encryption Oracle Remediation предлагает 3 доступных значения защиты от CredSSP уязвимости:

  • Force Updated Clients — самый высокий уровень защиты, когда RDP сервер запрещает подключение не обновлённым клиентам. Обычно эту политику стоит включать после полного обновления всей инфраструктуры и интеграции актуальных обновлений безопасности в установочные образы Windows для серверов и рабочих станций;
  • Mitigated – в этом режиме блокируется исходящее удаленное RDP подключение к RDP серверам с уязвимой версией CredSSP. Однако другие службы, использующие CredSSP работаю нормально;
  • Vulnerable –самый низкий уровень зашиты, когда разрешается подключение к RDP сервера с уязвимой версией CredSSP.

Если у вас отсутствует редактор локальных GPO (например, в Home редакциях Windows), вы можете внести изменение, разрешающее RDP подключение к серверам с непропатченной версия CredSSP, напрямую в реестр с помощью команды:
REG ADD HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystemCredSSPParameters /v AllowEncryptionOracle /t REG_DWORD /d 2

Вы можете изменить этот параметр в реестре сразу на множестве компьютеров в AD с помощью доменной GPO (консоль gpmc.msc) или таким PowerShell скриптом (список компьютеров в домене можно получить с помощью командлета Get-ADComputer из модуля >RSAT-AD-PowerShell):

Import-Module ActiveDirectory
$PSs = (Get-ADComputer -Filter *).DNSHostName
Foreach ($computer in $PCs) {
Invoke-Command -ComputerName $computer -ScriptBlock {
REG ADD HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystemCredSSPParameters /v AllowEncryptionOracle /t REG_DWORD /d 2
}
}

После успешного подключения к удаленному RDP серверу (компьютеру) нужно установить на нем актуальные обновления безопасности через службу Windows Update (проверьте, что служба включена) или вручную. Скачайте и установите последние кумулятивные обновления Windows как показано выше.

Для Windows XP/ Windows Server 2003, которые сняты с поддержки нужно установить обновления для Windows Embedded POSReady 2009. Например, https://support.microsoft.com/en-us/help/4056564

После установки обновлений и перезагрузки сервера, не забудьте отключить политику на клиентах (либо выставить ее на Force Updated Clients), или вернуть значение 0 для ключа реестра AllowEncryptionOracle. В этом случае, ваш компьютер не будет подвержен риску подключения к незащищенным хостам с CredSSP и эксплуатации уязвимости.

REG ADD HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystemCredSSPParameters /v AllowEncryptionOracle /t REG_DWORD /d 0 /f

Есть еще один сценарий, когда обновления отсутствуют на вашем компьютере. Например, RDP сервер обновлен, но на нем выставлена политика, блокирующая RDP подключения с компьютеров с уязвимой версией CredSSP (Force Updated Clients). В этом случае при RDP подключении вы также увидите ошибку “This could be due to CredSSP encryption oracle remediation”.

Проверьте последнюю дату установки обновлений Windows на вашем компьютере с помощью модуля PSWindowsUpdate или через WMI команду в консоли PowerShell:

gwmi win32_quickfixengineering |sort installedon -desc

В этом примере видно, что последние обновления безопасности Windows устанавливалось 17 июня 2018 года. Скачайте и установите более новый MSU файл с кумулятивным обновлением для вашей редакции Windows (смотрите выше).

  • Remove From My Forums
  • Question

  • Since the Microsoft Security Patch on Tuesday, we’ve received many reports of users having connection problems like this:

    An authentication error has occurred.
    The function requested is not supported
    
    Remote computer: <computer name="">
    This could be due to CredSSP encryption oracle remediation.
    For more information, see https:/go.microsoft.com/fwlink/?linkid=866660

    The error impacts:

    • Remote Desktop Connection
    • Remote Desktop Connecting to Azure VMs
    • VPN Network Connections (before one can even try to use Remote Desktop)

    This is quite a mess and seems to be related to the security patch increasing security requirements, but not implementing the change to give the machine the increased security levels. The latter doesn’t seem to occur if the machine has automated Windows
    Updates turned off.

    Unfortunately, Windows Update can’t be automated in many environments such as development, build, test, staging and production without creating other problems.

    Wrote a blog post about our findings so far with a workaround on how to reduce Remote Desktop security settings to get around this problem. It doesn’t require touching registry settings or other complicated steps:

    Remote Desktop Authentication Error Has Occurred. The function requested is not supported. CredSSP

    Would appreciate any insight on handling this across an enterprise without manually modifying the connecting and host machines.

    A common scenario is a person working from home not being able to connect to their own computer in the office or a VM.

    Thanks.


    Luke Chung
    Microsoft MVP
    President of FMS, Inc.
    Blog
    Facebook Twitter

    • Edited by

      Saturday, May 12, 2018 12:08 PM

Answers

  • Here is the FIX for this issue ..

    —> Change the Group Policy on your local client to use the vulnerable setting 

    Run: 
    gpedit.msc

    Go to
    à Computer Configuration -> Administrative Templates -> System ->
    Credentials Delegation -> Encryption Oracle Remediation

    Open — Encryption Oracle Remediation
    à 
    choose Enable 
    à change protection level
    àVulnerable
    à Apply

    Thanks and Regards,

    Regu

    • Proposed as answer by
      vor0nwe
      Wednesday, May 16, 2018 10:22 AM
    • Marked as answer by
      LukeChungMVP
      Thursday, May 24, 2018 6:29 PM

 Windows OS Hub / Windows 10 / Fix: RDP Authentication Error Has Occurred – The Function Requested Is Not Supported

After installing the latest security updates on my Windows 10 desktop, I can’t remotely connect to my new VDS server (running Windows Server 2012 R2) using the Remote Desktop. When I specify the RDP server name in the mstsc.exe client window and click “Connect”, an error appears:

Remote Desktop Connection
An authentication error has occurred.
The function requested is not supported.
Remote computer: computer_name

win 7 - An authentication error has occurred. The function requested is not supported

After I uninstalled the latest updates and rebooted my computer, I was able to connect to a remote server via RDP. As I understand, this is a temporary workaround. A new cumulative Windows update package will arrive and will be installed next month, and the RDP authentication error will return. Can you advise me something?

Answer

You are absolutely right. It’s pointless to solve this problem by removing installed Windows update because you are exposing your computer to the risk of exploiting the various vulnerabilities that this update fixes. The RDP error “An authentication error has occurred” can also appear when trying to run a RemoteApp application.

Why is this happening? The fact is that the latest security updates (released after May 2018) are installed on your Windows 10 desktop. These updates fix a serious vulnerability in the CredSSP protocol (Credential Security Support Provider) used for authentication on RDP servers (CVE-2018-0886 – read carefully the article RDP authentication error: CredSSP Encryption Oracle Remediation). These updates are not installed on your RDP/RDS server side, and the NLA (Network Level Authentication) is enabled for remote desktop access. NLA uses CredSSP mechanisms to pre-authenticate RDP users over TLS/SSL or Kerberos. Your computer simply blocks the remote desktop connection to a server that uses the vulnerable version of CredSSP.

What can you do to fix this problem and connect to your RDP server?

  1. The most correct way to solve the problem is to install the latest cumulative Windows security updates on a remote computer or RDS server (to which you are trying to connect via RDP);
  2. Workaround 1. You can disable NLA (Network Level Authentication) on the RDP server side (as described below);
  3. Workaround 2. You can re-configure your desktops by allowing them to connect to the Remote Desktop with an unsafe version of CredSSP (as described in the article at the link above). To do this, change the registry parameter AllowEncryptionOracle (use the command: REG ADD
    HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystemCredSSPParameters /v AllowEncryptionOracle /t REG_DWORD /d 2
    ) or change the local policy Encryption Oracle Remediation by setting its value to Vulnerable. This is the only way to access a remote server via RDP if you can’t log in on the server locally (via the ILO, virtual machine console or cloud provider web-interface). You can connect to a remote server in this mode and install the latest security updates. After updating the server, don’t forget to disable the policy or return the value of the registry parameter AllowEncryptionOracle to 0 (REG ADD HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystemCredSSPParameters /v AllowEncryptionOracle /t REG_DWORD /d 0).

Disable NLA for Remote Desktop in Windows

If NLA is enabled on your RDP server, this means that CredSSP is used for RDP users’ pre-authentication. You can disable Network Level Authentication in the System Properties on the Remote tab by unchecking the options “Allow connection only from computers running Remote Desktop with Network Level Authentication (recommended)” (Windows 10 /8.1 or Windows Server 2012R2/2016).

disable nla remote settings

In Windows 7 (Windows Server 2008 R2), this option is called differently. On the Remote tab, select the option “Allow connections from computers running any version of Remote Desktop (less secure)“.

windows 7 / server 2008r2 disable nla for rdp connection

You can also disable Network Level Authentication (NLA) using the Local Group Policy editor – gpedit.msc (you can run the gpedit.msc in Windows 10 Home edition like this) or using the domain group policy management console – GPMC.msc. In the policy editor go to the section Computer Configuration –> Administrative Templates –> Windows Components –> Remote Desktop Services –> Remote Desktop Session Host –> Security, find and disable the policy “Require user authentication for remote connections by using Network Level Authentication“.

GPO: Require user authentication for remote connections by using Network Level Authentication

You also need to select the RDP Security Layer in the “Require use of specific security layer for remote (RDP) connections” policy settings.

To apply new RDP settings, you need to update the group policies on a local computer (gpupdate / force) or reboot your desktop. After that, you should successfully connect to the remote desktop.

14 comments

Arvind
May 30, 2018 — 10:35 am

Thanks for update its work for me.:)


Reply

Dmitry
May 31, 2018 — 6:37 am

great thanks! it helped!


Reply

Krishan
December 4, 2019 — 2:59 am

It helped!.


Reply

rodrigo
December 23, 2019 — 7:57 pm

Thanks you for this information. I deploy the virtual machine from ISO 1703 win10 ent. with same problem…. disabling this options NLA fix my problem. thanks you!


Reply

Bunyamin
April 10, 2020 — 12:02 pm

We have experienced same error issue.A re-start of server has solved.


Reply

HaterMicrosoft
August 20, 2020 — 8:10 pm

There is neither such option like Remote Desctop in System Properties->Remote nor utility gpedit in my latest version of Windows 10… Insane OS, insane company!


Reply

AskMeIKnowAll
December 3, 2020 — 10:32 am

There is a differences between Windows 10 Home and Windows 10 Pro 😉


Reply

sirjinn
January 12, 2021 — 3:49 am

this worked for me. thanks!


Reply

Pepe
April 28, 2021 — 12:58 pm

I experienced the same issue with a new installation. After all updates were applied, this was resolved.


Reply

Sanjay Kumar
September 10, 2021 — 6:56 am

Thanks , its works for me


Reply

Freonpsandoz
October 22, 2021 — 3:52 am

I just reinstalled Windows 10. How how many updates do I need and many years does it take before I can use RDP?


Reply

admin
October 26, 2021 — 11:07 am

Wait until the latest monthly security update is installed and restart your device.


Reply

Hamster0rgy
December 2, 2021 — 11:26 pm

Windows 10 home does not support RDP


Reply

Pablo
April 19, 2022 — 11:32 am

Disable NLA for Remote Desktop in Windows was the solution


Reply

Leave a Comment

People using Remote Desktop Connection might face a situation where they experience the error “An Authentication Error has occurred” when trying to establish a connection with another remote PC. Microsoft has officially acknowledged the error message and even released a document stating the root and causes of the error.

An Authentication Error has occurred (Remote Desktop)

An Authentication Error has occurred (Remote Desktop)

This error message is not new and has been there in Windows for quite some time. This is because the causes of this error message can be tracked ranging from incomplete updates to problems in the group policy.

What causes ‘An Authentication Error has occurred’ while connecting to a Remote Desktop?

Like mentioned before, the causes for this error can be traced to a number of different modules. The causes are but not limited to:

  • Latest updates are not installed in either the connecting computer or the target computer. The mismatch causes the remote desktop to abort.
  • There are some problems in the group policy editor. Some Group Policy keys might need to be changed in order to grant access.
  • There is a real password mismatch while connecting to the target computer.

Before you move on to the solutions, make sure that you have an active internet connection and are logged in as an administrator.

Solution 1: Installing Latest Windows Updates on both computer.

Before we move on to other extensive solutions, it is probably wise to install the latest Windows updates on both computers. When you are attempting to remotely connect, it is necessary that both the computers have the same security patches installed to avoid security vulnerabilities. These security patches are installing through Windows Updates.

  1. Press Windows + S, type “update” in the dialogue box and open the application.
  2. Once in Update settings, click on Check for updates.
  3. Now Windows will connect to its server and after downloading the required files, will install the updates.

Windows Update - Settings on Windows 10

Windows Update – Settings
  1. Make sure that both computers are updated. Restart your computer and check if the error message is resolved.

Solution 2: Making changes in Group Policy Editor

The Windows Group Policy Editor contains critical information which dictates how computers should interact and perform different operations. It is kind of guideline and it may vary computer to computer depending on preferences. There are some keys which we must change so a connection to the other computer is established without any issues.

  1. Press Windows + R, type “gpedit.msc” in the dialogue box and press Enter.
  2. Once in the Group Policy Editor, navigate to the following key:
Computer Configuration > Administrative Templates > System > Credentials Delegation > Encryption Oracle Remediation

Navigating to Credentials Delegation

Navigating to Credentials Delegation
  1. Now open the key Encryption Oracle Remediation and change its status to Enabled. Also, set the Protection level to Vulnerable.

Encryption Oracle Remediation on Group policy editor

Changing Encryption Oracle Remediation
  1. Press Apply to save changes and exit by pressing OK. Now check if the error message is resolved.

If you do not have Group Policy Editor on your computer, we can use the registry editor to add the key.

  1. Press Windows + S, type “command prompt” in the dialogue box, right-click on the application and select Run as administrator.
  2. Once in elevated command prompt, execute the following command:
REG ADD HKLMSoftwareMicrosoftWindowsCurrentVersionPoliciesSystemCredSSPParameters /v AllowEncryptionOracle /t REG_DWORD /d 2

Adding registry key

Adding registry key of Encryption Oracle Remediation
  1. After executing the command, try connecting again. If this doesn’t work, restart your computer and try again.

In addition to the above solutions, you can also try:

  • You can reset the password from the domain controller (for enterprises). Then from Active Directory, you can select the user and open its properties. Then in the tab Account, you can uncheck the option User must change password at next login.
  • If you do not have access to the remote computer, you can remove the security update on the computer so both computers have the same version.
  • Make sure that you are not restricted from connecting to the target computer. Same goes for the target if it is restricted from being connected with.
  • Check your network’s Firewall.

Photo of Kevin Arrows

Kevin Arrows

Kevin is a dynamic and self-motivated information technology professional, with a Thorough knowledge of all facets pertaining to network infrastructure design, implementation and administration. Superior record of delivering simultaneous large-scale mission critical projects on time and under budget.

Remote Desktop Connections Fail

Starting May 9, we received many reports of Remote Desktop connections failing globally. Users received error messages like this when they tried to remote to machines they connected to successfully for a long time:

Remote Desktop Connection Error

An authentication error has occurred.
The function requested is not supported

Remote computer: <computer name>
This could be due to CredSSP encryption oracle remediation.
For more information, see https:/go.microsoft.com/fwlink/?linkid=866660

The link goes to this page, https://support.microsoft.com/en-us/help/4093492/credssp-updates-for-cve-2018-0886-march-13-2018, and explains the Credential Security Support Provider protocol (CredSSP). It offers extensive information on a series of updates since March 2018. It recommends some steps but isn’t very clear what those changes are nor whether those changes are needed to be made by network administrators globally via group policies, or group policies on every PC and VM.

Caused by a Microsoft Security Patch

The Microsoft Security patch issued on Tuesday, May 8th triggered the problem by setting and requiring remote connections at the highest level (CredSSP Updates for CVE-2018-0886)::

Security update deployment information: May 08, 2018

It changed the default setting from Vulnerable to Mitigated which means that any PC using CredSSP is not be able to use insecure versions. If your PC received the May update but the target PC hasn’t implemented the CredSSP update, the PC receives the error message when it tries to connect to that PC.

The automatic Windows patch to raise the security level is not implemented if the PC doesn’t allow automatic updates. This mismatch between the implementation of a security requirement (which is not optional) without the corresponding automatic update may be the source of this problem.

However, there are many situations such as development, testing, build, staging, and deployment environments which require a stable environment that would be destroyed by automatic Windows updates.

We continue to research this.

Symptoms

The symptoms are rather strange because we found that some machines successfully connected while others didn’t.

For instance, we had a Windows 7 machine that hosted Remote Desktop. A Windows 7 PC had no problem connecting to it, but the same user connecting from a Windows 10 machine failed when that was never an issue before and the host machine allowed remote connection for years.

There are also reports of problems with Windows 10 machines connecting to Windows 10 machines, and people locked out of their Azure VMs.

Workaround Solution

One could rollback the security update, but rather than risking other security problems, there’s a quick fix.

Simply adjust the Remote Desktop settings on the host machine to a lower security level. From File Explorer, choose Computer, right-click and select Properties, then click Change Settings, and go to the Remote tab.

From Windows 10, uncheck the option to “Allow connections only from computers running Remote Desktop with Network Level Authentication (recommended)”:

From Windows 7, it’s setting the option to the Less Secure option rather than More Secure:

Once these are set, users can remote to the machine again.

Microsoft Comment

Based on this blog post, a Microsoft colleague told us this:

“I double checked the Windows bug database and they are aware of the problem. No ETA on a fix yet unfortunately. Your workaround is what’s suggested to temporarily get around the error, although it is not suggested as a long-term fix.”

Alternative Solutions

This section was added after our initial workaround and is based on the experience of many users struggling with this problem.

The problem is often caused because the local machine is patched with the Windows Update and the machine it’s connecting to is not patched for the CredSSP issue. If both systems were patched then this error would not occur.

There are two options:

Update the Target Machine

Update the target machine with the patch for the CredSSP issue (preferable).

Update the Local Machine

In many cases, you don’t have the option to modify anything on the target machine. You may even be prevented from modifying your own machine, but assuming you have administrator rights, you can change the Group Policy on your local machine to use the Vulnerable setting.

Big picture, it’s ridiculous to lower one’s security settings to connect to a machine that wasn’t updated. It would be much better if it prompted or automatically connected to lower level machines without turning off the higher security level for everything else. All it takes is one target machine that you can’t modify to force this change on your machine. But at least you can get your work done.

  1. Enter run “gpedit.msc” to edit group policy, or from Windows start, enter “Group Policy” and select “Edit group Policy”:
    1. Windows 10
    2. Windows 7
  2. From the treeview, choose Computer Configuration -> Administrative Templates -> System -> Credentials Delegation
  3. Select “Encryption Oracle Remediation” from the right pane (if it’s not there, it probably means your machine wasn’t patched):
  4. Enable and set the Protection Level to Vulnerable:

Hope this helps.


Additional Problem: Cannot Connect via VPN

We’ve discovered problems with VPN connection if the PC has Remote set to the higher security level.

The network connection fails with error: Cannot load the Remote Access Connection Manager service. Error 711:

Lower Your Remote Desktop Security to have the Security to Make the VPN Connection

Apparently, the Remote Desktop setting on the client side impacts its ability to connect via VPN to the host side.

By lowering the setting to less secure for others to connect to the PC, the PC can now successfully connect to the VPN. What a mess.

Additional Discussions

I’ve also been involved in other online discussions:

  • Microsoft TechNet
  • MSDN

Summary

It’s late August, and it’s shocking that this problem remains after so many months. I am extremely frustrated by the Windows update policies and Microsoft’s inadequate testing before these security patches are deployed. This is very disruptive and dangerous to many organizations trying to fulfill their missions expecting their PCs to be reliable.

Microsoft security “purists” claim the current approach is necessary to address the serious threats facing users. I guess it wouldn’t be an issue if the updates worked without disruption. However, the downside of this medicine may exceed the illnesses they are trying to prevent.

Hope you are able to resolve this and move on.


Additional Remote Desktop Connection Resources

  • Rebooting a Remote Desktop Computer
  • Using Terminal Services, Remote Desktop and RemoteApp to Extend Your Microsoft Access and other Windows Applications Over the Internet
  • Tips and Techniques for Setting Up Remote Desktop Connections and Using Multiple Displays

Понравилась статья? Поделить с друзьями:
  • Remote controller connection error dji phantom 4
  • Remote controller connection error dji mavic air
  • Remote 1 panasonic как исправить
  • Remnant from the ashes при проверке доступа к сетевым функциям возникла неизвестная ошибка
  • Remnant from the ashes ошибка unreal engine 4 crash report