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
246 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
My Webpage Doesn't Display Open Sans Font in iOS 10 676
Google Fonts Logo Design 2 119
How to calculate Line-Height in CSS 6 238
Get process CPU use Win2000 server in visual basic 12 141
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…
An article on effective troubleshooting
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

770 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