An authentication error has occurred Remote Desktop

Nguyên nhân gây ra lỗi trên?

Thực tế là các bản cập nhật bảo mật mới nhất [được phát hành sau tháng 5 năm 2018] được cài đặt trên máy tính của bạn. Các bản cập nhật này khắc phục lỗ hổng nghiêm trọng trong giao thức CredSSP [Nhà cung cấp hỗ trợ bảo mật thông tin xác thực] được sử dụng để xác thực trên các máy chủ RDP [CVE-2018-0886 –RDP authentication error: CredSSP Encryption Oracle Remediation]. Các bản cập nhật này không được cài đặt ở phía máy chủ RDP / RDS của bạn và NLA [Network Level Authentication] được bật để có thể remote vào server.

10 lời khuyên để giảm thiểu mối đe doạ an ninh nội bộ

24 code ES6 tân tiến để khắc phục các lỗi thực hành JavaScript

NLA sử dụng các cơ chế CredSSP để xác thực trước người dùng RDP qua TLS / SSL hoặc Kerberos. Máy tính của bạn chỉ cần chặn kết nối máy tính từ xa đến một máy chủ sử dụng phiên bản bảo mật kém của CredSSP.

Cách fix?

Có những cách fix sau đây:

  1. Cách chuẩn xác nhất và tốt nhất bạn cần thực hiện là cài đặt “Windows security updates” trên server của bạn.
  2. Cách 2: Tắt NLA [Network Level Authentication] trên server của bạn.

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].

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]“.

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“.

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.

Video liên quan

Chủ Đề