VBScript hang at logoff with split tunnel vpn
Posted on 2006-04-18
I am troubleshooting a hang on a vbscript whichs runs at logoff when using a split-tunnel Cisco SSL vpn on a Windows Server 2003 domain. The script loops through all possible mapped network drives (letters O through Z), enumerating and disconnecting the drives if mapped. I use Cisco PIX Firewall, with both Cisco VPN client software and web-based SSL vpn. The SSL vpn has split tunneling enabled so some lab machines can be reached. I have enabled in Group Policy the Maximum Time to Wait for Scripts and set it to 45 seconds before ending the logoff. This solves the problem of having remote users wait up to 10 minutes (600 second default before forcing logoff) to shut down their machines properly. This hang happens with the ssl vpn connected or disconnected when the user logs off, but does not happen when using the vpn client (no split tunnel) in the same scenario. Any ideas?