Fix remote desktop connection error "The connection was ended because of network error"

by Rohit Khurana on February 21, 2008



One of our reader Rameshwar reported us a problem regarding remote desktop connection on windows XP. When he tries to connect to a specific machine on LAN, rather than getting connected Windows xp gives the following remote desktop connection error – “The connection was ended because of network error”

Let’s see how can we fix this remote desktop connection error.


The main cause behind this problems is some problem in the registry entries at the following path:

Follow the procedure below to fix it.


1. Open Start >> Run and type regedit and press enter.

2. Navigate to the following path:


3. Now delete registry keys named Certificate, X500 Certificate and X509 Certificate ID values. (These keys will get auto generated after system restart with system default values, which is actually needed)

4. Exit Registry editor and restart your computer.

5. Try to establish a remote desktop connection by typing mstsc at Run Prompt.

Note: Always back up the registry before making any changes that may damage your system configuration.

If you like this article or this article helped you, you can +1 to recommend this article on google plus.

You can follow us on Twitter or join our Facebook Fan Page. If you have a question to ask us, submit your question at Answers By Trouble Fixers.

Looking for something else? Search here :

{ 29 comments… read them below or add one }

dennisb March 4, 2008 at 3:13 pm

Awesome. This fix worked perfect when I received this error on a box. Thanks!

Tony Hill March 18, 2008 at 7:19 am

Thanks for this solution, i was pulling my hair out trying to work this out. Fantastic.

Alfred Prospere April 23, 2008 at 4:55 am

Thanks, this saved me after two days of searching fro solutions. Well done!!

Akash May 13, 2008 at 6:15 am

Aaah, you’re a lifesaver! Thank you!

Michael Wakari July 9, 2008 at 8:00 pm

it’s work. i just delete certificate key, and it’s work. thank u.

JB August 11, 2008 at 5:02 am

It worked like a charm. Nice article dude.
Thanks, you saved me a lot of time at work.

Suresh August 13, 2008 at 6:16 am

Great stuff, works wonders now. You have saved me bags of time.

Jon October 20, 2008 at 8:18 am

TY very much this was a great help to me and saved me alot of time.

Glenn October 28, 2008 at 6:51 pm

TY VERy VEry much worked great

JJK October 29, 2008 at 12:16 am

Perfect, this fix worked on a fresh Windows 2003 Server, created from a template to run virtual in vmware esx 3.5

Abhishek Gupta December 23, 2008 at 11:16 pm


This is amazing it really fixed the problem.

Thanks alot.

shane October 5, 2009 at 7:29 am

I just deleted and recreated the RDP connection and it worked just fine too.

changi south October 15, 2009 at 6:56 pm

thanks ! good karma for u!

wahpong October 15, 2009 at 10:16 pm

! Oh work amazing 555

Thank you

Jason November 16, 2009 at 12:22 pm

that worked thank you

Dan Frederick January 3, 2010 at 8:43 am

I connected an Epson Artisan 810 (all in one) printer to my home network; a desktop (Win7) a laptop (Win 7) another laptop,(XP) and a netbook (Win 7 starter). After installing Epson software with new Windows 7 drivers, every device printed. However, after some time, perhaps 20 – 30 minutes, most devices will not print. It appears that the router, Buffalo WZRZ-G300N “sleeps” and when it does, no one prints except the desktop. The printer is connected to the router. I first tried printer completely wireless and that didn’t work. Any ideas?


Jason January 15, 2010 at 5:55 am

I was pulling out my hair as well after viewing the fix to resolve our RDP connection it worked so thank you so much for your help really, really appreciated

SK January 26, 2010 at 9:36 pm

This worked great man!!
Initially our machine was not showing any msg, but would show the blurred login screen only after I entered the login name and pass. But after trying to fix this issue for 5-6 hours we got the following msg the next day :
“The connection was ended because of network error”
Which led us to this article and then things got working 🙂


Sachin Sable March 3, 2010 at 5:06 pm

Thanks for the solution. It worked for me. Thanks a lot.

sandip December 13, 2010 at 5:14 pm

Nice Solution, this works.

Sanjay Mishra March 29, 2011 at 12:41 pm

Thanks a lot i was working in this issue for 5 hours after that i fixed this issue through your solution.

Muhammad Yousaf Sulahria May 30, 2011 at 3:53 pm

This solved my problem, i googled the error message and found this website and the instructions given fixed my problem.
Thanks a lot for sharing and helping.

Yoyo August 25, 2011 at 12:53 pm


Suresh November 6, 2011 at 12:18 am

Superb. This worked for me… Thanks a lot.

prabhu December 7, 2011 at 6:23 am

Great!! It worked for me. Thanks a Lot

Nicholas February 25, 2012 at 12:22 am

Thanks for the help! It resolved my issue with a Windows XP computer.

vish May 12, 2012 at 2:27 pm

thanks for the resolution.. this not only fixed my rdp issue but also the prolonged “running startups scripts” issues during server boot

Farhat May 14, 2012 at 1:03 am

Thank you soooo much… 🙂

Leave a Comment

Previous post:

Next post:

© TroubleFixers – All about fixing computer troubles2007-2017 . All Rights Reserved.