4.11.25. Terminal Server service

The Terminal Server service runs two RPC services, available on the following endpoints:

Y:\>ifids -p ncalrpc -e IcaApi serveur
Interfaces: 2
  2f59a331-bf7d-48cb-9e5c-7c090d76e8b8 v1.0
  5ca4a760-ebb1-11cf-8611-00a0245420ed v1.0

Y:\>ifids -p ncalrpc -e LcRpc serveur
Interfaces: 2
  2f59a331-bf7d-48cb-9e5c-7c090d76e8b8 v1.0
  5ca4a760-ebb1-11cf-8611-00a0245420ed v1.0

Y:\>ifids -p ncacn_np -e \pipe\Ctx_Winstation_API_Service \\.
Interfaces: 2
  2f59a331-bf7d-48cb-9e5c-7c090d76e8b8 v1.0
  5ca4a760-ebb1-11cf-8611-00a0245420ed v1.0

The following interface is used for Terminal Services licensing:

Table 4.102. lcrpc operations

InterfaceOperation numberOperation name
2f59a331-bf7d-48cb-9ec5-7c090d76e8b8 v1.0  
 0x00RpcLicensingOpenServer
 0x01RpcLicensingCloseServer
 0x02RpcLicensingLoadPolicy
 0x03RpcLicensingUnloadPolicy
 0x04RpcLicensingSetPolicy
 0x05RpcLicensingGetAvailablePolicyIds
 0x06RpcLicensingGetPolicy
 0x07RpcLicensingGetPolicyInformation
 0x08RpcLicensingDeactivateCurrentPolicy

The following interface is used for Terminal Services remote management:

Table 4.103. winstation_rpc operations

InterfaceOperation numberOperation name
5ca4a760-ebb1-11cf-8611-00a0245420ed v1.0  
 0x00RpcWinStationOpenServer
 0x01RpcWinStationCloseServer
 0x02RpcIcaServerPing
 0x03RpcWinStationEnumerate
 0x04RpcWinStationRename
 0x05RpcWinStationQueryInformation
 0x06RpcWinStationSetInformation
 0x07RpcWinStationSendMessage
 0x08RpcLogonIdFromWinStationName
 0x09RpcWinStationNameFromLogonId
 0x0aRpcWinStationConnect
 0x0bRpcWinStationVirtualOpen
 0x0cRpcWinStationBeepOpen
 0x0dRpcWinStationDisconnect
 0x0eRpcWinStationReset
 0x0fRpcWinStationShutdownSystem
 0x10RpcWinStationWaitSystemEvent
 0x11RpcWinStationShadow
 0x12RpcWinStationShadowTargetSetup
 0x13RpcWinStationShadowTarget
 0x14RpcWinStationGenerateLicense
 0x15RpcWinStationInstallLicense
 0x16RpcWinStationEnumerateLicenses
 0x17RpcWinStationActivateLicense
 0x18RpcWinStationRemoveLicense
 0x19RpcWinStationQueryLicense
 0x1aRpcWinStationSetPoolCount
 0x1bRpcWinStationQueryUpdateRequired
 0x1cRpcWinStationCallback
 0x1dRpcWinStationGetApplicationInfo
 0x1eRpcWinStationReadRegistry
 0x1fRpcWinStationWaitForConnect
 0x20RpcWinStationNotifyLogon
 0x21RpcWinStationNotifyLogoff
 0x22RpcWinStationEnumerateProcesses
 0x23RpcWinStationAnnoyancePopup
 0x24RpcWinStationEnumerateProcesses
 0x25RpcWinStationTerminateProcess
 0x26RpcServerNWLogonSetAdmin
 0x27RpcServerNWLogonQueryAdmin
 0x28RpcWinStationNtsdDebug
 0x29RpcWinStationBreakPoint
 0x2aRpcWinStationCheckForApplicationName
 0x2bRpcWinStationGetAllProcesses
 0x2cRpcWinStationGetProcessSid
 0x2dRpcWinStationGetTermSrvCountersValue
 0x2eRpcWinStationReInitializeSecurity
 0x2fRpcWinStationBroadcastSystemMessage
 0x30RpcWinStationSendWindowMessage
 0x31RpcWinStationNotifyNewSession
 0x32RpcServerGetInternetConnectorStatus
 0x33RpcServerSetInternetConnectorStatus
 0x34RpcServerQueryInetConnectorInformation
 0x35RpcWinStationGetLanAdapterName
> Windows XP and Windows Server 20030x36RpcWinStationUpdateUserConfig
-0x37RpcWinStationQueryLogonCredentials
-0x38RpcWinStationRegisterConsoleNotification
-0x39RpcWinStationUnRegisterConsoleNotification
-0x3aRpcWinStationUpdateSettings
-0x3bRpcWinStationShadowStop
-0x3cRpcWinStationCloseServerEx
-0x3dRpcWinStationIsHelpAssistantSession
-0x3eRpcWinStationGetMachinePolicy
-0x3fRpcWinStationUpdateClientCachedCredentials
-0x40RpcWinStationFUSCanRemoteUserDisconnect
-0x41RpcWinStationCheckLoopBack
-0x42RpcConnectCallback
-0x43RpcWinStationNotifyDisconnectPipe
-0x44RpcWinStationSessionInitialized
-0x45RpcRemoteAssistancePrepareSystemRestore
-0x46RpcWinStationGetAllProcesses_NT6
-0x47RpcWinStationRegisterNotificationEvent
-0x48RpcWinStationUnRegisterNotificationEvent
-0x49RpcWinStationAutoReconnect
-0x4aRpcWinStationCheckAccess
-0x4bRpcWinStationOpenSessionDirectory