Manage RDP Service on Windows servers
Disable RDP the service on the server
CLI Example:
salt '*' rdp.disable
Disconnect a session.
New in version 2016.11.0.
session_id -- The numeric Id of the session.
A boolean representing whether the disconnect succeeded.
CLI Example:
salt '*' rdp.disconnect_session session_id
salt '*' rdp.disconnect_session 99
Enable RDP the service on the server
CLI Example:
salt '*' rdp.enable
Get information about a session.
New in version 2016.11.0.
session_id -- The numeric Id of the session.
A dictionary of session information.
CLI Example:
salt '*' rdp.get_session session_id
salt '*' rdp.get_session 99
List information about the sessions.
New in version 2016.11.0.
logged_in_users_only -- If True, only return sessions with users logged in.
A list containing dictionaries of session information.
CLI Example:
salt '*' rdp.list_sessions
Initiate the logoff of a session.
New in version 2016.11.0.
session_id -- The numeric Id of the session.
A boolean representing whether the logoff succeeded.
CLI Example:
salt '*' rdp.logoff_session session_id
salt '*' rdp.logoff_session 99
Show if rdp is enabled on the server
CLI Example:
salt '*' rdp.status
Generated on October 23, 2024 at 09:02:05 UTC.
You are viewing docs for the previous stable release, 3006.9. Switch to docs for the latest stable release, 3007.1, or to a recent doc build from the master branch.
© 2024 VMware, Inc. | Privacy Policy