Windows MSA Account - OpenVPNService - Won't auto-connect
Posted: Tue Mar 22, 2022 6:47 am
Greetings,
I'm playing around with using the OpenVPN-GUI/Service to connect to a server however I'm getting no output when running the commands from powershell, via a Scheduled Task.
I am 100% certain the scheduled task executes, debug from the powershell script goes into EventViewer, however, when it comes time to doing the OpenVpn-GUI --connect <profile>, it doesn't give me any output.
I've assumed this was due to a lack of administrator privilages.
So I uninstalled and reinstalled and selected to install the service this time.
I've since tried to run openvpn --config <profile> and an assortment of other commands, none of actually worked within the context of the MSA running from a scheduled task.
I've read and re-read https://openvpn.net/community-resources ... n-process/ and apparently missed something obviously very simply.
Any help would be appreciated.
I'm playing around with using the OpenVPN-GUI/Service to connect to a server however I'm getting no output when running the commands from powershell, via a Scheduled Task.
I am 100% certain the scheduled task executes, debug from the powershell script goes into EventViewer, however, when it comes time to doing the OpenVpn-GUI --connect <profile>, it doesn't give me any output.
I've assumed this was due to a lack of administrator privilages.
So I uninstalled and reinstalled and selected to install the service this time.
I've since tried to run openvpn --config <profile> and an assortment of other commands, none of actually worked within the context of the MSA running from a scheduled task.
I've read and re-read https://openvpn.net/community-resources ... n-process/ and apparently missed something obviously very simply.
Any help would be appreciated.