Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> ระบบ >> Windows

เพื่อ Sign in แบบระยะไกล คุณต้องมีสิทธิ์ Sign in ผ่าน Remote Desktop Services

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

เมื่อคุณเจอปัญหานี้ คุณจะได้รับข้อความข้อผิดพลาดเต็มรูปแบบดังนี้:

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.

เพื่อ Sign in แบบระยะไกล คุณต้องมีสิทธิ์ Sign in ผ่าน Remote Desktop Services

To sign in remotely, you need the right to sign in through Remote Desktop Services

หากคุณเผชิญปัญหา คุณสามารถนำโซลูชัน 2 ขั้นตอนที่อธิบายด้านล่างไปใช้บน Remote Desktop Services (RDS) Windows Server เพื่อแก้ไขปัญหา

  1. เพิ่ม Remote Desktop Users เข้ากับ Remote Desktop Users Group
  2. อนุญาตให้ Log on ผ่าน Remote Desktop Services

ลองดูคำอธิบายของกระบวนการที่เกี่ยวข้องในโซลูชัน 2 ขั้นตอน เนื่องจากเกี่ยวข้องกับแต่ละขั้นตอน

1] เพิ่ม Remote Desktop Users เข้ากับ Remote Desktop Users Group

เพื่อเพิ่ม Remote Desktop Users เข้ากับ Remote Desktop Users Group ทำดังนี้:

  • เปิด Server Manager
  • จากเมนู Tools เลือก Active Directory Users and Computers

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

  • ดับเบิลคลิกที่โดเมนของคุณทางซ้าย และจากนั้นเลือก Builtin
  • เปิด Remote Desktop Users บนบานหน้าต่างขวา
  • ที่แท็บ Members คลิก Add
  • พิมพ์ AD users ที่คุณต้องการให้การเข้าถึงระยะไกลไปยัง RDS Server
  • คลิก OK
  • หลังจากเลือก Remote Desktop Users แล้ว คลิก OK อีกครั้งเพื่อปิดหน้าต่าง

ตอนนี้ คุณสามารถดำเนินการขั้นตอนที่ 2 ด้านล่างเพื่อแก้ไขปัญหา

2] อนุญาตให้ Log on ผ่าน Remote Desktop Services

เพื่ออนุญาตให้ Log on ผ่าน Remote Desktop Services ทำดังนี้:

  • กด Windows key + R เพื่อเปิดกล่อง Run
  • ในกล่อง Run พิมพ์ gpedit.msc และกด Enter เพื่อเปิด Group Policy Editor
  • ภายใน Local Group Policy Editor ใช้บานหน้าต่างซ้ายเพื่อไปที่พาธด้านล่าง:
Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment
  • ที่บานหน้าต่างขวา ดับเบิลคลิกที่ Allow log on through Remote Desktop Services เพื่อแก้ไข Properties ของมัน
  • ในหน้าที่เปิดขึ้น คลิกปุ่ม Add User or Group
  • ตอนนี้ พิมพ์ remote และจากนั้นคลิกปุ่ม Check Names
  • เลือก Remote Desktop Users จากรายการ
  • คลิก OK ทั้งหมดเพื่อออกจาก Group Policy Editor.

รีสตาร์ท RDS server หรือแค่เปิด CMD prompt ในโหมด admin/elevated และพิมพ์คำสั่งด้านล่างและกด Enter เพื่อนำการตั้งค่า Group Policy ใหม่ไปใช้ (โดยไม่ต้องรีสตาร์ท)

gpupdate /force

เมื่อคำสั่งรันเสร็จหรือ RDS Windows server รีบูท คุณสามารถลองเชื่อมต่อจาก Windows 10 remote desktop client – ปัญหาควรจะได้รับการแก้ไขแล้ว

หากหลังจากอัปเดต Group Policy settings ปัญหายังไม่ได้รับการแก้ไข ให้ใช้การปรับเปลี่ยนต่อไปนี้ที่ Group Policy Editor:

ไปที่พาธด้านล่าง:

Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment.

จากนั้น เปิด Policy Deny log on through Remote Desktop Services และลบกลุ่ม Users

ออกจาก Group Policy Editor และรันคำสั่ง gpupdate /force

อ่านเพิ่มเติม: An internal error has occurred error for Remote Desktop Connection

เพื่อ Sign in แบบระยะไกล คุณต้องมีสิทธิ์ Sign in ผ่าน Remote Desktop Services