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

แก้ไข Event ID 4105: Remote Desktop License Server ไม่สามารถอัปเดตแอตทริบิวต์ผู้ใช้ใน Active Directory

บทช่วยสอนนี้มีคำแนะนำในการแก้ไข Event ID 4105 บน RDHs Server 2016/2012/2008: "The Remote Desktop license server cannot update the license attributes for user in the Active Directory Domain" Ensure that the computer account for the license server is a member of Terminal Server License Servers group in Active Directory domain "domain"
If the license server is installed on a domain controller, the Network Service account also needs to be a member of the Terminal Server License Servers group
If the license server is installed on a domain controller, after you have added the appropriate accounts to the Terminal Server License Servers group, you must restart the Remote Desktop Licensing service to track or report the usage of RDS Per User CALs
Win32 error code: 0x80070005"

แก้ไข Event ID 4105: Remote Desktop License Server ไม่สามารถอัปเดตแอตทริบิวต์ผู้ใช้ใน Active Directory

วิธีแก้: Remote Desktop license (RDL) server cannot update the license attributes on Active Directory 2008/2012/2016 (Event ID 4105)

ขั้นตอนที่ 1: เพิ่ม RDS Licensing Server เข้า Terminal Server License Servers Group

เหตุผลแรกของ error ID 4105 บน RDS Server 2016/2012/2008 คือ Remote Desktop Licensing Server ไม่ได้ถูกเพิ่มเข้าไปในกลุ่ม "Terminal Server License Servers" ใน Active Directory * ดังนั้น ขั้นแรก ให้เพิ่ม RDL Server ของคุณเป็นสมาชิกของกลุ่ม “Terminal Server License Servers” ใน AD Domain Controller ของคุณ โดยทำตามคำแนะนำด้านล่าง:

* สำคัญ: หาก license server ติดตั้งบน domain controller บัญชี 'Network Service' ก็ต้องเป็นสมาชิกของ Terminal Server License Servers group ด้วย

1. เปิด Active Directory Users and Computers
2. ภายใต้โดเมนของคุณ เลือก Builtin แล้วดับเบิลคลิกที่ Terminal Server License Servers ด้านขวา

แก้ไข Event ID 4105: Remote Desktop License Server ไม่สามารถอัปเดตแอตทริบิวต์ผู้ใช้ใน Active Directory

3. ที่แท็บ Members ให้ตรวจสอบว่า RDL server ของคุณอยู่ในรายการ หากไม่มี ให้:

a. คลิกปุ่ม Add เลือกเฉพาะ Computers ที่ Object Types options พิมพ์ชื่อ RDL server และคลิก OK

b. หาก RDL server ติดตั้งบน domain controller คลิกปุ่ม Add เลือกเฉพาะ Built-in security principals ที่ Object types options พิมพ์ Network Service และคลิก OK

แก้ไข Event ID 4105: Remote Desktop License Server ไม่สามารถอัปเดตแอตทริบิวต์ผู้ใช้ใน Active Directory

4. เมื่อเสร็จแล้ว ปิด "Terminal Server License Servers Properties"
5. Restart บริการ Remote Desktop Licensing
6. ตอนนี้ เชื่อมต่อกับ RDS server จากบัญชี RDP และตรวจสอบที่ Event viewer (บน RDSH server) ว่ายังได้ error 4105 หรือไม่ หากข้อผิดพลาดยังคงอยู่ ให้ดำเนินต่อไปที่ Step-2

ขั้นตอนที่ 2: เพิ่มสิทธิ์ Read/Write ให้ Terminal Server Attribute ของ 'User objects'

ใช้ Delegate Control Wizard เพื่อเพิ่มสิทธิ์ให้ Terminal Server License Servers group อ่าน/เขียน Terminal Server License Server attribute ของ “User objects” วิธีการมีดังนี้:

1. เปิด Active Directory Users and Computers
2. คลิกขวาที่โดเมนของคุณ และเลือก Delegate Control

แก้ไข Event ID 4105: Remote Desktop License Server ไม่สามารถอัปเดตแอตทริบิวต์ผู้ใช้ใน Active Directory

2. ที่ 'Welcome to the Delegation of Control Wizard' คลิก Next

แก้ไข Event ID 4105: Remote Desktop License Server ไม่สามารถอัปเดตแอตทริบิวต์ผู้ใช้ใน Active Directory

3. ในกล่องโต้ตอบ Users and Groups คลิก Add

แก้ไข Event ID 4105: Remote Desktop License Server ไม่สามารถอัปเดตแอตทริบิวต์ผู้ใช้ใน Active Directory

4. พิมพ์ Terminal Server License Servers แล้วคลิก OK

แก้ไข Event ID 4105: Remote Desktop License Server ไม่สามารถอัปเดตแอตทริบิวต์ผู้ใช้ใน Active Directory

