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
244 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
Comment Utility
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
Comment Utility
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
Comment Utility
thanks.  didn't get a chance to try it myself but guess it works as per the docs then...

Steve
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Adprep 12 44
Need help finding Font 2 156
Embed Fonts in MS Word 3 257
I need to add fonts to my PC 6 69
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…
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

743 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

12 Experts available now in Live!

Get 1:1 Help Now