A Connection To The Remote Computer Could Not Be Established In Windows 10

Jasmine 1 Reputation point
2022-07-07T18:23:32.47+00:00

All computers that try to connect to my VM's VPN Window server 2022 gets this error. I don't know much about things like this since I am more of a database developer. I created a new VM VPN server from scratch using the same instructions that worked for me yesterday before the error showed up. Everything was working perfectly then I changed the DNS settings on my router (Changed the range of the IP address pool .100 to .200) I did this because I set my VPN server to assign IP addresses from a static pool of .50 to .99.

I tried:
Changing my DNS settings back
Turning off my firewall on server and client side
Uninstalling the WAN mini ports
Ipconfig release, renew, flush
Added AssumeUDPEncapsulationOnSendRule key in the Windows registry
Ran Network Adapter troubleshooter and Windows Network Diagnostics with no issues
Changed Type of VPN to Point to Point Tunneling Protocol (PPTP) from Automatic and checked Challenge Handshake Authentication Protocol (CHAP) and Microsoft CHAP Version 2 (MS-CHAP v2)

I am wondering if the issue is on the server side since I tested 2 computer and both show that error and can't connect.

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,202 questions
Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,362 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,850 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Kapil Arya 8,236 Reputation points MVP
    2022-07-08T11:11:34.613+00:00

    Hello,

    Refer other suggestions provided here:

    https://www.kapilarya.com/a-connection-to-the-remote-computer-could-not-be-established-windows-10

    Let us know if this helps!

    Note: Included link in this reply refers to blog post by a trusted Microsoft MVP.


  2. Jasmine 1 Reputation point
    2022-07-08T15:42:26.917+00:00

    I was able to solve my problem. The computers were unable to connect to the VPn due to incorrect DNS settings on the server. On the client machine I went to CMD Prompt ping the host server IP. It said couldn't reach destination host so on the server I went to network sharing center. Clicked on the properties of ethernet then set DNS and IP to config automatically. Then I deleted my Virtual switch and tried adding it back. Got an error saying couldn't add it so I Reset the Network Connection using the “netcfg” command. Once that finished I was able to connect to the VPN!!

    https://windowsreport.com/ping-destination-host-unreachable-no-packet-loss/
    https://thegeekpage.com/applying-virtual-switch-properties-changes-in-hyper-v/

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.