Mark Minasi's Reader Forum
Mark Minasi's Reader Forum
Home | Profile | Register | Active Topics | Active Polls | Members | Search | FAQ | Minasi Forum RSS Feed
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General Forum
 Tips and Tricks
 Cmd Line to show RDP sessions and how to kill one:
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

philrobeson
Here To Stay

USA
256 Posts
Status: offline

Posted - 06/09/2011 :  11:15:55 AM  Show Profile  Reply with Quote
Scenario: You need to discover who is logged into a server. Open a cmd prompt and type the following then hit enter and you will see the response below the command:

C:\Users\probeson>qwinsta /server:fljaxaddc01d
SESSIONNAME USERNAME ID STATE TYPE DEVIC
services 0 Disc
console 1 Conn
rdp-tcp#0 probeson 2 Active rdpwd
rdp-tcp 65536 Listen

To kill the connection by probeson, use the below command with his session ID:

C:\Users\probeson>rwinsta /server:fljaxaddc01d 2

Phil Robeson
MIS/M

wobble_wobble
Honorable But Hopeless Addict

Ireland
4517 Posts
Status: offline

Posted - 06/09/2011 :  12:12:59 PM  Show Profile  Visit wobble_wobble's Homepage  Look at the Skype address for wobble_wobble  Reply with Quote
Nice, nice and nice to all three.

Joe

After everything that has happened during the month of Jan 07, I do believe that pigs fly backwards!

http://whatismyv6.com/
Go to Top of Page

chamezzzz
Honorable But Hopeless Addict

United Kingdom
2297 Posts
Status: offline

Posted - 06/09/2011 :  2:30:37 PM  Show Profile  Reply with Quote
Fixed Links: Thanks Joe

Yeh, that is great thanks for the share (ashamed to have never heard of either before today)
More Here and here

James

Edited by - chamezzzz on 06/09/2011 2:45:07 PM
Go to Top of Page

Mark Minasi
Chief cook and bottle washer

USA
10658 Posts
Status: offline

Posted - 07/08/2011 :  3:46:34 PM  Show Profile  Visit Mark Minasi's Homepage  Reply with Quote
Dunno if you guys can get to this, but...

http://www.windowsitpro.com/article/hardware/9-undocumented-terminal-server-commands

Okay, it's 12 years old...

Mark
tweetin' at mminasi
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Mark Minasi's Reader Forum © 2002-2011 Mark Minasi Go To Top Of Page
This page was generated in 0.05 seconds. Snitz Forums 2000