Trong một số bản cập nhật bảo mật từ tháng 5/2018, Microsoft đã gia tăng tính bảo mật nên một số bạn khi kết nối từ xa bằng Remote Desktop Connection bị lỗi như sau:
An authentication error has occurred.
The function requested is not supported
Remote computer: VPS1
This could be due to CredSSP encryption oracle remediation.
For more infomation, see https://go.microsoft.com/fwlink/?linkid=866660
![This could be due to CredSSP encryption oracle remediation.](https://xehanoi.info/wp-content/uploads/2020/11/CredSSP.jpg)
Cách xử lý lỗi
Bước 1: Bấm phím Windows + R
và gõ regedit
![](https://xehanoi.info/wp-content/uploads/2020/11/regedit2.jpg)
Bước 2. Truy cập theo đường dẫn HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System , nếu chưa có thì tạo key CredSSP bằng cách click chuột phải vào System, chọn New > Key
![Tạo một key mới](https://xehanoi.info/wp-content/uploads/2020/11/them-key-CredSSP-vao-registry.jpg)
![Đặt tên key là CredSSP](https://xehanoi.info/wp-content/uploads/2020/11/key-credSSP.jpg)
Bước 3: Bên trong key CredSSP tạo thêm key Parameters
![Thêm key Parameters bên trong key CredSSP](https://xehanoi.info/wp-content/uploads/2020/11/them-key-parameters-ben-trong-key-credssp.jpg)
Bước 4: Trong Parameters tạo DWORD (32 bit) Value và đặt tên là AllowEncryptionOracle
![](https://xehanoi.info/wp-content/uploads/2020/11/tao-value-trong-key-credssp-2.jpg)
Bước 5: Click đúp chuột vào AllowEncryptionOracle và nhập Value data là 2
![Click đúp chuột vào AllowEncryptionOracle và nhập Value data là 2](https://xehanoi.info/wp-content/uploads/2020/11/dat-gia-tri-AllowEncryptionOracle-la-2.jpg)
Xong các bước trên thoát Registry Editor và tiến hành kết nối lại.
Chúc các bạn thành công.