Link to home
Start Free TrialLog in
Avatar of DrDamnit
DrDamnitFlag for United States of America

asked on

Can't RDP Because another console session is in progress?

My SBS 2011 box is behaving badly. When I try to RDP to it, I get:
"Your computer could not connect to another console session on the remote computer ebcause you already have a console session in progress."

But I don't.

I went to the terminal services manager, and disconnected all the remote sessions (including the session for being physically at the desktop) and that didn't help.

I also rebooted both teh server and the machine I was trying to connect to it from.

No joy.

How do I fix this?
ASKER CERTIFIED SOLUTION
Avatar of Joe Jenkins
Joe Jenkins
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of David Atkin
Can you connect when using mstsc /admin?
Avatar of DrDamnit

ASKER

I have been connecting via hostname. I'll try via IP and see what happens.

I have tried /admin /console (now defunct) and every command switch i can think of. All no joy.
Holy crap. Why does it now work via IP address, but not via hostname?
This is probably due to your DNS pointing to the wrong IP or your host file is pointing to the wrong place.

Drop into a command prompt and ping the hostname.  If it is a different address than you expected, we just need to find out where the error is.

If you need help with troubleshooting the hostfile or DNS, please let me know and I'll assist further.
I had another quick minute before I run out for a bit.  

Hosts File location:
%SystemRoot%\system32\drivers\etc\hosts

it can be edited with an elevated (right click, Run as Administrator) notepad.

DNS:
Check to make sure your A record is set to the right address in reverse lookup.
DNS all points the right place, and the hosts file is in tact.
by "intact" I mean... empty. Default.
That's interesting.  

Let's call the server name "sbserver"
And let's assume the FQDN is "sbserver.company.local"
IP is 192.168.1.5

I'm going to also assume that pinging "sbserver" and "sbserver.company.local" will show it contacting 192.168.1.5.

If you were to type: nslookup sbserver does it yield something like this:
C:\nslookup sbserver
Server: sbserver.company.local (assuming it's your DNS as well)
Address: 192.168.1.5

Name: sbserver.company.local
Address: 192.168.1.5

Open in new window


If it doesn't have that, using your addresses and hostnames, we can go farther on that route.

Does pinging the FQDN vs the hostname yield a different address?  Does RDPing into the FQDN of the server allow for the connection?
Run the fix my network wizard from the SBS console. Can you confirm there are no errors?

As requested can you confirm it pings ok?

Any errors in the event logs relating to terminal services?

Might be worth doing the following on the machine you're trying to connect from:

Ipconfig /flushdns
Ipconfig /registerdns
DNS and all the other configs are all correct. For now, I don't need to fix whatever is broken because accessing via IP is fine. Everything else works.
You accepted your own solution when it was offered by an expert?

Leaving the root problem unfixed is your prerogative but you were offered troubleshooting routes in addition to your initial question as well.
Thanks for pointing this out.  I meant to accept a different set of comments. Will get it fixed.
Thanks Michael.
Avatar of OneStopGuru
OneStopGuru

Make sure that the IP address of the computer you are RDPing to is not the same  as your local machine!