Module win32ts
Interface to the Terminal Services Api All functions in this module accept keyword arguments
Methods
- WTSOpenServer
- Opens a handle to a terminal server
- WTSCloseServer
- Closes a terminal server handle
- WTSQueryUserConfig
- Returns user configuration
- WTSSetUserConfig
- Changes user configuration
- WTSEnumerateServers
- Lists terminal servers in a domain
- WTSEnumerateSessions
- Lists sessions on a server
- WTSLogoffSession
- Logs off a user logged in through Terminal Services
- WTSDisconnectSession
- Disconnects a session without logging it off
- WTSQuerySessionInformation
- Retrieve information about a session
- WTSEnumerateProcesses
- Lists processes on a terminal server
- WTSQueryUserToken
- Retrieves the access token for a session
- WTSShutdownSystem
- Issues a shutdown request to a terminal server
- WTSTerminateProcess
- Kills a process on a terminal server
- ProcessIdToSessionId
- Finds the session under which a process is running
- WTSGetActiveConsoleSessionId
- Returns the id of the console session
- WTSRegisterSessionNotification
- Registers a window to receive terminal service notifications
- WTSUnRegisterSessionNotification
- Disables terminal service window messages
- WTSWaitSystemEvent
- Waits for an event to occur
- WTSSendMessage
- Sends a popup message to a terminal services session