My Remote Desktop connection stopped working, any idea why?

Fox5

Diamond Member
Jan 31, 2005
5,957
7
81
Ok, I use remote desktop pretty frequently, so it's annoying that it's stopped working. Things that I have done recently are disabled various services on the host computer(but I believe I reenabled all of them and then some), and changed the name of the client computer. Now whenever I try to connect, I get "The remote computer has ended the connection." Anyone know what service remote desktop is so I can check if it is still running, or any other reasons it may have stopped working? The remote desktop service doesn't appear to be running, as I can't get any computer to connect to it, or even detect it over a network, however the checkbox to enable it is on.
 

Nocturnal

Lifer
Jan 8, 2002
18,927
0
76
Start > Run > services.msc

Check to see if the Remote Desktop service is set to disabled and or manual. I'm not sure if it's supposed to be set at auto but you can set it to that and see if it makes a difference.
 

Fox5

Diamond Member
Jan 31, 2005
5,957
7
81
Nope, setting them to automatic and starting them didn't make a difference.

Also, on a side note, my ad hoc network also stopped assigning IP addresses...if it even gets detected at all.
 

djdrastic

Senior member
Dec 4, 2002
441
0
0
Rdesktop is service port is 3389 tcp

Check Your Firewall Settings, Event Logs and maybe post an netstat -an if you can
 

Fox5

Diamond Member
Jan 31, 2005
5,957
7
81
Nope, the port 3389 is already listed as an exception in windows firewall. Anyway I can check event logs?
 

stash

Diamond Member
Jun 22, 2000
5,468
0
0
start, run, eventvwr

Also check in the registry: HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server. Look for fDenyTSConnections, it should be set to 0. If you have to change it, it does not require a reboot.
 

stash

Diamond Member
Jun 22, 2000
5,468
0
0
Also run 'netstat -an' to see if your computer is actually listening on TCP 3389.
 

Fox5

Diamond Member
Jan 31, 2005
5,957
7
81
The registry setting was set to 0.
Also, just did netstat -an, and it says 0.0.0.0:3389 for local address, and 0.0.0.0:0 for foreign address, but I don't recall this entry being here last time I looked, but maybe I just missed it...either way RDC still isn't working. And what am I looking for in the event logs?
 

Zap

Elite Member
Oct 13, 1999
22,377
7
81
Originally posted by: Fox5
Also, on a side note, my ad hoc network also stopped assigning IP addresses...if it even gets detected at all.

If the computers aren't on a valid IP network, then applications which depend on IP networking will not work.
 

Fox5

Diamond Member
Jan 31, 2005
5,957
7
81
Originally posted by: Zap
Originally posted by: Fox5
Also, on a side note, my ad hoc network also stopped assigning IP addresses...if it even gets detected at all.

If the computers aren't on a valid IP network, then applications which depend on IP networking will not work.

It was working fine just a few days ago though, what would have changed it?
 

grappa

Senior member
Apr 10, 2000
331
0
0
If you go to a command line (Start -> Run -> CMD (enter) ) and do an IPCONFIG, do you have an IP address that starts with 169.254.x.x? If so, your DHCP server (for home networking, often the router) isn't doling out IP addresses correctly...
 

Fox5

Diamond Member
Jan 31, 2005
5,957
7
81
Pinging it works just fine and at a very high speed, usually pings at 1ms.(btw, my ad hoc networking just randomly started assigning ip addresses again, though my remote desktop support still isn't working.)

Not sure quite if I'm using telnet right, but typing open and the ip followed by 3389 brings up "Press any key to continue..." then if I press anything it says "Connection to host lost."
 

nweaver

Diamond Member
Jan 21, 2001
6,813
1
0
I would check your config stuff, sounds like it's not network. THis is XP (I assume). I would go into the computer properties and turn it off, reboot, turn it on, check users.

 

Fox5

Diamond Member
Jan 31, 2005
5,957
7
81
No firewall besides Windows firewall, and it has remote desktop listed as an exception.
I've already tried disabling and reenabling remote desktop connection, but didn't try the reboot step inbetween, so I guess I'll try that now.
 

Fox5

Diamond Member
Jan 31, 2005
5,957
7
81
Ok, tried the disabling, rebooting, enabling, thing and it still doesn't work.
Also, if I try to connect with it disabled, rather than getting "The host ended the connection", I instead get "The client could not connect to the remote computer." For whatever reason, I guess my desktop is just closing the remote desktop connection. Can't see why though, don't think I have any new processes running in the background that would affect it.
 

djdrastic

Senior member
Dec 4, 2002
441
0
0
Is there nothing in the event log perhaps indicating some form of fault

Oh yeah on a different note , you don't perhaps have Norton/Symantec AntiVirus on your box with RDP enabled ?

 

Fox5

Diamond Member
Jan 31, 2005
5,957
7
81
Nope, I don't. There's a McAfee installed, but I have everything disabled on it, plus it's been installed for a while so I don't see why settings would change. And how would I check the event logs for windows firewall?
 

djdrastic

Senior member
Dec 4, 2002
441
0
0
Go to Start - Run - eventvwr . Look for any warnings or errors that relate to the RDP Service .

 

Fox5

Diamond Member
Jan 31, 2005
5,957
7
81
Wow, quite a few errors for different things.

There's 1 error for Remote Access, but I think it's when I tried to use this comptuer to connect to another.
"Unable to contact a DHCP server. The Automatic Private IP Address 169.254.64.128 will be assigned to dial-in clients. Clients may be unable to access resources on the network.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp."
"Unable to add the interface {A4BE35C2-01AF-4C5E-9C1D-8BF645DD53C3} with the Router Manager for the IP protocol. The following error occurred: Cannot complete this function.


For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp."

Didn't see any information at all, error or not, for something called RDP Service.
 

djdrastic

Senior member
Dec 4, 2002
441
0
0
Crap I'm out of Ideas the last thing you can maybe try is back up your existing termsrv.dll and replace it from one from your latest applied service pack or from your cd
 

Nocturnal

Lifer
Jan 8, 2002
18,927
0
76
Have you tried doing a /sfc scannow?

Go to Start > Run > type CMD > then type in /sfc scannow