Home of DJ and technophile Jonathan Puddle (aka J Puddy)
Using OpenVPN in Windows 7 64-bit
Update: For Windows 7 RTM, all you need to do is download the latest beta version of OpenVPN (2.1 RC20 at time of writing), install like any other program and then run OpenVPN GUI as an Adminstrator. Pretty straightforward now, thanks to the good people at OpenVPN!
When I tried installing the latest stable OpenVPN (2.0.9) in Windows 7 RC1 x64, I received a message stating the TAP driver is unsigned, and this version of Windows ONLY supports signed drivers. That may prove to be an interesting gotcha… I’m trying to think of what other hardware/virtual hardware I have that may have unsigned drivers.
Anyway, here’s a fix.
Basically you want to download from here http://openvpn.net/release/openvpn-2.1_rc15-install.exe and then set the compatibility (right click > Properties > Compatibility tab) to Windows Vista, and set it to run as an administrator. The install went fine for me, and the TAP driver is now signed in this RC. As mentioned in the brief note, but is quite important, you need to also run OpenVPN GUI as an administrator, otherwise any of the network level stuff (such as routing of networks) won’t work.
| This entry was posted by Jonathan Puddle on May 6, 2009 at 7:26 pm, and is filed under IT Industry. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
about 1 year ago
This worked for me
about 1 year ago
To naozaj funguje!
about 1 year ago
thank you very much. this worked perfectly!!
about 1 year ago
wew
about 1 year ago
Thank you!! Saved me a lot of time figuring it out myself.
about 1 year ago
You ROCK!
about 1 year ago
Thanks for your tips. I’m using the RTM Version of Windows 7×64 and while the GUI doesn’t work, openvpn does. I actually get my tunnel connected to my Witopia account using openvpn on the command line. The taskbar icon indicates it’s not connected – doesn’t even show the connect option – however I have verified that my external ip address is that of Witopia. Woohoo!
about 1 year ago
Update to my last comment. The taskbar icon does not actually get loaded. What I saw was a previous (failed) attempt to launch the OpenVPN GUI that I did not close. When running, this method does not have a taskbar icon.=, only a cmd window. To exit openvpn when running in this fashion, press F4 in the cmd window.
about 1 year ago
Saved my day! Thanks thanks thanks…
about 1 year ago
It does not worked for me, I’m able to install it, but in device manager all tap adapters are marked as not working, in details I see this message.
Windows cannot verify the digital signature for the drivers required for this device. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source. (Code 52)
about 1 year ago
You need to make sure you download a version of OpenVPN that has signed drivers.
about 11 months ago
Good day!
I have Windows 7 64-bit. OpenVPN 2.1.19 is work, but I use gateway redirection, and it’s is not work.
OpenVPN 2.0.9 is not install Drivet for Tap.
When I use OpenVPN 2.0.9 in Windows7 32-bit, all work right.
2.1.19 not work with Gateway redirection.
There can be somebody had such problem?
May be problem with driver for Tap in Windows7 64-bit.
Can be at somebody there is such driver?
about 11 months ago
Thanks, worked great! :)
about 11 months ago
Vladislav, shut down UAC feature in Windows and you’ll be just fine I had the same problem with Windows 7 x64
about 10 months ago
YAY! I found this wonderful page after days of trying to figure it out.
Good day!
about 10 months ago
Tried this today on Windows 7 Professional RTM 64-bit. The installer returns the message “Sorry, OpenVPN does not currently support Windows”.
about 10 months ago
Thank you! Worked like a charm!
about 9 months ago
Works Perfectly. Thanks
about 9 months ago
Thanks a lot, worked fine on Win 7 Enterprise 64 bits using the openvpn-2.1_rc21 version.
about 8 months ago
I have installed the most recent EXE from OpenVPN. I am having a horrible time with the speed of the connection. I am getting horrendous ping rates over the TAP driver of 600-900ms. Can not figure out the problem.
about 8 months ago
Installed the latest on Win 7 Ultimate 64-bit. Everything was seamless except the routing. After the install I did the Compatibility->Run as admininstrator thing on the gui exe, and it worked.
http://openvpn.net/release/openvpn-2.1_rc22-install.exe
about 7 months ago
kudos. This solution just worked perfectly. When the author says run as administrator it means to set the applications privileges and not the installer. i.e. C:\Program Files (x86)\OpenVPN\bin\openvpn-gui.exe
The route.exe which is used to add the routes does not execute unless the application calling it runs with administrative privileges.
Regards,
Accilies
about 7 months ago
it works very good specially with openvpn2.1 rc22
about 7 months ago
Accilies, that’s exactly what I meant. Thanks for clarifying!
about 7 months ago
Hi Jonathan,
This worked a treat and was a great help to me having been using Windows 7 for less than a week! Thank you.
btw I downloaded OpenVPN-2.1.1 as the latest version available.
about 7 months ago
I had WatchGuard Mobile VPN with SSL Client software version 10.0.0 (build 170652) which works fine on Windows 7 Pro 32bit but would not work on Windows 7 Pro 64bit.
I did the following on my Windows 7 Pro 64bit to get it working.
1.> Download OpenVPN from the following URL http://openvpn.net/release/openvpn-2.1_rc15-install.exe
2.>Change the compatibility setting to Windows Vista without which the executable file won’t install.
3.>Double-Click the executable file to launch it.
4.> Once the installation is completed you will see that in Control Panel>>Network and Internet>>Network Connections you have a new device “TAP-Win32 Adapter V9″. This device driver is required for WatchGuard VPN Client with SSL to work.
about 7 months ago
about 6 months ago
Finally it works!!!
Thanks for your manual!!
about 5 months ago
Thanks for this – helped a lot. The openVPN default install didn’t install the TAPI drivers on Win7 x64 – but following your instructions solved the problem.
Much appreciated.
Barry
about 5 months ago
thanks a lot !
the problem puzzles me for a day
about 5 months ago
Works fine, now got to get some new Smart Cards!
about 4 months ago
Good day, I go over all your blogs, keep them coming.
about 3 months ago
Thanks, Have been struggling for days and this worked like charm
about 2 months ago
Thanks. Works like a charm on my seven 64.
about 2 months ago
Very Very Thanks for helping very easy communication way,
Now working VPn after just visit this site, thanks…..
about 2 months ago
I have geting unsecured wireless public network, If i try connect internet, connection is showing connected, but internet not accssed showing, any help for this subject.thanks for helping
about 1 month ago
I’m running Windows 7 64 bit and downloaded OpenVPN client 2.1.1. I tried everything as suggested but when I right click the OpenVPN tray icon, I only get “Proxy Settings”, “About” and “Exit” options. I don’t get the “Connect” options.
Can someone help?
Thanks
about 1 month ago
Nevermind, Windows was hiding the file extensions on the certs and the openvpn files and they had an extra file extension behind them… Fixed the file extensions and problem solved.
about 1 month ago
@hioctane : i had the same problem, but i didnt understand your solution. could you put it in stepwise,like for a novice???
about 2 weeks ago
OpenVPN 2.1.2 has problem with signing of TAP driver, use 2.1.1 (http://openvpn.net/release/openvpn-2.1.2-install.exe)
On Windows 7 64bit:
install as normal user, but as mentioned above, gui as admin
about 1 week ago
I found out that if your are using 64bit os the routing tables won’t work. So you need to do them manualy by “route” command in CMD. I try to search the reason why that command won’t work. Log says success for route command but if you look the routing tables there is no routes. I hope this information helps some other user :)
about 1 week ago
I couldn’t get this to work because I had specified a device in my config. When I removed the device name to use, it started up and ran perfectly. I’m on Windows 7 Pro 64 bit. Unlike the 1.x I was using on XP, this one automatically found the correct tap device.