13 July 2012
This is usually very useful for remote clients connecting to the office, and their PC is part of the domain, which means that if they haven't logged in for a while to the network and their cached domain logon credentials have expired they won't be able to login to windows at all unless they create a VPN connection to the office and be able to authenticate to the Domain controller during the logon process.
The solution to this problem is the auto-initiation feature on Cisco VPN client that supports connecting the VPN Client to the corporate network and establishing a connection before even logging in to windows.
In order to configure the auto initiation feature, the vpnclient.ini file needs to be modified, which is located at "C:\Program Files\Cisco Systems\VPN Client\".
The default content of the file viewed with a text editor is the following:
[main] ClientLanguage= [GUI] WindowWidth=719 WindowHeight=550 WindowX=564 WindowY=187 VisibleTab=0 ConnectionAttribute=0 AdvancedView=1 LogWindowWidth=867 LogWindowHeight=650 LogWindowX=177 LogWindowY=43 DefaultConnectionEntry=PACKETLAND_VPN
The following keywords must be added in the respective section as shown below in bold, in order for the auto initiation feature to be activated and to be able to connect automatically by starting a PC and loading windowsto the log in screen.
[Main] section of the vpnclient.ini global profile file:
AutoInitiationEnable—enables (1) or disables (0) auto initiation.
AutoInitiationRetryInterval—specifies the number of minutes to wait before you retry an auto initiation connection. the default retry interval is one minute.
AutoInitiationRetryIntervalType—specifies whether the retry AutoInitiationRetryInterval parameter is displayed in minutes or seconds. The default is minutes.
AutoInitiationList—provides a series of section names, each of which contains a network address, a subnet mask, a connection entry name, and optionally, a connect flag. You can include a maximum of 64 section (network) entries.
ConnectionEntry=PACKETLAND_VPN [GUI] WindowWidth=719 WindowHeight=550 WindowX=564 WindowY=187 VisibleTab=0 ConnectionAttribute=0 AdvancedView=1 LogWindowWidth=867 LogWindowHeight=650 LogWindowX=177 LogWindowY=43 DefaultConnectionEntry=PACKETLAND_VPN
Make sure you save all changes made to the vpnclient.ini and also restart the VPN Client software to take effect.