Ca't install a TAP on server or client

This forum is for all inquiries relating to the installation of OpenVPN from source and with binaries.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Post Reply
JonRFleming
OpenVpn Newbie
Posts: 3
Joined: Mon Jun 15, 2015 4:07 pm

Ca't install a TAP on server or client

Post by JonRFleming » Wed Jun 17, 2015 2:04 pm

I installed OpenVPN on my Small Business Server 2008 x64 (based on Windows Server 2008 pre-R2) server and my Windows 8.1 x64 workstation. I do not have a TAP adapter installed on either one after the OpenVPN installation, although installing TAP was checked in the OpenVPN installation.

I extracted tap-windows.exe from the OpenVPN install package and ran it on the server accepting all the defaults. It thought it installed, but there was a failed-to-open-file error. So I ran it again as administrator and got the same thing.

I ran the uninstaller.

I ran tap-windows.exe again as administrator and put it in C:\TAP-Windows. No installation errors.

Also no TAP adapter.

So I ran C:\TAP-Windows\bin\tapinstall.exe and C:\TAP-Windows\bin\addtap.bat.

No TAP adapter.

I was not prompted for confirmation of a driver install in any installation.

The last few lines of the server log after a connection attempt are:

Code: Select all

Tue Jun 16 15:06:30 2015 us=659373 OpenVPN 2.3.7 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on Jun  8 2015
Tue Jun 16 15:06:30 2015 us=659373 library versions: OpenSSL 1.0.1m 19 Mar 2015, LZO 2.08
Tue Jun 16 15:06:30 2015 us=896397 Diffie-Hellman initialized with 2048 bit key
Tue Jun 16 15:06:30 2015 us=896397 TLS-Auth MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:3 ]
Tue Jun 16 15:06:30 2015 us=897397 Socket Buffers: R=[8192->8192] S=[8192->8192]
Tue Jun 16 15:06:30 2015 us=900397 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Tue Jun 16 15:06:30 2015 us=900397 open_tun, tt->ipv6=0
Tue Jun 16 15:06:30 2015 us=901398 CreateFile failed on TAP device: \\.\Global\{3ACAE3A8-A7A4-4F92-8911-66F39718CABF}.tap
Tue Jun 16 15:06:30 2015 us=901398 All TAP-Windows adapters on this system are currently in use.
Tue Jun 16 15:06:30 2015 us=901398 Exiting due to fatal error
There are some registry entries under the 3ACAE3A8... label, in particular the name "Network Connection 4".

Now what?

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: Ca't install a TAP on server or client

Post by Traffic » Thu Jun 18, 2015 4:24 pm

Sometimes the TAP driver install goes a bit wrong, although I have never experienced this myself ...

Please read this for some advice:
https://community.openvpn.net/openvpn/w ... TAPDrivers

JonRFleming
OpenVpn Newbie
Posts: 3
Joined: Mon Jun 15, 2015 4:07 pm

Re: Ca't install a TAP on server or client

Post by JonRFleming » Fri Jun 19, 2015 2:56 pm

I finally figured it out; if you select to install the utilities the folder and files are created but the TAP isn't.

Obvious fix: don't install TAP utilities.

Post Reply