Fix OpenVPN not working in Windows 10

By: Matthew Adams
4 minute read

For various PC problems, we recommend to use this tool.

This tool will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Quickly fix PC issues and prevent others from happening with this software:

  1. Download this PC Repair Tool with Patended Technologies
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues (requires upgrade).

OpenVPN is an open-source VPN client that you can utilize with a wide variety of VPN providers. So long as your VPN provider supports the OpenVPN TCP or UDP protocol, you can set up a OpenVPN connection. You can run the OpenVPN client with scripts and configure connections via its settings files.

However, OpenVPN can still run into some snags. These are a few resolutions that might fix OpenVPN connections in Windows 10.

How to fix OpenVPN launch issues

  1. Switch Off the Windows Firewall
  2. Disable Third-Party Anti-Virus Software
  3. Restart the TAP Adapter
  4. Reinstall and Update the TAP-Windows Driver
  5. Check the DHCP Service is Running
  6. Flush the DNS
  7. Reset Winsock

1. Switch Off the Windows Firewall

Firewalls and VPNs don’t always mix together so well. The Windows Firewall might block your OpenVPN connection if you haven’t configured outgoing ports. The best way to check if that’s the case is to switch the Windows Firewall off. This is how you can switch the firewall off in Windows 10.

  • Press the Cortana button on the taskbar to open that app.
  • Enter the keyword ‘Windows firewall’ in the search box, and select to open the Windows Defender Firewall.

  • Click Turn Windows Defender Firewall on or off to open the settings shown in the shot directly below.

turn on windows firewall

  • Select both the Turn off Windows Defender Firewall options.
  • Click the OK button.

—> READ ALSO: FIX: VPN not working with Popcorn Time

2. Disable Third-Party Anti-Virus Software

Also note that third-party anti-virus software can hamper VPNs with their own firewalls. So switching third-party anti-virus utilities off might also help fix a OpenVPN connection. You can temporarily disable some anti-virus software by selecting disable settings on the their context menus. Or you can also remove the software from the Windows startup as follows.

  • Right-click the Windows taskbar and select Task Manager on the context menu that opens.
  • Click the Startup tab on the Task Manager window.

  • Select your anti-virus software and press the Disable button.
  • Then restart your laptop or desktop.

3. Restart the TAP Adapter

Adding the OpenVPN software to Windows also adds a TAP-Windows adapter. One OpenVPN error message states, “All TAP-Windows adapters on this system are currently in use.” If you’re getting that error message, restarting the TAP adapter might fix OpenVPN. You can restart the TAP adapter as follows.

  • Press the Run key + R keyboard shortcut to open the Run accessory.
  • Input ‘Control Panel’ in Run, and press the OK button.
  • Click Network and Sharing Center to open the Control Panel settings shown directly below.

  • Click Change adapter settings to open your connections as below.

  • Next, right-click TAP-Windows Adapter and select Disable.
  • Right-click TAP-Windows Adapter and select Enable to restart the adapter.

4. Reinstall and Update the TAP-Windows Driver

  • If restarting the adapter doesn’t do the trick, try reinstalling the TAP-Windows driver instead. To do that, first open Device Manager to uninstall the adapter by pressing the Windows key + X hotkey.
  • Select Device Manager to open the window in the shot directly below.

typing lag/slow keyboard response in Windows 10

  • Double-click Network adapters to expand the network adapters list.
  • Right-click TAP-Windows Adapter and select Uninstall device.

  • Now open this OpenVPN page in your browser.
  • Scroll to the bottom of that page and click tap-windows-9.21.2.exe to download the latest TAP driver (NDIS 6) for OpenVPN. The NDIS 5 driver is for Windows XP.

  • Right-click the TAP-Windows exe and select Run as administrator. 
  • Restart Windows after installing the driver.

—> READ ALSO: TunnelBear VPN won’t install? Fix it with these 3 steps

5. Check the DHCP Service is Running

Initialization Sequence Completed with errors” is another error message that might open for some OpenVPN users. If that error message opens for you, check that the DHCP service is running. You can kick-start the DHCP service as follows.

  • Enter ‘services.msc’ in Run, and click the OK button.
  • Scroll down to DHCP Client shown in the snapshot below.

  • Double-click DHCP Client to open its properties window.

  • Select Automatic from the Startup type drop-down menu.
  • Then press the Start service button.
  • If the DHCP Client is already running, press the Stop and then Start buttons to restart it.
  • Click the Apply and OK buttons.

6. Flush the DNS

Various connection errors can be due to a corrupted DNS cache. Thus, flushing the DNS cache could be a potential fix for OpenVPN. This is how you can flush the DNS in Windows 10.

  • Open the Win + X menu with the Windows key + X hotkey.
  • Click Command Prompt (Admin) on the Win + X menu.
  • Enter the following commands separately in the Prompt’s window:

netsh interface ip delete arpcache

ipconfig /flushdns

ipconfig /renew

  • Close the Command Prompt, and then restart Windows.

7. Reset Winsock

  • Resetting corrupted TCP/IP Winsock settings might also fix OpenVPN error messages. To do that, enter ‘Command Prompt’ in Cortana’s search box.
  • Right-click Command Prompt and select Run as administrator to open it.
  • Then input ‘netsh int ip reset logfile.txt’ in the Prompt, and press the Enter key.

  • Enter netsh winsock reset catalog, and press the Return button.
  • Restart your desktop or laptop.

Some of those resolutions might fix OpenVPN client initialization errors in Windows 10. Check out this article for some more general tips for fixing VPN connections.

RELATED STORIES TO CHECK OUT:

Next up

These features are out for good with Windows 10 version 1809

iamsovy@gmail.com' By: Sovan Mandal
2 minute read

Microsoft is all set to launch its next big update, Windows 10 version 1809 in October. While that should be a nice piece of news […]

Continue Reading

Windows 10 18H2 builds no longer receive new features

By: Matthew Adams
3 minute read

The Windows 10 October 2018 Update (otherwise 18H2) rollout might now be two to three weeks away. For the last few months, new build previews […]

Continue Reading

Windows 7 KB4457139 makes it easier to upgrade to Windows 10

By: Madeleine Dean
2 minute read

Microsoft released a new Windows 7 update to the general public. Update KB4457139 is actually a preview of the upcoming monthly rollup update and allows users […]

Continue Reading

Discussions