Solved

Is it possible to setup Terminal Services Manager between 2 servers not in a domain to close already disconnected sessions?

Posted on 2006-11-23
3
248 Views
Last Modified: 2013-12-03
Hi,
I have 2 servers setup in a remote location, they are not part of a domain. They are administered using Terminal Services remote administration. However, one has both sessions locked so I now can't get onto the server desktop. I want to be able to setup some sort of trust between the 2 servers so that I can close any disconnected sessions from the other PC in the remote location. Is this possible (if so, how) or should I look to see if there is a way to close disconnected sessions after a set time?

Thanks!
0
Comment
Question by:callumb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 43

Accepted Solution

by:
Steve Knight earned 500 total points
ID: 18002364
If they are Windows 2003 you might be able to rdp and use the /console switch, i.e.

mstsc /v:servername /console

Otherwise you can connect to the other box with

net use \\servername\ipc$ /user:username password
RESET SESSION n /SERVER:servername

where n is 1 or 2 -- haven't tried that last command myself though you may find authenticating using net use then allows you to use Terminal Services manager as normal

You might also want to set some timeouts on the idle sessions etc:

Administrative Tools and open Terminal Services Configuration.
Click Connections, then right-click RDP-Tcp in the right-hand pane and select Properties, to the Sessions tab.
Tick Override user settings and change the setting of End a disconnected session to 5 minutes or whatever
OK and close out
You can also adjust settings for idle sessions so they clear too after a period of time, an hour may be appropriate for instance.

hth

Steve
0
 
LVL 1

Author Comment

by:callumb
ID: 18004008
Hi,

Many thanks. I needed to do a little hunting around as the session name 'n' bein '1' or '2' was not being accepted. Found that using the command

QUERY SESSION /SERVER:servername

gave me the session names that I could then use in

RESET SESSION n /SERVER:servername

Thanks again - saved me a long journey!
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 18004539
thanks.  didn't get a chance to try it myself but guess it works as per the docs then...

Steve
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Locking down a taskpad 1 178
Delphi 2010 Export to pdf 2 418
Source of man or women figure in Text Box 7 113
OPINIONS please : best Active Directory Monitoring tool 5 182
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question