Ecco un utile Tips&Tricks per resettare le connessioni terminali lasciate appese... con conseguente impossibilità di loggarsi sul server sulle macchine via Terminal Services o Remote Desktop...
Aprire una shell DOS e digitare:
qwinsta /server:192.168.0.1
verrà restituito qualcosa del genere:
| SESSIONNAME |
USERNAME |
ID |
STATE |
TYPE |
| console |
|
0 |
Conn |
wdcon |
| rdp-tcp |
|
65536 |
Listen |
rdpwd |
| rdp-tcp#8 |
Administrator |
7 |
Active |
rdpwd |
| rdp-tcp#9 |
Internet |
8 |
Active |
rdpwd |
Scegliere l'ID da "terminare", dopodichè digitare:
rwinsta /server:196.34.56.78 8
Special Thanks Vupi Win
Inoltre, questo è il comando alternativo:
TSCON [sessionid | sessionname] [/SERVER:servername] [/DEST:sessionname] [/PASSWORD:pw] [/V]sessionid The ID of the session.
sessionname The name of the session.
/SERVER:servername The name of the Terminal Server to connect to (default is current).
/DEST:sessionname Connect the session to destination sessionname.
/PASSWORD:pw Password of user owning identified session.
/v Displays information about the actions performed.
Example: tscon 3 /server:cprsrv02 /dest:rdp-tcp#3 /password:* /v
TSDISCON [sessionid | sessionname] [/SERVER:servername] [/V]
sessionid The ID of the session.
sessionname The name of the session.
/SERVER:servername Specifies the Terminal Server (default is current).
/v Displays information about the actions performed.
Example: tsdiscon 3 /server:cprsrv02 /v
Technorati tags:
Terminal Services e Remote Desktop