release session
How to regularly to relase a session or all session which are connected to a windows server??
Many Thanks!!!
December 21st, 2010 8:29pm
What are you trying to accomplish?
You need to provide more information.
You can control RDP seasons using GPO.
Here is an example of configuring set time limit for disconnected sessions:
1.
Open group Policy Editor
2.
Select Administrative Templates > Windows Components > Terminal Services > Sessions.
3.
Right-click on Set time limit for disconnected sessions.
4.
Select Properties.
5.
Check Enable and select time you want under End a disconnected session
Santhosh Sivarajan | MCTS, MCSE (W2K3/W2K/NT4), MCSA (W2K3/W2K/MSG), CCNA, Network+ Houston, TX
Blogs - http://blogs.sivarajan.com/
Articles - http://www.sivarajan.com/publications.html
Twitter: @santhosh_sivara - http://twitter.com/santhosh_sivara
This posting is provided AS IS with no warranties, and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
December 21st, 2010 10:11pm
Hello Man Ng,
Please refer to the following articles:
Howto: Remotely disconnect a Terminal Services Session
http://thebackroomtech.com/2008/04/09/howto-remotely-disconnect-a-terminal-services-session/
Disconnect a User
http://technet.microsoft.com/en-us/library/cc725598.aspx
HOW TO: Disconnect a Session by Using the TSDISCON Command in Windows 2000 Terminal Services
http://support.microsoft.com/kb/321705
Brent
Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
December 21st, 2010 10:17pm
To resolve this issue:
1. Log on to the Terminal Services-based server locally.
2. Click Start , point to Programs , point to Administrative Tools , and then click Terminal Services Manager .
3. Click the appropriate Terminal Services-based server. Note the Users Tab in the right pane.
4. If there are two remote sessions, right-click one of the users with a Remote Desktop Protocol (RDP) session, and then click Logoff . (A reset also accomplishes this
goal, but does not save profile changes.)
If you cannot gain access to the console on the Terminal Services-based server, you may have to ask someone to log off. If there are disconnected sessions, you can log on
to those sessions.
If you cannot access the local console, you can run the Terminal Services Administration tool from another computer. Using an Administrator account in the domain, click Start
, click Run , type \\ terminalservername \c$ , and then click OK . Open the Winnt\System32 folder, and then double-click Tsadmin.exe . In Terminal Services Administrator, click your server, and then click the Sessions tab. Right-click the disconnected session,
and then click Reset .
NOTE : All data not saved in this session will be lost.
Free Windows Admin Tool Kit Click here and download it now
December 22nd, 2010 1:55am
Backing santosh question, why do you want to do this , there are implications if you turn off the sessions , you should take care of
a) applications running
b) active data being transferred
c) users data
etc..
December 22nd, 2010 2:17am
Thank you! My problem has been solved by command
net session /detete /y
Free Windows Admin Tool Kit Click here and download it now
December 23rd, 2010 9:35pm
Hi,
I am glad to hear that the information was helpful to you.
Hope you will enjoy our TechNet Forum.
Many thanksPlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
January 7th, 2011 1:50am