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
245 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
  • 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

[Webinar] Disaster Recovery and Cloud Management

Learn from Unigma and CloudBerry industry veterans which providers are best for certain use cases and how to lower cloud costs, how to grow your Managed Services practice in IaaS clouds, and how to utilize public cloud for Disaster Recovery

Question has a verified solution.

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

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…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
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…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

895 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now