Thanks for your feedback. But in my situation your way is not working at all.
Althought even if you hide SuRun from start menu, one that whants to run a program elevated and knows more in computer will find how to do it.
Never talked about start menu? Conceringn SuRun that doesn't matter, you don't hide it..you disallow normal users. Even if you start SuRun (that you can't do if it is set it correctly) you can't run/change/or do anything if you are not the admin. So go ahead and show me a way how to elevate my user privileges that is not admin to admin privileges in the same user context. 🙂
I will go by setting OpenVPN as a service which will connect before users logs in system. And configure the OpenVPN server to disable routing when laptop will connect from local work LAN.
Running OpenVPN as a service is not a solution. It doesn't solve the problem. It's not about when it starts or when not or if it's an process or a service.
It's about user context and privileges. Because you would run the service as a user that has special privileges to set routes. If you do that, OpenVPN will run in the service users context and does not run in the correct currently logged in user context. In then it won't run my scripts as needed. And it won't map the drives...and...and...and have many other disadvantageous things.
So I'm sorry to say but your idea is not a solution at all. Have you read my requirements and my tasklist?