TAP adapter drivers fail to install on Windows 10
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!
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
-
- OpenVpn Newbie
- Posts: 5
- Joined: Wed Apr 01, 2020 3:41 pm
TAP adapter drivers fail to install on Windows 10
Hello, I hope this is the right place for this.
So my company has now a VPN system to connect to our workstations and work drives, etc.
I installed OpenVPN as requested. On the middle of the installation process, a pop-up window appears, indicating that the TAP virtual network adapter failed to install.
When I try to connect to the VPN, the certificate is in the config folder, I login and it says I should have a TAP Adapter installed.
I run the addtap.bat as admin
I run the delalltap.bat and the addtap.bat
Both of these fail. (tapinstall.exe failed...)
I open device manager, I see an unknown device listed in the Other Devices category and in ROOT\NET\0000, it’s tap 0901
I try to update its drivers. It looks up on the internet, no results. Then, I redirect it to the folder C:\Program Files\TAP-Windows\driver
It says it has found the driver (OemVista.inf) and is installing.
Finishes saying driver has been found but windows failed to install it. The configuration registry database is damaged/corrupted.
I find this frustrating, as I’ve tried everything. Disabled firewall, antivirus, uninstalling antivirus results in the same thing, tried other versions of OpenVPN, always the same thing. I saw other posts regarding the same subject, but they are quite old.
Thanks in advance for the help.
So my company has now a VPN system to connect to our workstations and work drives, etc.
I installed OpenVPN as requested. On the middle of the installation process, a pop-up window appears, indicating that the TAP virtual network adapter failed to install.
When I try to connect to the VPN, the certificate is in the config folder, I login and it says I should have a TAP Adapter installed.
I run the addtap.bat as admin
I run the delalltap.bat and the addtap.bat
Both of these fail. (tapinstall.exe failed...)
I open device manager, I see an unknown device listed in the Other Devices category and in ROOT\NET\0000, it’s tap 0901
I try to update its drivers. It looks up on the internet, no results. Then, I redirect it to the folder C:\Program Files\TAP-Windows\driver
It says it has found the driver (OemVista.inf) and is installing.
Finishes saying driver has been found but windows failed to install it. The configuration registry database is damaged/corrupted.
I find this frustrating, as I’ve tried everything. Disabled firewall, antivirus, uninstalling antivirus results in the same thing, tried other versions of OpenVPN, always the same thing. I saw other posts regarding the same subject, but they are quite old.
Thanks in advance for the help.
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
-
- OpenVpn Newbie
- Posts: 5
- Joined: Wed Apr 01, 2020 3:41 pm
Re: TAP adapter drivers fail to install on Windows 10
Thanks, TinCanTech.TinCanTech wrote: ↑Wed Apr 01, 2020 5:26 pmTry this:
https://build.openvpn.net/downloads/rel ... -Win10.exe
Unfortunately, this did not work. It fails without even requesting to confirm the instalation of TAP.
Does it help to know that this computer used to have windows 7 but it was upgraded to windows 10?
Are there any other solutions? Thank you so much.
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: TAP adapter drivers fail to install on Windows 10
There is a long list on the page above you can try.
You may need to fix up your registry ..
Take a look here for errors: C:\Windows\inf\setupapi.dev.log
You may need to fix up your registry ..
Take a look here for errors: C:\Windows\inf\setupapi.dev.log
-
- OpenVpn Newbie
- Posts: 5
- Joined: Wed Apr 01, 2020 3:41 pm
Re: TAP adapter drivers fail to install on Windows 10
Unable to determine presence of driver package. Error = 0x000003F1
...
Unable to determine presence of driver package 'oemvista.inf'. Error = 0x000003F1
...
Unable to determine if driver package 'oemvista.inf' is already registered. Error = 0x000003F1
...
Failed to create driver package object 'oemvista.inf_amd64_6d4bec28a2ef0cdf' in DRIVERS database node. Error = 0x000003F1
...
Failed to register driver package 'C:\WINDOWS\System32\DriverStore\FileRepository\oemvista.inf_amd64_6d4bec28a2ef0cdf\oemvista.inf'. Error = 0x000003F1
...
Failed to import driver package into Driver Store. Error = 0x000003F1
...
Driver package import failed for device.
...
Failed to install device instance 'ROOT\NET\0000'. Error = 0x000003f1
-------------Is there anything i can do about this? Thank you for your help. About te registry, do i have to go to ROOT\NET\0000?
I can´t seem to find the TAP network adapter with the other networ adapters. What's the page above that i can check for errors? Tat one sent me an installation package (.exe) Thanks again.
...
Unable to determine presence of driver package 'oemvista.inf'. Error = 0x000003F1
...
Unable to determine if driver package 'oemvista.inf' is already registered. Error = 0x000003F1
...
Failed to create driver package object 'oemvista.inf_amd64_6d4bec28a2ef0cdf' in DRIVERS database node. Error = 0x000003F1
...
Failed to register driver package 'C:\WINDOWS\System32\DriverStore\FileRepository\oemvista.inf_amd64_6d4bec28a2ef0cdf\oemvista.inf'. Error = 0x000003F1
...
Failed to import driver package into Driver Store. Error = 0x000003F1
...
Driver package import failed for device.
...
Failed to install device instance 'ROOT\NET\0000'. Error = 0x000003f1
-------------Is there anything i can do about this? Thank you for your help. About te registry, do i have to go to ROOT\NET\0000?
I can´t seem to find the TAP network adapter with the other networ adapters. What's the page above that i can check for errors? Tat one sent me an installation package (.exe) Thanks again.
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: TAP adapter drivers fail to install on Windows 10
From openvpn-users mailing list:
That may help.Samuli wrote:Assuming 9.23.x works it "should be easy"(tm) to figure out what the
difference is. Or maybe something changed in Windows which causes this
misbehavior. Fully removing all traces of tap-windows6 from the system,
e.g. with Remote-Tapwindows.ps1:
<https://github.com/mattock/tap-windows-scripts>
Can you guys try if that full removal helps with this?
Samuli
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: TAP adapter drivers fail to install on Windows 10
Indeed, this seems likely:jonasmyles wrote: ↑Wed Apr 01, 2020 6:34 pmDoes it help to know that this computer used to have windows 7 but it was upgraded to windows 10?
From the same email.Samuli wrote:I looked at Ralf's logs and they show that - for whatever reason - the
tap-windows installer chose to install the Windows 7 version of
tap-windows6 on those Windows 10 instances. The Digital signer in the
device properties should show "Microsoft Windows Hardware
Compatibility Publisher" (=attestation signature), not "OpenVPN Inc"
(cross-signed).
Try the removal script and then try installing the correct TAP driver. (The one above)
-
- OpenVpn Newbie
- Posts: 5
- Joined: Wed Apr 01, 2020 3:41 pm
Re: TAP adapter drivers fail to install on Windows 10
I ran the script with PowerShell, resulting in "No tap-windows drivers found from the driver store".TinCanTech wrote: ↑Thu Apr 02, 2020 11:48 amTry the removal script and then try installing the correct TAP driver. (The one above)
After this, i installed the tap installation package you sent. It failed, once again.
When trying to install through device manager it comes out
"Windows encountered a problem installing the driver software for your device.
Windows found driver software for your device but encoutered an error while attempting to install it.
The hash for the file is not present in the specified catalog file. The file is likely corrupt or the victim of tampering."
Please let me know if there are any other solutions. Thank you so much for helping me.
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: TAP adapter drivers fail to install on Windows 10
Sounds like a good start.jonasmyles wrote: ↑Thu Apr 02, 2020 2:16 pmI ran the script with PowerShell, resulting in "No tap-windows drivers found from the driver store".
Dang..jonasmyles wrote: ↑Thu Apr 02, 2020 2:16 pmAfter this, i installed the tap installation package you sent. It failed, once again.
This is at least a new piece of information which I can pass on to the Devs.jonasmyles wrote: ↑Thu Apr 02, 2020 2:16 pmWhen trying to install through device manager it comes out
"Windows encountered a problem installing the driver software for your device.
Windows found driver software for your device but encoutered an error while attempting to install it.
The hash for the file is not present in the specified catalog file. The file is likely corrupt or the victim of tampering.
Thanks for persevering with us.jonasmyles wrote: ↑Thu Apr 02, 2020 2:16 pmPlease let me know if there are any other solutions. Thank you so much for helping me.
Use the removal script to clean up failures and then look here for more possible options:
https://build.openvpn.net/downloads/releases/
There are lots of versions you can try, hopefully something will work and we can investigate further.
Last edited by TinCanTech on Fri Apr 03, 2020 1:18 am, edited 1 time in total.
-
- OpenVpn Newbie
- Posts: 5
- Joined: Wed Apr 01, 2020 3:41 pm
Re: TAP adapter drivers fail to install on Windows 10
When trying to install through device manager it comes out
"Windows encountered a problem installing the driver software for your device.
Windows found driver software for your device but encoutered an error while attempting to install it.
The hash for the file is not present in the specified catalog file. The file is likely corrupt or the victim of tampering.
Thanks a lot! I am sorry, im afraid the text
The hash for the file is not present in the specified catalog file.”
is indeed:
“The configuration registry database is corrupt.”
The one I sent before is not what really appeared. I didn’t had my computer with me at the time and I searched, but turns out that was a different error. Please ignore it.
I will try all of the other versions as you said they’d likely work.
Thanks again for being persistent and helpful and I am sorry for my mistake.
"Windows encountered a problem installing the driver software for your device.
Windows found driver software for your device but encoutered an error while attempting to install it.
The hash for the file is not present in the specified catalog file. The file is likely corrupt or the victim of tampering.
Thanks a lot! I am sorry, im afraid the text
The hash for the file is not present in the specified catalog file.”
is indeed:
“The configuration registry database is corrupt.”
The one I sent before is not what really appeared. I didn’t had my computer with me at the time and I searched, but turns out that was a different error. Please ignore it.
I will try all of the other versions as you said they’d likely work.
Thanks again for being persistent and helpful and I am sorry for my mistake.
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: TAP adapter drivers fail to install on Windows 10
Let us know your results in a list if possible.