HOW TO KICK PEOPLE OUT of Machine:

P:\>qwinsta --help
Invalid parameter(s)
Display information about Terminal Sessions.

QUERY SESSION [sessionname | username | sessionid]
              [/SERVER:servername] [/MODE] [/FLOW] [/CONNECT] [/COUNTER]

  sessionname         Identifies the session named sessionname.
  username            Identifies the session with user username.
  sessionid           Identifies the session with ID sessionid.
  /SERVER:servername  The server to be queried (default is current).
  /MODE               Display current line settings.
  /FLOW               Display current flow control settings.
  /CONNECT            Display current connect settings.
  /COUNTER            Display current Terminal Services counters information.


P:\>

 check: 

qwinsta /server:nsng6034dap 

kill: 

reset session xx /server:servername 

你可能感兴趣的:(mac)