forums Home Forums Start Page Forums Frequently Asked Questions FAQ Member List Members List
Go Back   Petri IT Knowledgebase Forums > Server Operating Systems > Windows Server 2008 / 2008 R2 is happy to award RicklesP the title of Most Valuable Member !!!
Register Calendar Calendar Search Petri IT Knowledgebase Forums Search Todays Posts Today's Posts Mark Forums Read

How to kill a remote login session in Windows server 2008?

How to kill a remote login session in Windows server 2008?

this thread has 0 replies and has been viewed 49372 times

Closed Thread
Thread Tools Search this Thread Display Modes
Old 2nd August 2010, 06:14
fkanku fkanku is offline
 Join Date: Jun 2009
  6 month star 12 month star
 Posts: 2
 Reputation: fkanku is on a distinguished road (10)
Smile How to kill a remote login session in Windows server 2008?

From the server, do this – When your reach Max connection for RDP
C:>query session [Enter]
It will display all connected users see example below when this command is run:
services-----------------------------------0----- Disc
>console----------------------- fani-----1------ Active
rdp-tcp---------------------- -------65536-------Listen
The result above shows that "fani" has session ID# 1, to kill this session run this command:
C:>reset session 1 [Enter]
To kill a session form a remote server or workstation you must specify the target server see example below. Fani is currently logged on to “fk-apps-01,we first run this command:

C:\>query session /server:fk-apps-01, here is the query result:
services---------------------------------- 0------- Disc
console----------------------------------- 1-------Conn
rdp-tcp 65536 Listen
From the query result we can see that fani has a session ID#2, to kill this session issue the command below:
C:\>reset session 2 /server:fk-apps-01
If you want to see additional information you can run the command above with [/v], see example below:

C:\>reset session 2 /server:fk-apps-01 /v
Resetting session ID 2
Session ID 2 has been reset

Fani T. Kanku
Sr. Systems Engineer
MCSE(NT4.0, 2k+2k3); MCSA(2k3); MCTS;MCITP,CCNA; CCA
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
2008 Terminal Services session broker - Have to login twice... RichParkie Windows Server 2008 / 2008 R2 10 26th August 2009 16:51
TS 2008 session broker server avipenina Terminal Services 4 26th November 2008 22:20
Remote Debugging with Windows Server 2008 itayshwartz Windows Server 2008 / 2008 R2 3 27th November 2007 01:22
Server 2003 Remote Desktop Console Session - Resolution? NurseCallSystemAnalyst Windows Server 2000 / 2003 / 2003 R2 7 26th September 2007 01:11
How to enable Remote Desktop on Windows 2008 Server Core yuval14 Terminal Services 1 19th August 2007 23:02

All times are GMT +3. The time now is 22:21.

Steel Blue 3.5.4 vBulletin Style ©2006 vBEnhanced
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

Valid XHTML 1.0!   Valid CSS!

Copyright 2005 Daniel Petri