TAP Device driver will not install in Win 8.1 64bit

This forum is for all inquiries relating to the installation of OpenVPN from source and with binaries.
Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Post Reply
f.verry
OpenVpn Newbie
Posts: 2
Joined: Mon Jul 01, 2013 9:41 pm

TAP Device driver will not install in Win 8.1 64bit

Post by f.verry » Mon Jul 01, 2013 9:53 pm

I've search for solutions in this thread, but without luck : topic7663.html

Open VPN was working fine, until I updated my Samsung ATIV to Windows 8.1 Preview.

I tried uninstall, re-install, TAP-uninstall, TAP-reinstall, devices management update plugin, deactivate, reactivate, reinstall driver from location, deltapall, etc.

I end up with the following trace :

Code: Select all

C:\Program Files\OpenVPN\clients>openvpn myclient.ovpn
Mon Jul 01 23:28:33 2013 OpenVPN 2.3.2 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [eurephia] [IPv6] built on Jun  3 2013
Mon Jul 01 23:28:34 2013 Socket Buffers: R=[65536->65536] S=[65536->65536]
Mon Jul 01 23:28:34 2013 Attempting to establish TCP connection with [AF_INET]111.111.111.111:1194
Mon Jul 01 23:28:34 2013 TCP connection established with [AF_INET]111.111.111.111:1194
Mon Jul 01 23:28:34 2013 TCPv4_CLIENT link local: [undef]
Mon Jul 01 23:28:34 2013 TCPv4_CLIENT link remote: [AF_INET]111.111.111.111:1194
Mon Jul 01 23:28:34 2013 TLS: Initial packet from [AF_INET]111.111.111.111:1194, sid=47e7213b 60799ee4
Mon Jul 01 23:28:34 2013 VERIFY OK: depth=1, C=XXX, ST=XXX, L=XXX, O=XXX, CN=XXX,emailAddress=XXX
Mon Jul 01 23:28:34 2013 VERIFY OK: nsCertType=SERVER
Mon Jul 01 23:28:34 2013 VERIFY OK: depth=0, C=XXX, ST=XXX, L=XXX, O=XXX, CN=XXX,emailAddress=XXX
Mon Jul 01 23:28:36 2013 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Mon Jul 01 23:28:36 2013 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Mon Jul 01 23:28:36 2013 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Mon Jul 01 23:28:36 2013 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Mon Jul 01 23:28:36 2013 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Mon Jul 01 23:28:36 2013 [gretchen] Peer Connection Initiated with [AF_INET]111.111.111.111:1194
Mon Jul 01 23:28:39 2013 SENT CONTROL [gretchen]: 'PUSH_REQUEST' (status=1)
Mon Jul 01 23:28:39 2013 PUSH: Received control message: 'PUSH_REPLY,route 192.168.21.0 255.255.255.0,route 192.168.31.0 255.255.255.0,route 192.168.32.0 255.255.255.0,route 192.168.33.0 255.255.255.0,route 192.168.34.0 255.255.255.0,route
192.168.41.0 255.255.255.0,route 192.168.42.0 255.255.255.0,route 192.168.43.0 255.255.255.0,route 192.168.44.0 255.255.255.0,route 192.168.51.0 255.255.255.0,route 192.168.52.0 255.255.255.0,route 192.168.61.0 255.255.255.0,route 192.168.62.0 255.255.255.0,route 192.168.71.0 255.255.255.0,route 192.168.72.0 255.255.255.0,route 192.168.81.0 255.255.255.0,route 192.168.91.0 255.255.255.0,route 192.168.92.0 255.255.255.0,route 192.168.101.0 255.255.255.0,route 192.168.111.0 255.255.255.0,route 192.168.121.0255.255.255.0,dhcp-option DNS 10.40.1.5,dhcp-option DNS 10.40.1.7,dhcp-option DOMAIN pap.fr,dhcp-option DOMAIN groupe-pap.lan,route 192.168.150.1,topology net30,ping 10,ping-restart 120,route 10.0.0.0 255.0.0.0,ifconfig 192.168.150.149 192.168.150.150'
Mon Jul 01 23:28:39 2013 OPTIONS IMPORT: timers and/or timeouts modified
Mon Jul 01 23:28:39 2013 OPTIONS IMPORT: --ifconfig/up options modified
Mon Jul 01 23:28:39 2013 OPTIONS IMPORT: route options modified
Mon Jul 01 23:28:39 2013 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Mon Jul 01 23:28:39 2013 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Mon Jul 01 23:28:39 2013 open_tun, tt->ipv6=0
Mon Jul 01 23:28:39 2013 CreateFile failed on TAP device: \\.\Global\{9BE2A4C0-D7F9-43DC-A5AC-A8D3E5B61BC9}.tap
Mon Jul 01 23:28:39 2013 All TAP-Windows adapters on this system are currently in use.
Mon Jul 01 23:28:39 2013 Exiting due to fatal error
I can't remove TAP-Windows driver from device managements, neither get it working.

I've been trying with 2.3.2 64 bits windows installer.

Any help will be appreciated...

Thanks

f.verry
OpenVpn Newbie
Posts: 2
Joined: Mon Jul 01, 2013 9:41 pm

Re: TAP Device driver will not install in Win 8.1 64bit

Post by f.verry » Mon Jul 01, 2013 10:14 pm

To the newbies that will follow behind me, here is how I solved the problem :

- granted administrator privileges to C:\Program Files\TAP-Windows\devcon.exe
- set compatibility mode to "Windows 7" (not sure it was usefull though)
- run C:\Program Files\TAP-Windows\deltapall
- run C:\Program Files\TAP-Windows\addtap

Still, I have no idea why upgrading Windows failed the device.

alexray
OpenVpn Newbie
Posts: 1
Joined: Wed Jun 24, 2015 7:29 pm

Re: TAP Device driver will not install in Win 8.1 64bit

Post by alexray » Wed Jun 24, 2015 7:36 pm

In my case, it was enough simply enable TAP device in device manager.
I hope it will be helpful for somebody.

amitk
OpenVpn Newbie
Posts: 6
Joined: Tue Dec 21, 2010 3:23 pm

Re: TAP Device driver will not install in Win 8.1 64bit

Post by amitk » Wed Nov 25, 2015 11:50 am

Hi,

In my case problem is bit different, I am able to connect to Open VPN successfully and TAp driver is also coming up. But within few seconds my wifi interface goes down hence vpn connections goes into reconnect state.

The problem I am facing is with windows 8.1 pro and with wifi only. It seems like windows 8.1 is not allowing two interface to be connected (Tap and wifi).

Still not able to sort out the issue :(... kindly help

Post Reply