Vào remote desktop báo lỗi the logon attempt failed năm 2024

Download Windows Speedup Tool to fix errors and make PC run faster

In the past, we’ve told you the way to enable or disable the Remote Desktop connection and troubleshoot it when it disconnects frequently. While using this Remote Desktop feature on Windows 11/10, one might encounter a The logon attempt failed error. When you connect the system remotely using another version like Windows 7, it may work perfectly, but with Windows 11/10/8.1, one might get this error.

Vào remote desktop báo lỗi the logon attempt failed năm 2024

In order to fix this hitch, we first ensured that Windows Firewall was set to turn off. We also tried to use Remote Desktop Modern App, but it made no difference in the situation. This solution mentioned on a Technet thread suggests a method, which can fix this issue.

The logon attempt failed for Remote Connections

1. Press Windows Key + R combination, type Firewall.cpl in the Run dialog box and hit Enter to open the Windows Firewall.

Vào remote desktop báo lỗi the logon attempt failed năm 2024

2. In the above-shown window, click on Allow an app or feature through Windows Firewall, you’ll get the below-shown window. Click Change settings first then in the Allowed apps and features section, scroll down the list to look for Remote Desktop app and put a check mark against it. Click OK.

Vào remote desktop báo lỗi the logon attempt failed năm 2024

Reboot the machine; your problem should be fixed. However, if your computer is part of a domain, by default you aren’t still allowed to save your credentials when you connect to a remote computer. Here is how you can get rid of this problem:

3. Moving on, press Windows Key + R combination, type put gpedit.msc in the Run dialog box and hit Enter to open the Local Group Policy Editor.

Vào remote desktop báo lỗi the logon attempt failed năm 2024

4. In the left pane, navigate here:

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

Vào remote desktop báo lỗi the logon attempt failed năm 2024

5. Now in the right pane of this location, look for policy setting Allow delegating saved credentials with NTLM-only server authentication and double click on it. Select Enabled and hit Show in the following window:

Vào remote desktop báo lỗi the logon attempt failed năm 2024

6. Finally, in Show Contents window, put the Value as TERMSRV\Computer Name, where you have to substitute your computer name after TERMSRV\.

Click OK; Apply; OK. Close the Group Policy Editor.

Vào remote desktop báo lỗi the logon attempt failed năm 2024

So far, we’re done with fixing the issue. All you now need to do is to reboot the machine; your issue should be fixed.

Hope this helps.

