Can't install tap driver using tapinstall.exe for OpenVPN when run from a .bat file, but it works when...
up vote
4
down vote
favorite
When I run
"..bintapinstall.exe" install "..driverOemWin2k.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.
windows-7 vpn openvpn
add a comment |
up vote
4
down vote
favorite
When I run
"..bintapinstall.exe" install "..driverOemWin2k.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.
windows-7 vpn openvpn
3
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 a comment |
up vote
4
down vote
favorite
up vote
4
down vote
favorite
When I run
"..bintapinstall.exe" install "..driverOemWin2k.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.
windows-7 vpn openvpn
When I run
"..bintapinstall.exe" install "..driverOemWin2k.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.
windows-7 vpn openvpn
windows-7 vpn openvpn
edited Aug 28 '11 at 17:08
Sathya♦
52.5k29153252
52.5k29153252
asked Aug 28 '11 at 13:35
Coder
2702916
2702916
3
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 a comment |
3
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
3
3
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
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
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 a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
I had a similar problem, and googling around found some potential solutions.
The simplest is to check whether the HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRunOnce
(HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionRunOnce
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.)
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
I had a similar problem, and googling around found some potential solutions.
The simplest is to check whether the HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRunOnce
(HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionRunOnce
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.)
add a comment |
up vote
0
down vote
I had a similar problem, and googling around found some potential solutions.
The simplest is to check whether the HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRunOnce
(HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionRunOnce
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.)
add a comment |
up vote
0
down vote
up vote
0
down vote
I had a similar problem, and googling around found some potential solutions.
The simplest is to check whether the HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRunOnce
(HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionRunOnce
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.)
I had a similar problem, and googling around found some potential solutions.
The simplest is to check whether the HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRunOnce
(HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionRunOnce
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.)
answered Jul 29 '12 at 13:37
Tgr
1,57331726
1,57331726
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f329002%2fcant-install-tap-driver-using-tapinstall-exe-for-openvpn-when-run-from-a-bat-f%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
3
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