Today I was stuck on an open tse session on Windows 2003. I wasn’t able to terminate the session “normally”, with “Start > close session”.
Nevertheless, the command promt worked so closed the terminal services session with this set of commands:
Aujourd’hui j’étais coincé sur une session tse Windows 2003. Je ne pouvais pas fermé la session “normalement” avec “Démarrer > Fermer la session”.
Cependant, l’invite de commandes fonctionnait, j’ai donc pu fermer la session avec les commandes suivantes :
List connected session:
Lister les sessions connectées :
Locally:
En local :
C:\qwinsta
Remotely:
A distance :
C:\qwinsta /server:10.10.10.10
C:\qwinsta SESSIONNAME USERNAME ID STATE TYPE DEVICE >rdp-tcp#21 admin.ultips 0 Active rdpwd rdp-tcp 65536 Listen rdpwd console 3 Conn wdcon Administrator 1 Disc rdpwd operator 2 Active rdpwd
Kill the tse session with ID 2:
Pour tuer la session tse d’ID 2 :
Locally:
En local :
C:\reset session 2
Remotely:
A distance :
C:\rwinsta /server:10.10.10.10 2
Why did you use “rwinsta” remotely whereas “reset” has a option /server 🙂
Detail :
RESET SESSION {NomSession | IDsession} [/SERVER:NomServeur] [/V]
I didn’t knew the server option, thanks for the tip !