tscon

# Use this after you see the rdp session in query user

tscon #{TARGET_SESSION_ID} /dest:#{OUR_SESSION_NAME}

tscon 12

tscon 23 /password:mypass
# To connect the session named TERM03 to the session named TERM05, and then to disconnect session TERM05, type

tscon TERM03 /v /dest:TERM05

Last updated