TinCanTech wroteThe same error (not a bug) would occur on any OS
Thank you for pointing this out.
As noted in
this tutorial, I haven't noticed this "route addition failed" error on WinXP SP3.
I just went back to the WinXP machine and confirmed by the following sequence, which I will write up separately because this question in this thread is about Windows 10 "route addition failed" errors, which do not occur on Windows XP using the exact same files & procedures.
Here's the WinXP test sequence, which never once eliciited these new Win10-only "route addition failed" errors:
1a) I doubleclicked on VPN config file 1 on WinXP (no route addition failed errors).
1b) I killed VPN 1 using the [X] box. (I will post the log file separately, in a different thread, as proof.)
2a) Moments later, doubleclicked on VPN config file 2 on WinXP (there were still no route addition failed errors).
2b) I killed VPN 2 using the [X] box. (I will post the log file separately, in a different thread, as proof.)
3a) Moments later I repeated step #1a above
3b) I killed VPN 1 using the [F4] key. (I will post the log file separately, in a different thread, as proof.)
4a) Moment later I repeated step #3 above.
4b) I killed VPN 2 using the [F4] key. (I will post the log file separately, in a different thread, as proof.)
5a) Moments later I repeated step #1a above
5b) I killed VPN 1 using the [F4] key. (I will post the log file separately, in a different thread, as proof.)
The reason I'm not posting the WinXP proof of the above here is that it's a lot of work to redact private information, and, even more importantly, this thread is only about Windows 10 so I don't want to detract from the main issue (we can take up why WinXP doesn't fail with the "route addition failed" errors separately).
TinCanTech wroteYou did not close openvpn gracefully, instead you killed it mid session. To close openvpn from a command window press F4. (As it says in the Window Title bar)
Thank you for pointing out the F4 (in the header even!), which, even though my use model has worked for years, I hadn't known about.
I will use F4 from now on in Windows 10 (and I will adjust the
Windows 10 batch-vpn tutorial accordingly).
I see the F4 is documented (but only very briefly)
over here.
I will stop using the [X] box to close the OpenVPN Daemon processes and I will start using the keyboard [F4] key moving forward.
Thank you for pointing out my faux pas.