Ending the remote desktop session

Last Updated : Jul 13, 2022 |
Prolog information
Use this procedure to end the remote desktop session.
  1. To get the session number, run the remoteDesktopSession -list command.
  2. To end the session, run one of the following commands:
    • Run remoteDesktopSession -kill on the session you started.
    • Run remoteDesktopSession -kill <remoteDesktopSession number> to end a specific session.