'*********************************** SAMPLE VBSCRIPT FOR FORCING A GPO SYNC WHEN VPN CONNECTED STATE OCCURS ****************************
Set objShell = CreateObject("WScript.Shell")


'*********************************** FOR TESTING, 1, AFTER TESTING IS COMPLETE, USE 0 ****************************
objShell.Run "gpupdate.exe /force", 0, True

Set objShell = Nothing

'***********************************  The line below can be commented out in a real application. ****************************
MsgBox "User's GPO settings have been updated."


'******************************** END SAMPLE VBSCRIPT FOR FORCING A GPO SYNC WHEN VPN CONNECTED STATE OCCURS ****************************
