Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> การแก้ไขปัญหา >> การบำรุงรักษาคอมพิวเตอร์

แก้ไขข้อผิดพลาด 'Need Right to Sign In Through Remote Desktop Services' บน Windows Server 2016

บทช่วยสอนนี้มีคำแนะนำสำหรับแก้ไขข้อผิดพลาด "To sign in remotely, you need the right to sign in through Remote Desktop Services" (เพื่อลงชื่อเข้าใช้จากระยะไกล คุณต้องมีสิทธิ์ลงชื่อเข้าใช้ผ่าน Remote Desktop Services) เมื่อพยายามเชื่อมต่อจาก Windows Remote Desktop (RDP) Client ไปยัง Windows Server 2016 ที่กำลังรัน Remote Desktop Services

แก้ไขข้อผิดพลาด  Need Right to Sign In Through Remote Desktop Services  บน Windows Server 2016

รายละเอียดปัญหา: ผู้ใช้ Remote Desktop Client ไม่สามารถเชื่อมต่อจากระยะไกล (ผ่าน RDP) ไปยัง Terminal Server 2016 ได้ และได้รับข้อผิดพลาด: "To sign in remotely, you need the right to sign in through Remote Desktop Services. By default members of the Administrators group have this right. If the group you're in does not have the right, or if the right has been removed from the Administrators group, you need to be granted the right manually."

วิธีแก้: To sign in remotely, you need the right to sign in through Remote Desktop Services

เพื่อแก้ไขข้อผิดพลาด "To sign in remotely, you need the right to sign in through Remote Desktop Services" ให้ดำเนินการต่อไปนี้บน Remote Desktop Services (RDS) Server 2016:

ขั้นตอนที่ 1: เพิ่มผู้ใช้ Remote Desktop เข้ากับกลุ่ม Remote Desktop Users

  1. เปิด Server Manager (ตัวจัดการเซิร์ฟเวอร์)
  2. จากเมนู Tools (เครื่องมือ) เลือก Active Directory Users and Computers *

* หมายเหตุ: หาก RD Session Host Server ไม่ได้ติดตั้งบน Domain Controller ให้ใช้ snap-in 'Local Users and Groups' หรือแท็บ 'Remote' ใน 'System Properties' เพื่อเพิ่มผู้ใช้ Remote Desktop

แก้ไขข้อผิดพลาด  Need Right to Sign In Through Remote Desktop Services  บน Windows Server 2016

  1. ดับเบิลคลิกที่โดเมนของคุณทางซ้าย แล้วเลือก Builtin
  2. เปิด Remote Desktop Users ที่แถบด้านขวา

แก้ไขข้อผิดพลาด  Need Right to Sign In Through Remote Desktop Services  บน Windows Server 2016

  1. ที่แท็บ Members (สมาชิก) คลิก Add (เพิ่ม)

แก้ไขข้อผิดพลาด  Need Right to Sign In Through Remote Desktop Services  บน Windows Server 2016

  1. พิมพ์ชื่อผู้ใช้ AD ที่ต้องการให้เข้าถึง RDS Server จากระยะไกล แล้วคลิก OK

แก้ไขข้อผิดพลาด  Need Right to Sign In Through Remote Desktop Services  บน Windows Server 2016

  1. หลังเลือกผู้ใช้ Remote Desktop แล้ว คลิก OK อีกครั้งเพื่อปิดหน้าต่าง

แก้ไขข้อผิดพลาด  Need Right to Sign In Through Remote Desktop Services  บน Windows Server 2016

  1. ดำเนินการต่อไปที่ ขั้นตอนที่ 2 ด้านล่าง

ขั้นตอนที่ 2: อนุญาตให้ล็อกอินผ่าน Remote Desktop Services

  1. เปิด Group Policy Editor วิธีทำ:
    1. กด Windows แก้ไขข้อผิดพลาด  Need Right to Sign In Through Remote Desktop Services  บน Windows Server 2016 + R พร้อมกันเพื่อเปิดกล่องคำสั่ง Run
    2. พิมพ์ gpedit.msc แล้วกด Enter

แก้ไขข้อผิดพลาด  Need Right to Sign In Through Remote Desktop Services  บน Windows Server 2016

  1. ใน Group Policy Editor ไปที่: Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment
  2. ที่แถบด้านขวา: ดับเบิลคลิกที่ Allow log on through Remote Desktop Services (อนุญาตให้ล็อกอินผ่าน Remote Desktop Services)

แก้ไขข้อผิดพลาด  Need Right to Sign In Through Remote Desktop Services  บน Windows Server 2016

  1. คลิก Add User or Group (เพิ่มผู้ใช้หรือกลุ่ม)

แก้ไขข้อผิดพลาด  Need Right to Sign In Through Remote Desktop Services  บน Windows Server 2016

  1. พิมพ์ remote แล้วคลิก Check Names (ตรวจสอบชื่อ)

แก้ไขข้อผิดพลาด  Need Right to Sign In Through Remote Desktop Services  บน Windows Server 2016

  1. เลือก Remote Desktop Users แล้วคลิก OK

แก้ไขข้อผิดพลาด  Need Right to Sign In Through Remote Desktop Services  บน Windows Server 2016

  1. คลิก OK ที่หน้าต่าง 'Select users, computers…'

แก้ไขข้อผิดพลาด  Need Right to Sign In Through Remote Desktop Services  บน Windows Server 2016

  1. สุดท้าย คลิก OK อีกครั้ง และปิด Group Policy Editor

แก้ไขข้อผิดพลาด  Need Right to Sign In Through Remote Desktop Services  บน Windows Server 2016

  1. ตอนนี้ลองเชื่อมต่อจาก Remote Desktop Client ปัญหาการลงชื่อเข้าใช้จากระยะไกลควรแก้ไขได้แล้ว *

* หมายเหตุ:
1. หากยังมีปัญหาการลงชื่อเข้าใช้ ให้ Restart (รีสตาร์ท) RDS Server หรือเปิด Command Prompt as Administrator พิมพ์คำสั่งต่อไปนี้เพื่อบังคับใช้ Group Policy ใหม่ (โดยไม่ต้องรีสตาร์ท):

  • gpupdate /force

แก้ไขข้อผิดพลาด  Need Right to Sign In Through Remote Desktop Services  บน Windows Server 2016

2. (ขอบคุณ 'Jeff Flora' สำหรับคำแนะนำ/วิธีแก้): หากหลังอัปเดต Group Policy แล้วปัญหายังไม่หาย ให้ทำการเปลี่ยนแปลงต่อไปนี้ใน Group Policy Editor:

  1. ไปที่ Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment
  2. เปิดนโยบาย Deny log on through Remote Desktop Services (ปฏิเสธการล็อกอินผ่าน Remote Desktop Services) และ Remove (ลบ) กลุ่ม Users ออก
  3. ปิด Policy Editor และรันคำสั่ง gpupdate /force

เสร็จสิ้น! แจ้งให้เราทราบว่าคู่มือนี้ช่วยคุณได้หรือไม่ โดยแสดงความคิดเห็นเกี่ยวกับประสบการณ์ของคุณ กรุณากดไลค์และแชร์คู่มือนี้เพื่อช่วยผู้อื่น