Can OpenVPN client run gpupdate /force
Posted: 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.
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.