Solved

Terminal Server Lockout

Posted on 2004-08-14
11
202 Views
Last Modified: 2010-04-13
I have a web server colocated at an ISP

I connect to this box using terminal services. I just got locked out as the administrator connection got dropped (disconnected). Its a bug in win2k that it doesn't reconnect to the same session. Anyone know a way or any tools that will let me get back into it ?

Its not on a domain, its a standalone win2k server.

thanks this is urgent
0
Comment
Question by:plq
[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
  • 5
  • 4
  • 2
11 Comments
 
LVL 16

Expert Comment

by:JamesDS
ID: 11801392
plq

You could try using the Terminal Services Manager supplied with the ADMINPAK, but that will require ports other than 3389 open, so probably won't work.

If your server is not set to logoff disconnected sessions, then the only thing you can do is call them and request a reboot.

Cheers

JamesDS
0
 
LVL 11

Expert Comment

by:NetoMeter Screencasts
ID: 11802481
Hi!
What message do you get when you try to establish a terminal session?

NetoMeter
<removed by cs>
0
 
LVL 8

Author Comment

by:plq
ID: 11803192
netometer: Thanks, theres Two msgboxes:

"The terminal server has exceeded the maximum number of allowed connections"
and
"The system can not log you on
The system has reached its licensed logon limit
Please try again later

Please try again or consult your system administrator"

James: thanks, I've got a win2003 here somewhere so I'll see if its on that and give it a go.
0
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 8

Author Comment

by:plq
ID: 11803375
I've now tried win2003 terminal services manager, it seems to only work on the lan, not on the internet.

The box is not firewalled.
0
 
LVL 16

Accepted Solution

by:
JamesDS earned 250 total points
ID: 11804083
plq
Looks like you're stuck and will have to request a reboot.
You can try the shutdown command (SHUTDOWN -i) and use the IP of your box, but I bet that needs the same access as the terminal service manager. If you have no firewalling then the TS manager would probably have worked.

Cheers

JamesDS
0
 
LVL 11

Assisted Solution

by:NetoMeter Screencasts
NetoMeter Screencasts earned 250 total points
ID: 11804969
Hi!
Can you try this command:

RESET SESSION sessionid /SERVER:servername

Replace sessionid with "1" and "2" and servername with the IP of your server.

NetoMeter
0
 
LVL 8

Author Comment

by:plq
ID: 11805233
Thanks chaps

shutdown came back with "the network path was not found". I used shutdown -f -r -m IP and also shutdown -i

There doesn't seem to be a password option so not much chance given that my local network is unrelated to the standalone server in terms of domain etc.

reset session also errors. Again there doesn't seem to be any way to get yer credentials in place first, so its going to fail on authentication

It gives "Error opening Terminal Server xxx.xxx.xxx.xxx"


0
 
LVL 16

Assisted Solution

by:JamesDS
JamesDS earned 250 total points
ID: 11807239
plq
To make an authenticated connection to a remote server use this command:
NET USE \\servernameORip\IPC$ * /user:servernameORip\username

and enter the password at the prompt
This will allow you to run these commands against that server while properly authenticated.

Nevertheless, you cannot solve this remotely methinks, so you will still have to request a reboot.

Cheers

JamesDS
0
 
LVL 8

Author Comment

by:plq
ID: 11807496
Thanks James, It said "the network path was not found". Maybe the firewall at this end doesn't help.

I can get a reboot in one hour anyway, so thanks for your help.
0
 
LVL 8

Author Comment

by:plq
ID: 11808564
Thanks chaps. Its been rebooted.

Well it shows the box is well secured anyway I s'pose.

Its good to know about the shutdown, net use ipc$ and reset session commands for future ref

0
 
LVL 16

Expert Comment

by:JamesDS
ID: 11808877
plq
Welcome, glad to help

Cheers

JamesDS
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

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…
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

726 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