Can OpenVPN client run gpupdate /force

How to customize and extend your OpenVPN installation.
Post Reply
OpenVpn Newbie
Posts: 1
Joined: Sat Oct 31, 2020 2:52 am

Can OpenVPN client run gpupdate /force

Post by gbrownuk » Sat Oct 31, 2020 3:02 am

I have thirty mobile workers connecting to an Azure VPN Gateway from their Windows 10 laptops using the latest OpenVPN client.
Is there a setting available to add to the client config file that will run a gpupdate /force, so the users get the latest group polices?

Usually the GPO are downloaded during Windows login when connected to the domain and are enforced before the desktop is displayed. When everyone is working from home due to Covid, the group policy are not loaded and can take up to 120-minutes after they establish a VPN connection and join the domain. I have written a Windows service to look for a openvpn deamon and if its found runs the gpupdate, but I would rather the Openvpn client do this if possible. Any help would be appreciated.

OpenVpn Newbie
Posts: 4
Joined: Mon Jun 15, 2015 1:37 pm

Re: Can OpenVPN client run gpupdate /force

Post by frinnst » Mon Nov 09, 2020 10:44 am

Also interested in this

User avatar
OpenVpn Newbie
Posts: 13
Joined: Sun Jul 26, 2015 1:14 pm

Re: Can OpenVPN client run gpupdate /force

Post by vandreytrindade » Fri Nov 13, 2020 7:55 pm

I've changed the GPO refresh time to 30 mins (and 5 mins random time).
I think that maybe you can use the "up" parameter to call a script on OpenVPN.
I'm thinking on adding mapped network shares on that script.

Post Reply