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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

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…
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

695 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