OpenVPN installed first with 2 TAP adapters, after installing PIA, only one and PIA doesn't work
C:\Program Files\OpenVPN\bin> .\openvpn.exe --show-adapters
Available TAP-WIN32 adapters [name, GUID]:
'Ethernet 2' {A6D8A463-6425-4B29-A8EF-7774DF3130E3}
Help! After installing PIA it wiped out my second TAP device. That is easily fixable -- the main problem is that I cannot get pia_manager.exe to spawn the openvpn.exe process.
When I run the command manually I get a Win10 "how do you want to open this file" dialog
C:\Program Files\pia_manager\openvpn.exe --client --persist-key --persist-tun --comp-lzo yes --dev tun --script-security 2 --remote blah 8080 --auth-user-pass C:\Program Files\pia_manager\data\user_pass.txt --writepid C:\Program Files\pia_manager\log\openvpn.pid --proto udp --nobind --management 127.0.0.1 31749 --log-append C:\Program Files\pia_manager\log\openvpn.log --remote-cert-tls server --cipher aes-128-cbc --auth sha1 --ca C:\Program Files\pia_manager\data\ca.crt --sndbuf 262144 --rcvbuf 262144 --tls-remote blah --pia-signal-settings --plugin C:\Program Files\pia_manager\pia-openvpn.dll
The logs show this:
[2018-02-07T22:33:33.976Z] <debug> #7944/43051056 |OpenvpnManager| #<Process::Error: CreateProcess() failed: > C:/Users/User/AppData/Local/Temp/ocr232C.tmp/lib/ruby/gems/1.9.1/gems/win32-process-0.6.5/lib/win32/process.rb:889:in `create' C:/Users/User/AppData/Local/Temp/ocr232C.tmp/lib/ruby/site_ruby/1.9.1/pia_win32.rb:57:in `create_process' C:/Users/User/AppData/Local/Temp/ocr232C.tmp/lib/ruby/site_ruby/1.9.1/openvpn_manager.rb:90:in `block in start' C:/Users/User/AppData/Local/Temp/ocr232C.tmp/lib/ruby/site_ruby/1.9.1/pia_common.rb:115:in `win' C:/Users/User/AppData/Local/Temp/ocr232C.tmp/lib/ruby/site_ruby/1.9.1/openvpn_manager.rb:90:in `start' C:/Users/User/AppData/Local/Temp/ocr232C.tmp/lib/ruby/site_ruby/1.9.1/pia_manager.rb:159:in `block in connect' <internal:prelude>:10:in `synchronize' C:/Users/User/AppData/Local/Temp/ocr232C.tmp/lib/ruby/site_ruby/1.9.1/pia_manager.rb:159:in `connect' C:/Users/User/AppData/Local/Temp/ocr232C.tmp/lib/ruby/site_ruby/1.9.1/pia_manager.rb:93:in `handle_command' C:/Users/User/AppData/Local/Temp/ocr232C.tmp/lib/ruby/site_ruby/1.9.1/pia_manager.rb:289:in `block (3 levels) in start_command_server' C:/Users/User/AppData/Local/Temp/ocr232C.tmp/lib/ruby/site_ruby/1.9.1/pia_common.rb:31:in `block in safe' C:/Users/User/AppData/Local/Temp/ocr232C.tmp/lib/ruby/1.9.1/win32ole.rb:13:in `call' C:/Users/User/AppData/Local/Temp/ocr232C.tmp/lib/ruby/1.9.1/win32ole.rb:13:in `block in initialize'
Comments
You should be able to re-add the second TAP adapter the same way you did originally. Typically this is by running the "addtap.bat" script from OpenVPN. PIA should automatically pick it up without any changes to PIA or its included version of OpenVPN.