qwinsta
qwinsta is the command; server is a sub command calling the server; and serverIP is the IP of the server you are connecting to. An example server IP could be 17.255.10.1.
A list will display the session ID you need to create the disconnect. The ID value will be next to the "STATE" value of Active. For this article we will say that the ID number of the session is 4. This active connection is what needs to be disconnected.
# qwinsta /server serverIP
eg: qwinsta /server 172.255.10.1
eg: qwinsta /server 172.255.10.1
rwinsta
rwinsta command is essentially resetting the session, the server will now see this and disconnect the user. SessionID is the value we found in the previous step. The full command should read as follows:
# rwinsta /server serverIP sessionID
eg: rwinsta /server 172.255.10.1 4
No comments:
Post a Comment