Hi,
I'm using OpenVPN's GUI on Windows 11. I have a script running to monitor the connection and disconnect and then reconnect if the connection goes down. Sometimes though, there's a network glitch which throws an error and a second, smaller OpenVPN window opens saying "Connection to XXX was terminated". The window has a box which needs clicking to acknowledge the error. That works fine, but needs manual intervention. Is there any way to script the acceptance of this message box, suppress it, or to smoothly shutdown and restart the program? I've tried killing all the processes that mention OpenVPN using a script, but when OpenVPN is reopened it still won't connect. I ended up rebooting to clear the issue. I'd appreciate suggestions, to help maintain a reliable connection.
Best Wishes,
A