StefanoB

aka // Sp1dEr @ www.SysAdmin.it // "random notes from an Italian IT professional"
posts - 108, comments - 187, trackbacks - 2

My Links

News


Ecco le mie statistiche!
Aggiungi il Blog a: Add to Technorati Favorites
TechNet Bookmarks
Il contenuto di questo blog e di ciascun post viene fornito “così come é”, senza garanzie, e non conferisce alcun diritto.

QR Code


Tag Cloud

Archives

Post Categories

Image Galleries

Anti-Virus/Anti-Spyware On Line

Blogs Amici

Informazioni di Servizio

Microsoft

Sociale

SysAdmin.it

Resettare le connessione Terminal Services

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:

Print | posted on Monday, January 22, 2007 4:36 PM | Filed Under [ Terminal Services & Remote Desktop ]

Feedback

Gravatar

# re: Resettare le connessione Terminal Services

Hai fatto prima di me , volevo pubblicarla io sul mio blog ...ti stai vantando di una cosa che non hai trovato tu !.-)

Ringrazia almeno pubblicamente Vupi sul tuo Blog!

Bye!
1/22/2007 6:27 PM | Gianluca
Gravatar

# re: Resettare le connessione Terminal Services

se sei cieco non è colpa mia!
ho scritto chiaramente: "Special Thanks Vupi Win"... :-)
1/23/2007 10:19 AM | sp1der
Gravatar

# re: Resettare le connessione Terminal Services

grande ragazzi, info utilissime.
P.S. e non litigate.
12/18/2008 10:03 AM | io

Post Comment

Title  
Name  
Email
Url
Comment   
Please add 3 and 5 and type the answer here:

Powered by:
Powered By Subtext Powered By ASP.NET