แก้ไข Remote Desktop Authentication Error Has Occurred



สำหรับใครที่กำลังเจอกับ Remote Desktop Authentication Error Has Occurred ทั้งใน Windows 7 หรือ Windows 10 ที่เรากำลังจะทำการ remote ไปยัง server หรือเครื่องปลายทาง เราสามารถทำการแก้ไขได้

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

เป็นเพราะ Microsoft อยากให้เราทำการ Remote แบบ Secure เพิ่มมากขึ้น โดยการ Remote ผ่านแบบ  Network Level Authentication (recommended)

วิธีแก้ไข Remote Desktop Authentication Error Has Occurred
สามารถแก้ไขทั้งใน Windows 7 / Windows 8.1 และ Windows 10

1. กด Windows + R และทำการพิมพ์ gpedit.msc และกด OK


2. ไปที่ Computer Configuration > Administrative Templates > System > Credentials delegation > เลือก Encryption Oracle Remediation



ปรับให้เป็น Enable > เลือก Vulnerable  และกด Ok

3. เรียบร้อย จากนั้นให้เราเข้า Remote Desktop ใหม่ ก็สามารถทำการ Remote ได้เรียบร้อย

เท่านี้เราก็สามารถทำการ Remote ไปยัง Server ปลายทางได้เรียบร้อย โดยเราไม่ต้องการทำการ Restart คอมพิวเตอร์หรือ Server

วิธีที่ 2 โดยการแก้ไขค่า Registry

สามารถทำการตั้งค่า Encryption oracle remediation เป็น Vulnerable ด้วยรีจีสทรีได้โดยเปิดโปรแกรม Registry Editor แล้วเข้าไปที่ตำแหน่ง

Computer\HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters 

จากนั้นสร้างรีจีสทรีคีย์ใหม่ เลือกเป็นประเภท DWORD 32-bit value โดยให้ตั้งชื่อ AllowEncryptionOracle แล้วทำการตั้งค่าเป็น 2 เสร็จแล้วรีสตาร์ทระบบเพื่อให้การตั้งค่ามีผล


ผลการทำงาน

หลังจากเครื่องพีซีพร้อมใช้งาน ให้เปิดโปรแกรม Remote Desktop Connection แล้วทำการเชื่อมต่อไปยังพีซีหรือเซิร์ฟเวอร์ตัวที่มีปัญหาอีกครั้ง ถ้าไม่มีอะไรผิดพลาดจะสามารถรีโมทเดสก์ท็อปได้โดยไม่มีปัญหา
ใหม่กว่า เก่ากว่า