Hi,
I hope I'm not hijacking this topic but, this night I had a windows update (i'm in the windows insider program) and my openvpn client stopped being able to connect to our openvpn server, so maybe it's a bit related.
I'm using the openvpn community edition.
Since this night windows update it now throws this error:
Sat Aug 13 07:12:29 2016 NETSH: C:\WINDOWS\system32\netsh.exe interface ip set address VPN-OBS static 10.8.0.10 255.255.255.252
Sat Aug 13 07:12:30 2016 NETSH: C:\WINDOWS\system32\netsh.exe interface ip delete dns VPN-OBS all
Sat Aug 13 07:12:31 2016 NETSH: C:\WINDOWS\system32\netsh.exe interface ip set dns VPN-OBS static 192.168.50.15
Sat Aug 13 07:12:45 2016 NETSH: C:\WINDOWS\system32\netsh.exe interface ip delete wins VPN-OBS all
Sat Aug 13 07:12:45 2016 ERROR: netsh command failed: returned error code 1
Sat Aug 13 07:12:50 2016 NETSH: C:\WINDOWS\system32\netsh.exe interface ip delete wins VPN-OBS all
Sat Aug 13 07:12:50 2016 ERROR: netsh command failed: returned error code 1
Sat Aug 13 07:12:54 2016 MANAGEMENT: Client disconnected
Sat Aug 13 07:12:54 2016 NETSH: command failed
Sat Aug 13 07:12:54 2016 Exiting due to fatal error
I tried the faulty command in an admin elevated command prompt window
C:\WINDOWS\system32>C:\WINDOWS\system32\netsh.exe interface ip delete wins VPN-OBS all
The parameter is incorrect.
It seems the "all" parameter is broken in this windows update ?
If I try with a specific ip:
C:\WINDOWS\system32>C:\WINDOWS\system32\netsh.exe interface ip delete wins "VPN-OBS" 10.1.1.1
Element not found.
Windows version:
C:\WINDOWS\system32>ver
Microsoft Windows [Version 10.0.14901]
Okay while writing this post I'm realizing that it's probably not an openvpn issue but I still send it, maybe it can be of use...
Is there a config option to prevent the client to try to remove wins servers on the interface ?
Thanks a lot for you help.
Sébastien