I need to implement a solution for syncing offline files and folders in a script for users connecting with VPN to an SA 4000 Juniper box. So far I have been able to launch a vb script after Network Connect establishes the connection to map drives and sync offline folders. I used this link to initiate the sync
http://msdn2.microsoft.com/en-us/library/bb787862(VS.85).aspx. But that same vb script if run manually before disconnecting doesn't seem to sync any changes for some reason. If I manually right-click on My Documents and choose Synchronize, then the changes are synced. So what I need now is to find out what I need to run to force a sync again and have it run in a script that launch before sign off from Network Connect. The current script that disconnects network drives launches after Network Connect disconnencts.