Patent ID: 8326993

Claim:
A method comprising: detecting, by a connection manager, an incoming connection from a client to establish a requested terminal services session, the incoming connection requesting one of a plurality of session types for the requested session, the plurality of session types comprising: a rich terminal services session allowing the client to access a majority of available functions; and a limited terminal services session allowing the client to access a minority of available functions; communicating the incoming connection to a session manager to establish a new terminal services session corresponding to the requested terminal services session; initializing a terminal services enforcement component, the enforcement component comprising an enforcement core enumerating a plurality of local sessions, the local sessions each having a permitted terminal services configuration according to a licensing policy and a corresponding session configuration according to a corresponding terminal services (TS) license and consistent with the permitted terminal services configuration, the corresponding session configuration related at least in part to the requested session type, wherein the licensing policy and TS license are created by the enforcement core; binding the client to the new terminal services session according to agreed conditions between the client and the corresponding TS license communicated to the connection manager via the session manager; establishing the new terminal services session having a session configuration consistent with the corresponding TS license, wherein the session manager associates the corresponding TS license to the new session and the enforcement component changes the state of the TS license to reflect the association; and monitoring whether the session configuration of the new terminal services session remains consistent with the session configuration of the corresponding TS license.