5. จากนั้น ในกล่อง 'Users and Groups' คลิก Next

แก้ไข Event ID 4105: Remote Desktop License Server ไม่สามารถอัปเดตแอตทริบิวต์ผู้ใช้ใน Active Directory

6. ในกล่องโต้ตอบ 'Tasks to Delegate' คลิก Create a custom task to delegate และคลิก Next

แก้ไข Event ID 4105: Remote Desktop License Server ไม่สามารถอัปเดตแอตทริบิวต์ผู้ใช้ใน Active Directory

7. ในกล่องโต้ตอบ 'Active Directory Object Type' เลือก Only the following objects in the folder และในรายการด้านล่าง คลิกช่อง اختيار User objects (เป็นรายการสุดท้าย) แล้วคลิก Next

แก้ไข Event ID 4105: Remote Desktop License Server ไม่สามารถอัปเดตแอตทริบิวต์ผู้ใช้ใน Active Directory

8. ในกล่องโต้ตอบ 'Permissions' เลือกเฉพาะช่อง General และในรายการ Permissions ด้านล่าง เลือกเฉพาะช่อง Read and Write Terminal Server license server แล้วคลิก Next

แก้ไข Event ID 4105: Remote Desktop License Server ไม่สามารถอัปเดตแอตทริบิวต์ผู้ใช้ใน Active Directory

9. ในหน้าจอสุดท้าย 'Completing the Delegation of Control Wizard' คลิก Finish

แก้ไข Event ID 4105: Remote Desktop License Server ไม่สามารถอัปเดตแอตทริบิวต์ผู้ใช้ใน Active Directory

10. ลองเชื่อมต่อกับ RDSH server จากบัญชี RDP อีกครั้ง และตรวจสอบว่ายังได้ error ID 4105 หรือไม่ หากข้อผิดพลาดยังคงอยู่ ให้ดำเนินต่อไปที่ Step-3

ขั้นตอนที่ 3: ใช้สิทธิ์ 'Read/Write Terminal Server License Servers' ให้กับบัญชี RDP

เหตุผลสุดท้ายของ Event ID 4105 บน RDSHs คือ ผู้ใช้ RDP ไม่มีสิทธิ์ที่เหมาะสมบนกลุ่ม 'Terminal Server License Servers'

ปัญหานี้มักเกิดขึ้นหลังจากที่คุณอัปเกรด AD domain จาก Windows Server 2000/2003 เป็น Server 2008, Server 2012 หรือ Server 2016 และผู้ใช้ RDP ถูกสร้างใน Windows Server 2000/2003 AD ในสถานการณ์นี้ คุณจะได้ error ID 4105 บน RDSH server เพราะ ใน Windows Server 2008/2012/2016 AD schema ผู้ใช้ RDP ต้องมีสิทธิ์เพิ่มเติมต่อ RDS/TS Licensing Servers ที่ไม่มีใน Windows Server 2003 AD schema

ดังนั้น ให้เพิ่มสิทธิ์ "Read Terminal Sever license server" & "Write Terminal Sever license server" ให้ Remote Desktop Users ใน AD Domain Controller วิธีการมีดังนี้:

1. เปิด Active Directory Users and Computers
2. จากเมนู View เลือก Advanced features

แก้ไข Event ID 4105: Remote Desktop License Server ไม่สามารถอัปเดตแอตทริบิวต์ผู้ใช้ใน Active Directory

3. คลิกขวาที่บัญชีผู้ใช้ RDP ที่คุณได้ Error ID 4105 บน RDSH server และคลิก Properties *

* หมายเหตุ: คุณสามารถใช้ขั้นตอนเหล่านี้กับบัญชีผู้ใช้เดียว หรือ OU (หรือแม้แต่โดเมน) ก็ได้

แก้ไข Event ID 4105: Remote Desktop License Server ไม่สามารถอัปเดตแอตทริบิวต์ผู้ใช้ใน Active Directory

4. เลือกแท็บ Security:

a. ภายใต้ 'Groups or user names' ไฮไลท์กลุ่ม Terminal Server Licensing Servers

b. ภายใต้ 'Permissions for terminal Server License Servers' เลือกช่องเลือกต่อไปนี้:

          1. Read Terminal Sever license server
          2. Write Terminal Sever license server

c. คลิก Apply และ OK

แก้ไข Event ID 4105: Remote Desktop License Server ไม่สามารถอัปเดตแอตทริบิวต์ผู้ใช้ใน Active Directory

5. ตอนนี้ลองเชื่อมต่อกับ RDSH server ข้อผิดพลาด ID 4105 ควรหายไป! *

* หมายเหตุ: หาก license server ติดตั้งบน domain controller คุณต้อง restart คอมพิวเตอร์ domain controller

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