Answered by:
Windows 7 cannot connect to Azure (P2S), Error "An existing connection was forcibly closed by the remote host (Error 0x80072746)."

Question
-
Hi Guys,
need a bit of support and tips here. I havae the following issue:
A Microsoft Windows 7 Embedded Standard cannot connect over P2S VPN to Azure. The error is "An existing connection was forcibly closed by the remote host (Error 0x80072746)." At the same time another Client in the same network successfully connects to the VPN Gateway. The connection worked fine untill a couple of days ago.For certain nothing has been changed on the system or azure side prior to this.
Here a couple of additional details:- Events:
Log Name: Application
Source: RasClient
Date: 24.08.2018 14:24:33
Event ID: 20227
Task Category: None
Level: Error
Description: CoId={6F45A27F-3735-4BF9-BF04-38E4FBF8CB48}: The user PC-Name\UserName dialed a connection named Contoso.com which has failed. The error code returned on failure is -2147014842.Log Name: System
Source: Microsoft-Windows-RasSstp
Date: 24.08.2018 14:24:33
Event ID: 1
Task Category: None
Level: Error
Keywords: Classic
Description:
CoId={6F45A27F-3735-4BF9-BF04-38E4FBF8CB48}:The initial Secure Socket Tunneling Protocol request could not be successfully sent to the server. This can be due to network connectivity issues or certificate (trust) issues. The detailed error message is provided below. Correct the problem and try again.
The connection was closed by the remote host.
here is what the VPN log on the client says:
******************************************************************
Module Name, Time, Log ID, Log Item Name, Other Info
For Connection Type, 0=dial-up, 1=VPN, 2=VPN over dial-up
******************************************************************
[cmdial32] 14:24:31 03 Pre-Init Event CallingProcess = C:\windows\Explorer.EXE
[cmdial32] 14:24:33 04 Pre-Connect Event ConnectionType = 1
[cmdial32] 14:24:33 06 Pre-Tunnel Event UserName = UserName Domain = DUNSetting = ID Tunnel DeviceName = TunnelAddress = azuregateway-ID.cloudapp.net
[cmdial32] 14:24:33 21 On-Error Event ErrorCode = -2147014842 ErrorSource = RAS
What I have done so far:
- Ensured All Windows Updates are installed. Ref:
- Checked again the config on Azure side.
- Ensure all certificates on the client are correct.
- Compared those certificates with the working client (Azure Root Cert, User Cert, GW Cert)
- Uninstalled the connection, downloaded it agin from the portal and installed it again.
- Uninstalled the AV solution completely.
All advices and guesses are more then welcome. Thanks in advance!
Regards,
(Please take a moment to "Vote as Helpful" and/or "Mark as Answer" where applicable. This helps the community, keeps the forums tidy, and recognizes useful contributions. Thanks!) Blog: https://blog.pohn.ch/ Twitter: @StoyanChalakov
- Moved by AjayKumar-MSFTMicrosoft employee Saturday, August 25, 2018 4:46 AM Better suited in Networking, from Mgmt Portal
Friday, August 24, 2018 1:23 PM
Answers
-
Make sure your machine has all the latest Windows updates installed and TLS 1.2 is enabled.
-----------------------------------------------------------------------------------------------
If this answer was helpful, click “Mark as Answer” or “Up-Vote”. To provide additional feedback on your forum experience, click here
- Proposed as answer by Zahid Faroq Saturday, August 25, 2018 10:38 AM
- Marked as answer by Stoyan ChalakovMVP Monday, August 27, 2018 11:48 AM
Saturday, August 25, 2018 10:38 AM
All replies
-
Make sure your machine has all the latest Windows updates installed and TLS 1.2 is enabled.
-----------------------------------------------------------------------------------------------
If this answer was helpful, click “Mark as Answer” or “Up-Vote”. To provide additional feedback on your forum experience, click here
- Proposed as answer by Zahid Faroq Saturday, August 25, 2018 10:38 AM
- Marked as answer by Stoyan ChalakovMVP Monday, August 27, 2018 11:48 AM
Saturday, August 25, 2018 10:38 AM -
Thank you for the reply,
like I already described all the Updates from WU have been downloaded and installed. Will make sure that TLS 1.2 is enabled and will post back.
Regards,(Please take a moment to "Vote as Helpful" and/or "Mark as Answer" where applicable. This helps the community, keeps the forums tidy, and recognizes useful contributions. Thanks!) Blog: https://blog.pohn.ch/ Twitter: @StoyanChalakov
Monday, August 27, 2018 9:49 AM -
Hey,
Enabling TLS 1.2 solved the problem indeed. :) A big thanks for the quick and prompt answer!
Wish you a great week ahead!
Regards,
(Please take a moment to "Vote as Helpful" and/or "Mark as Answer" where applicable. This helps the community, keeps the forums tidy, and recognizes useful contributions. Thanks!) Blog: https://blog.pohn.ch/ Twitter: @StoyanChalakov
Monday, August 27, 2018 11:49 AM -
Glad to know that issue got resolved.
Tuesday, August 28, 2018 3:35 PM