Event ID 4117 — Terminal Services License Server Availability
Applies To: Windows Server 2008 R2
The Terminal Services license server relies on the Terminal Services Licensing service to be running in order to install, issue, and track the availability of Terminal Services client access licenses (TS CALs).
Event Details
Product: | Windows Operating System |
ID: | 4117 |
Source: | Microsoft-Windows-TerminalServices-Licensing |
Version: | 6.1 |
Symbolic Name: | TLS_E_ALLOCATE_MEMORY |
Message: | TS Licensing is unable to allocate the required system memory to perform the operation. |
Resolve
Increase available memory
To resolve this issue, increase the amount of available memory on the Terminal Services license server. One way to increase the amount of available memory is to determine if there are any programs or processes running on the license server that can be closed. Use Task Manager to determine which processes are using the most memory, and to end those processes.
To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.
To free up memory on the license server:
- On the license server, right-click an empty area of the taskbar, and then click Task Manager.
- Click the Processes tab.
- Make sure that the User Name and Memory (Private Working Set) columns appear. If they do not appear, on the View menu, click Select Columns, select the User Name and the Memory (Private Working Set) check boxes, and then click OK.
- At the bottom of the tab, select the Show processes from all users check box.
- If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
- To sort the processes by memory usage, click the Memory (Private Working Set) column header.
- Determine if you can end any of the memory-intensive processes.
- To end a process, click the process name, and then click End Process.
- Click End Process to confirm that you want to end the process.
If you cannot free memory by using Task Manager, or if this issue still occurs after you try to free up memory, restart the license server. If the issue persists, you should consider adding more memory to the license server.
Verify
To verify that the Terminal Services license server is available, ensure that the Terminal Services Licensing service is running.
To perform this procedure, you must have membership in the local Administrators group, or you must have been delegated the appropriate authority.
To verify that the Terminal Services Licensing service is started:
- On the license server, open the Services snap-in. To open the Services snap-in, click Start, point to Administrative Tools, and then click Services.
- If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
- In the Services pane, locate Terminal Services Licensing.
- Confirm that the Status column for the Terminal Services Licensing service displays Started.