Fix: VPN not Working on Windows 10

In Windows 10 1903/1909 I’ve discovered a number of unusual bugs associated to configured VPN connections. The first downside: when making an attempt to hook up with a distant VPN L2TP server, a VPN connection hangs within the “Connecting to...” state. At the identical time, the immediate for VPN credentials doesn’t seem, and after some time the connection is terminated with none error message.

vpn connection hangs / not working on windows 10

Windows 10 VPN by no means Prompts for Username/Password

It appears that on some purpose a immediate to enter person credentials is blocked in Windows 10 VPN connection dialog. As a consequence, the VPN connection can’t be established.

There is a workaround for this problem. Try to make use of the nice previous rasphone.exe software to ascertain a VPN connection. The rasphone.exe software must be acquainted to anybody who has used a dial-up connection in Windows (it’s nonetheless current in trendy Windows 10 variations).

  1. Start the software: Win+R -> C:WindowsSystem32rasphone.exe rasphone.exe vpn connection tool
  2. Select your VPN connection and click on the “Connect” button;
  3. Then a typical dialog to enter person credentials for the VPN connection seems. Press Connect; vpn connection - specify user credentials
  4. The VPN tunnel should be efficiently established.

To make it extra handy in your customers, chances are you’ll place the rasphone.exe shortcut on the desktop. To join mechanically, you may specify the title of your VPN connections within the shortcut settings as follows: C:WINDOWSsystem32rasphone.exe -d "VPN Name" (you may get the VPN connection title from the Control Panel -> Network Adapters and put quotes round it if it comprises areas).

vpn connection shortcut

It is attention-grabbing that the issue seems solely with L2TP connections (even when the  = 2 registry parameter is configured). Another VPN connection on the identical pc utilizing PPTP protocol and MS-CHAP v2 authentication works effective.

Always On VPN RasMan Error in Windows 10

Another downside happens with the Always on VPN (AOVPN) connection to a company community. When you initialize such VPN connection, the RASMAN (Remote Access Connections Manager) stops, and the occasion with the Even ID 1000 and the next message seems within the Application Event Log:

“Faulting utility title: svchost.exe_RasMan…”, “Faulting module title: rasmans.dll”, and “Exception code: 0xc0000005”.

svchost.exe_RasMan Always on VPN connection error

This problem is confirmed by Microsoft and was fastened in Windows 10 1903 replace — KB4522355 ( You can or utilizing Windows Update/.

If the replace hasn’t fastened the issue, attempt to reinstall WAN miniport digital adapters within the Device Manager.

  1. Start the Device Manager (devmgmt.msc);
  2. Expand the Network Adapters part;
  3. Right-click on the next adapters and uninstall them (Uninstall system): WAN Miniport (IP)WAN Miniport(IPv6) and WAN Miniport (PPTP);uninstall wan miniport ip device
  4. Then choose Action -> Scan for Hardware modifications from the menu and wait until Windows finds and installs drivers for these digital units;
  5. After that reset the Windows 10 community settings: Settings -> Network & Internet -> Network Reset -> Reset now; network reset on windows 10
  6. Recreate your VPN connection and take a look at it.

Originally, the issue with Always on VPN connection was associated to disabled Windows 10 telemetry (oh, Microsoft!). In order Always on VPN to work appropriately, you’ll have to momentary allow telemetry on your pc. To allow it, you should use one of many strategies described beneath.

Method 1. Open the (gpedit.msc) and go to Computer Configuration -> Administrative Templates –> Windows Components -> Data Collection and Preview Builds.

Find and allow the coverage Allow Telemetry = Enabled. Set one of many following modes: 1 (Basic), 2 (Enhanced) or three (Full). allow telemetry group policy

Method 2. You can do the identical should you manually change the AllowTelemetry (REG_DWORD kind) registry parameter within the HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsDataCollection. You should set one of many three values: 1, 2 or three.

You can change this parameter each utilizing the Registry Editor (regedit.exe) or utilizing the  PowerShell cmdlet:

New-ItemProperty -Path ‘HKLM:SOFTWAREPoliciesMicrosoftWindowsDataCollection’ -Name AllowTelemetry -PropertyType DWORD -Value 1 –Force

AllowTelemetry registry

Then restart Remote Access Connection Manager Service (RasMan) utilizing companies.msc or :

Restart-Service RasMan -PassThru

No Internet Access after Disconnecting from VPN

There was one other VPN bug in Windows 10: there isn’t any Internet entry after disconnecting from VPN. You can clear up the issue by:

  1. making a default path to your gateway:
    route delete
    route add masks metric 1
  2. or by disabling/enabling the digital WAN Miniport (IP) adapter utilizing Device Manager.

Check Also

CHKDSK: How to Check and Repair Hard Drive Errors in Windows 10?

CHKDSK.exe (test disk) is a classical built-in Windows software for checking exhausting drives for errors. …

Leave a Reply

Your email address will not be published. Required fields are marked *