UPDATE: Dakota North adds in the comments – TERMSRV/*.* is the correct syntax and it allows all servers.

Related read: Your credentials did not work in Remote Desktop.

An Electrical Engineer by profession, Kapil is a Microsoft MVP and a Windows Insider MVP. Please read the entire post & the comments first & create a system restore point before making any changes to your system.

Hệ thống máy chủ phân tán trên nhiều Datacenter, máy chủ sử dụng công nghệ ổ cứng cam kết Full 100% SSD Enterprise (no cache) chạy RAID 10 với cấu hình tùy chọn đảm bảo tăng tốc độ truy xuất, an toàn dữ liệu và tiết kiệm chi phí nhất.

VPS SSD giá rẻ

Thuê Vps giá rẻ 100% SSD Enterprise tốc độ nhanh - ổn định giá chỉ từ 80k/tháng​

Cloud Server

Thuê Cloud Server giá rẻ cấu hình mạnh mẽ - Tốc độ vượt trội

VPS MMO

VPS MMO giá rẻ, cấu hình mạnh mẽ, hiệu suất vượt trội, số lượng IPV6 lên tới 10000/1VPS

VPS FOREX

Thuê VPS giá rẻ, ổn đinh, an toàn. Tặng thêm băng thông lên đến 400Mbps, tăng tốc giao dịch thành công.

VPS GPU

Thuê VPS GPU - Cấu hình Mạnh Mẽ - Lướt Nhẹ Như Bay

VPS NVME cao cấp

Thuê Vps Pro 100% ổ cứng NVME SSD, CPU intel E5 V4 hiệu suất vượt trội giá chỉ từ 144k/tháng

VPS NVME PLATINUM

VPS NVME PLATINUM là sự kết hợp hoàn hảo giữa ổ cứng SSD NVME & CPU XEON PLATINUM giúp Doanh Nghiệp kinh doanh bứt phá.

VPS USA

Thuê Vps Us giải pháp tối ưu dành cho khách hàng kiếm tiền tại thị trường Mỹ

VPS Đức

Thuê Vps Đức chạy Tool, kiếm tiền MMO, TMĐT…tại thị trường Đức

  • Vào remote desktop báo lỗi the logon attempt failed năm 2024
    Máy chủ riêng độc lập sử dụng 100 ổ cứng SSD Enterprise cho các doanh nghiệp có nhu cầu lưu trữ dữ liệu lớn, tính ổn định cao, chủ động cài đặt, toàn quyền quản trị. Thuê Server giá rẻ Thuê Server giá rẻ cấu hình mạnh mẽ, 100% máy chủ vật lý chính hãng, thế hệ mới IBM/HP/DELL Thuê máy chủ MMO Máy chủ MMO chuyên dụng sở hữu dải IPv6 lên đến hàng chục nghìn IP và có thể chia ra VPS lên tới 66 máy Web Server Máy chủ Web Server chuyên dụng phục vụ các ứng dụng Web
  • Vào remote desktop báo lỗi the logon attempt failed năm 2024
    Web Hosting với công nghệ ổ cứng SSD Enterprise mới nhất tăng tốc độ load website chỉ trong 1s, lướt web không bị giới hạn băng thông giúp tăng hiệu quả và tiết kiệm chi phí. Hosting giá rẻ Tối ưu chi phí, cấu hình RAID 10 với ổ cứng SSD NVME Enterprise giúp tăng tốc website gấp nhiều lần so với ổ cứng thông thường Hosting cao cấp Hosting cao cấp sử dụng 100% ổ cứng SSD NVME kết hợp CPU PLATIUM, RAM thế hệ mới giúp tăng tốc độ website vượt trội Wordpress Hosting Máy chủ LiteSpeed tích hợp Plugin LSCWP cache, Cache Mysql, ổ cứng SSD NVME Enterprise Tăng tốc, nâng cao thứ hạng Website Hosting Business Là dòng Hosting tốc độ cao nhất hiện nay tại LANIT dành cho DN/Cá Nhân có nhu cầu lưu trữ lớn
  • SSL
  • Đăng ký tên miền
  • Dịch vụ Email Server cung cấp trên một máy chủ chuyên dụng, dữ liệu Email lưu trên ổ cứng SSD Enterprise tăng tốc độ truy xuất cực nhanh, hệ thống chống Spam hiệu quả đảm bảo hoạt động an toàn và ổn định.
  • Giới thiệu
  • Liên hệ

Vào remote desktop báo lỗi the logon attempt failed năm 2024

  • 28/06/2022
  • LANIT JSC

Khi thuê máy chủ ảo Vps để sử dụng, thỉnh thoảng chúng ta gặp 1 số lỗi cơ bản như: An internal error has occurred, RDP connection error (Encryption error)…Trong khi chờ đợi phía đơn vị cung cấp xử lý, nhiều anh chị hoang mang không biết xử lý như thế nào. Bài viết dưới đây, LANIT hướng dẫn cách xử lý lỗi “an authentication error has occurred” – Lỗi Remote Desktop thường gặp phải với máy chủ ảo VPS cài hệ điều hành Win 10. Mời anh chị tham khảo.

Mục Lục Nội Dung

Lỗi Remote Desktop “an authentication error has occurred” do đâu?

Do các bản cập nhật Windows (được phát hành sau tháng 5 năm 2018) không được cài đặt ở phía máy chủ RDP / RDS. Ví thế, máy chủ cần bật NLA (Network Level Authentication) để remote.

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. Khi đó, 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ủ cài đặt phiên bản bảo mật kém của CredSSP, dễ dẫn đến lỗi “an authentication error has occurred”

Và “An authentication error has occurred” xuất hiện sau khi chúng ta điền thông tin đăng nhập máy chủ vps (ip, user, password) và kết nối đến Vps

Vào remote desktop báo lỗi the logon attempt failed năm 2024

Cách xử lý lỗi Remote Desktop “an authentication error has occurred” nhanh chóng

C1: Tắt NLA (Network Level Authentication) bên phía RDP Server (Vps hoặc máy chủ remote đến)

B1: Mở Remote Settings (Click chuột phải vào This PC chọn Properties -> chọn Remote Setting):

Vào remote desktop báo lỗi the logon attempt failed năm 2024

B2. Bỏ chọn “Allow connections only from computers running Remote Desktop with Network Level Authentication(recommended) ”.

Nhấp “Apply” -> click “OK”:

Vào remote desktop báo lỗi the logon attempt failed năm 2024

B3. Kiểm tra kết nối máy tính của bạn!

C2: Enabled phần Encryption Oracle Remediation bên máy khách RDP(máy tính cá nhân của bạn)

B1: Mở tìm kiếm Run, Search “gpedit.msc”:

Vào remote desktop báo lỗi the logon attempt failed năm 2024

B2. Tìm Encryption Oracle Remediation theo đường dẫn: Computer Configuration -> Administrative Templates -> System -> Credentials Delegation -> Encryption Oracle Remediation:

Vào remote desktop báo lỗi the logon attempt failed năm 2024

B3. Chỉnh sửa cấu hình trên Encryption Oracle Remediatio:

Nhấp Enabled -> Trong “Protection Level” chọn Vulnerabled -> Click “Apply” -> click “OK”

Vào remote desktop báo lỗi the logon attempt failed năm 2024

Vào remote desktop báo lỗi the logon attempt failed năm 2024

Triệu Huyền Trang

Triệu Huyền Trang chuyên gia 3 năm kinh nghiệm trong ngành Công Nghệ, Phần Mềm. Chuyên chia sẻ các kiến thức phần mềm mã nguồn, ứng dụng và thông tin về công nghệ hữu ích.