OpenVPN / tap-windows6

Windows TAP driver (NDIS 6)
Other
802 stars 238 forks source link

Updated Tap driver Id not working on windows 7 #164

Open ronak-k-p opened 11 months ago

ronak-k-p commented 11 months ago

We are building VPN application and try to add openvpn support for connecting vpn. We need new hardware id for tap drivers so we can easily uninstall it when app gets uninstall (without impacting other apps installed using tap driver with default id tap0901)

If I build tap-windows6 without changing anything our vpn works fine but to create unique id i have updated PRODUCT_TAP_WIN_COMPONENT_ID in version.m4 and follow same build process I get this error while connecting vpn There are no TAP-Windows, Wintun or ovpn-dco adapters on this system. You should be able to create an adapter by using tapctl.exe utility. Strange thing is this issue only occurs in windows 7. in windows 8.1 same build works fine.

cron2 commented 11 months ago

win7 being end of life, it might be possible that it's no longer possible to build new drivers for win7 due to signing requirements that can not be fulfilled anymore.

Leaving this to @mattock and @flichtenheld to provide more detailed insights.

schwabe commented 11 months ago

I think we gone through this and can no longer sign drivers for Windows 7 anymore.

ronak-k-p commented 11 months ago

I am Disabling Driver Signature Enforcement to test it & there is no driver signature error at device manager. Building using VS2019 (Dev Command Prompt)

Driver works fine on windows 7 when I don't modify version.m4