About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.
A Windows Server that runs Remote Desktop Licensing (RD Licensing, formerly Terminal Services Licensing) logs a Warning in the System log: event ID 4105, source Microsoft-Windows-TerminalServices-Licensing. The message says the license server cannot update the license attributes for a user in the Active Directory domain, and ends with a Win32 error code. What the event concerns is the record, kept in Active Directory, of which user has been issued a Per User client access license (CAL).
What follows explains what the event means, the three causes Microsoft lists, how to prove which one applies, and the fixes Microsoft documents. Nothing before the Fix section changes anything.
What the error means
Microsoft's page shows the event like this: Log Name System, Source Microsoft-Windows-TerminalServices-Licensing, Event ID 4105, Level Warning. The description begins "The Terminal Services license server cannot update the license attributes for user" followed by the user name and the Active Directory domain name. It then tells the administrator to ensure "that the computer account for the license server is a member of Terminal Server License Servers group in Active Directory domain" and adds two further instructions. If the license server is installed on a domain controller, the Network Service account also needs to be a member of the group, and, for a license server on a domain controller, after adding the accounts the Terminal Services Licensing service has to be restarted before it can "track or report the usage of TS Per User CALs".
A second Microsoft page for the same event gives its symbolic name, TLS_W_PU_AD_UPDATE, and explains why the group matters. In Windows Server 2008 the TS Licensing Manager tool can create reports that track the Per User CALs issued by a license server. That tracking is supported only in domain-joined scenarios, because the information about the CAL issued to a user is stored as part of the user account in Active Directory Domain Services (AD DS). For the tracking to work, the computer account of the license server must be a member of the Terminal Server License Servers group.
So the event is about permissions to write to user accounts, and it matters when you issue Per User CALs. Microsoft's pages describe it for Windows Server 2008 and 2008 R2 licensing. Both Microsoft pages use the older Terminal Services names for the group, the service and the tool, so check the current pages and your own server's names for your Windows Server version.
Likely causes
Microsoft gives three reasons for the event:
| Cause | Where to look | Fix section |
|---|---|---|
| The license server is not a member of the Terminal Server License Servers group in the domain where the users are | The group's Members tab in Active Directory Users and Computers | Scenario 1 |
| The license server is a domain controller and the Network Service account is not in the group | The same Members tab, looking for Network Service | Scenario 1 |
| The users existed before the domain was upgraded to Windows Server 2003, so the group is missing from the discretionary access control list (DACL) of the user objects, or is present without permission to update the licensing information | The Security settings of an affected user object | Scenario 2 |
Microsoft gives no counts, so the order is not an order of likelihood. The first row is the one the event text itself names.
The event text carries a Win32 error code, 0x80070005 on Microsoft's example. The page does not explain it. As general knowledge, not a Microsoft statement on these pages, that number is the usual Windows code for "access denied", which agrees with a permissions cause. Do not rely on it alone: read the actual code in your own event.
Prove the cause before changing anything
All of these read only.
-
Read the event itself. In Event Viewer on the license server, open the System log and find event ID 4105. Note the user name in the description, the domain name, and the Win32 error code at the end. As our own reading, not a statement on Microsoft's pages: if only older accounts are named, the third cause fits; if every user is named, the group membership causes fit.
-
Check group membership. On a domain controller or any machine with Active Directory Users and Computers, open the Terminal Server License Servers group (by default in the Builtin container) and read its Members tab. Look for the computer account of the license server. If the license server is installed on a domain controller, look for the Network Service account too.
-
Use Microsoft's own check in TS Licensing Manager. On the license server, select the license server under All Servers, then use the Action menu and choose Review Configuration. The Configuration dialog box has an Add to Group button when the accounts are not yet members. Microsoft's note says that when Add to Group does not appear, the computer account and the Network Service account are already members and no further action is required. That tells you whether group membership is the cause without changing anything, as long as you close the dialog without pressing Add to Group.
-
If the group membership is correct, look at the accounts the event names. If they are old accounts that existed before the domain was upgraded, the third cause fits. Microsoft's page does not give a read-only test for the DACL itself. An administrator who reads the Security tab of an affected user object can see whether the Terminal Server License Servers group is listed; that is general Active Directory practice, not a step on the page.
Example (illustrative): at contoso.com.au a new license server rdlic01 is built and Per User CALs are installed. Event 4105 is logged for every user who signs in. The Members tab of Terminal Server License Servers does not list rdlic01. That matches the first cause, and Review Configuration on rdlic01 shows the Add to Group button.
Fix
Pick the section that matches the proof.
Scenario 1: add the license server to the Terminal Server License Servers group
Risk: the next step adds the license server's computer account (and, on a domain controller, the Network Service account) to a built-in domain group. Members of the Terminal Server License Servers group can update the licensing attributes of user accounts, so add only the license server you intend to.
Before you change the group, open its Members tab and record the current members. The page gives no command for that, so it is general advice, and the record is what lets you reverse the change exactly.
In Active Directory Users and Computers, open the Terminal Server License Servers group, choose the Members tab and click Add. Click Object Types, select the Computers check box, and click OK. Type the name of the license server and click OK twice. If the license server is on a domain controller, add the Network Service account as well. Alternatively, in TS Licensing Manager use Review Configuration and click Add to Group, then Continue and OK.
To undo it: open the same Members tab, select the account you added and remove it, which returns the group to the list you recorded.
Microsoft then says to restart the Terminal Services Licensing service so tracking and reporting work.
Disruptive step: the next step restarts the Terminal Services Licensing service on the license server. As general advice, not a statement on Microsoft's page, a service that is restarting is not answering requests, so choose a quiet time and do it once, after all accounts are added.
In the Services snap-in on the license server, right-click Terminal Services Licensing and click Restart, then confirm that the Status column shows Started.
To undo it: a restart cannot be reversed. If the service shows anything other than Started afterwards, start it again from the same Services snap-in.
Scenario 2: give the group permission on the user objects
Risk: the next step grants the Terminal Server License Servers group read and write permission on licensing attributes of user objects. The container form of the command, which uses the /I:S switch, is meant for an OU rather than a single user object, so it covers the user objects below it (general Active Directory behaviour, not stated on the page). Test on one user object first, then widen.
This is for users who existed before the domain upgrade. Microsoft says the Windows Server 2003 license server updates only the terminalServer attribute, and newer license servers try to update more attributes; the Windows Server 2008 schema update defines a property set that grants permissions to all attributes required. Microsoft adds that, depending on the interface language, account names and property set names might differ.
Before changing permissions, record the current Security settings of the user object or organisational unit (OU) you will change, for example with a screenshot of the Advanced security settings, or by saving the output of dsacls on the object, because the grant is a property permission that the main Security tab does not show. The page gives no command for this, so it is general advice.
Microsoft offers two ways. With dsacls.exe, the command for a single user object on a Windows Server 2008 and newer schema is shown on the page as follows, with your own distinguished name in place of the placeholders:
dsacls "CN=<user>,OU=<OU>,DC=<domain>,DC=<suffix>" /G "BUILTIN\Terminal Server License Servers:WPRP;Terminal Server License Server"
For a container, Microsoft's page uses /I:S and adds ;user at the end of the permission string:
dsacls "OU=<OU>,DC=<domain>,DC=<suffix>" /I:S /G "BUILTIN\Terminal Server License Servers:WPRP;Terminal Server License Server;user"
For a Windows Server 2003 level schema, the same page uses the property terminalServer in place of Terminal Server License Server. The page does not say how to check which schema level a domain has, so confirm that before choosing.
The second method is the Delegate Control Wizard. Right-click the domain in Active Directory Users and Computers and choose Delegate Control. Add Terminal Server License Servers, choose Create a custom task to delegate, choose Only the following objects in the folder and then User objects, and in the Permissions dialog box select only the General check box and then Read and Write Terminal Server license server. Finish the wizard.
To undo it: Microsoft's page gives no command that removes the grant. Use the Security settings you recorded beforehand and, on the same object or OU, delete the Terminal Server License Servers entry if it was absent before, or set it back to the permissions you recorded if it was already listed.
Confirm the fix
- In TS Licensing Manager, All Servers shows OK in the Configuration column for the license server, and Review Configuration shows no error or warning about Per User CAL tracking and reporting. This is Microsoft's own check.
- Create a Per User CAL usage report: select the license server, on the Action menu point to Create Report and click Per User CAL Usage, choose a scope and click Create Report, then open the saved report and check that it contains the expected information.
- Event 4105 stops appearing for new sign-ins. Allow for users who connect only occasionally.
What to watch afterwards
- A rebuilt or newly added license server. Each one needs its own entry in the group.
- A license server moved onto a domain controller. The Network Service account then needs membership too.
- Older accounts migrated from before a domain upgrade, which Microsoft names as the third cause.
- Whether you use Per User CALs at all. Microsoft's pages tie the event to Per User CAL tracking and reporting.
Read next
Related articles you may want next.
- HostingRemote Desktop Licensing Errors: Grace Period and CAL ModeWhy RDS users see 'no Remote Desktop License Servers available' or a mode warning, and how to check licence server, mode and CAL version read-only.Read article
- HostingPer-user or per-device RDS CALs: first establish who licenses the serviceChoose an RDS CAL model for a customer-licensed deployment, while separating provider-supplied hosting, Active Directory requirements and licence-server compatibility.Read article
- HostingFull remote desktop or RemoteApp: choose from the business workflowHow to choose a full remote desktop or published RemoteApp from application integration, files and peripherals, while keeping shared-host permissions separate from presentation.Read article
Risks and limits
These steps have not been run or lab-tested.
Microsoft's pages are written for Windows Server 2008 and 2008 R2 and use the old Terminal Services names. They do not state a range for later versions, so check the current pages and your own group and service names before acting. The Win32 error 0x80070005 is explained here only as general knowledge. The dsacls commands are shown with placeholders; Microsoft's own page shows the distinguished name as a run of XXXX. Granting permission on a container affects every user below it, and the page gives no removal command, which is why the recorded Security settings matter. If Microsoft support is needed, the page points to its TSS data collection tool for User Experience issues.
Sources
- Event ID 4105: The Terminal Services license server cannot update the license attributes for user <UserName> in Active Directory Domain <DomainName> — Microsoft Learn, page dated 2026-02-12, accessed 2 December 2026
- Event ID 4105 — Terminal Services Per User Client Access License Tracking and Reporting — Microsoft Learn, page dated 2012-01-13, accessed 2 December 2026
This article was originally published on .