TSDISCON.exe – Windows CMD Command
Disconnect a Remote Desktop Session.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Syntax tsdiscon [SessionID | SessionName] [/server:ServerName] [/v] Key SessionId The ID of the session to disconnect. SessionName The name of the session to disconnect. ServerName The terminal server containING the session to disconnect. Default=the current RD Session Host server. /v Display verbose information. /? Display help at the command prompt. |
You must have Full Control permission or Disconnect special access permission to disconnect another user from a session.
If no session ID or session name is specified, tsdiscon disconnects the current session. Any applications that were running when you disconnected the session are automatically running when you reconnect to that session with no loss of data.
Use reset session to end the running applications of the disconnected session, but be aware that this might result in loss of data at the session. The /server parameter is required only if you use tsdiscon from a remote server. The console session cannot be disconnected.
Examples
Disconnect the current session:
1 |
C:\> tsdiscon |
Disconnect session 10:
1 |
C:\> tsdiscon 10 |
Disconnect the session named TERM64:
1 |
C:\> tsdiscon TERM64 |
F*ckin’ remarkable things here. I’m very glad to see your article. Thanks a lot and i am looking forward to contact you. Will you please drop me a e-mail?
I like this site its a master peace ! Glad I observed this on google .
Its like you read my mind! You seem to know a lot about
this, like you wrote the book in it or something.
I think that you could do with some pics to drive the message home a bit, but other than that, this is wonderful blog.
An excellent read. I will certainly be back.
I am in fact thankful to the owner of this web site who has shared this enormous article at at this time.
very good post, i love it
Good way of telling, and good article to obtain information regarding
my presentation topic, which i am going to deliver in institution of
higher education.
It¦s really a nice and helpful piece of info. I am satisfied that you just shared this helpful information with us. Please stay us up to date like this. Thanks for sharing.
Well I definitely liked reading it. This article procured by you is very useful for good planning.
Generally I don’t read article on blogs, but I would like to say that this write-up very pressured me to check out and do so! Your writing style has been amazed me. Thank you, quite great post.