User Rating: / 8
PoorBest 

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.
 

[main]
ClientLanguage=
RunAtLogon=1
DialerDisconnect=0
ConnectOnOpen=1
AutoInitiationEnable=1
AutoInitiationRetryInterval=1
AutoInitiationList=PACKETLAND_VPN
StatefulFirewall=0
[PACKETLAND_VPN]
Network=172.20.10.0
Mask=255.255.255.0
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.

34%United States United States
6.9%United Kingdom United Kingdom
6.2%India India
4.8%Australia Australia
3.9%Germany Germany
3.4%Russian Federation Russian Federation
3.2%Canada Canada
2.6%Italy Italy
2.1%Brazil Brazil
1.9%France France

Today: 15
Yesterday: 77
This Week: 535
Last Week: 676
This Month: 1959
Last Month: 3086
Total: 62081