Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When I run

"..\bin\tapinstall.exe" install "..\driver\OemWin2k.inf" tap0901       

To add the tap driver, all I get back is a "failed" message with no details and the tap driver is not installed in Windows 7. The paths are correct and I tried specifying the absolute paths and it still didn't work. Running as an administrator also didn't fix the issue, however if I run the OpenVPN installer (latest version) and only select the tap driver, it is installed correctly.

I'm trying to make OpenVPN portable and the only thing standing in my way is installing the tap driver from a .bat file such as addtap.bat which comes from OpenVPN.

share|improve this question
2  
Portable OpenVPN? Good luck with that... most places where portable apps are useful, don't give users admin privileges. (If all you need is a secure tunnel, SSH can give that.) –  grawity Aug 28 '11 at 13:47
    
like i said i have it to the level i need except for the tap driver. can you help me get addtap to work? –  Coder Aug 28 '11 at 13:58
add comment

1 Answer 1

I had a similar problem, and googling around found some potential solutions.

The simplest is to check whether the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce (HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\RunOnce for Win 7 64 bit) registry key exists, and add it if it does not.

There is a registry problem which is related to using ESET Smart Security; you can find the description here.

The one that worked for me was dropping the OpenVPN-provided TAP driver altogether, and using http://openvpn.se/files/xp64/tap-win64.zip (Which is unsigned, so if you want it to work on Win7, you will need to sign it - here is a tutorial on how to self-sign it. I only needed it to work on my own machine so I just set tapistall.exe into Vista compatibility mode.)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.