Openvpn – How to install the OpenVPN TAP adapter on Win Server 2008 R2

openvpnwindows-server-2008-r2

I need to install OpenVPN (using the latest stable, OpenVPN 2.2.1) on a Windows 2008 Server R2. All works fine, except I can't seem to install the TAP adapter. Running addtap.bat (as administrator even with explicit "run as administrator") or re-installing OpenVPN does not produce any errors, but running OpenVPN fails: "CreateFile failed on TAP device" and "All TAP-Win32 adapters on this system are currently in use."

Looking into Window's hardware manager shows the TAP adapter with a warning symbol, status: "The driver hasn't been installed because it produces errors with Windows; you must restart your computer." (freely translated from German) Now, after rebooting, the TAP adapter is GONE completely!

Need urgent help, any input appreciated! Thanks!

Best Answer

Seems the problem caused by "drivers signing (integrity check)" feature.

You can disable it temporary (one time till next boot) by pressing F8 while reboot and selecting "disable digital signature enforcement" option.

To disable this feature permanently you can use the command:

bcdedit /set loadoptions DDISABLE_INTEGRITY_CHECK

Related Topic