I want to automatically reconncet my VPN client in case of disconnection. I have made changes in PCF.ini file. but it is not working for me.
In VPN client software I have
[Main]
AutoInitiationEnable=1
AutoInitiationRetryInterval=1
AutoInitiationList=ENOC-Aviation
[ENOC-Aviation]
Network=172.18.3.189
Mask=255.255.255.255
Before changes my PCF file was like this
[main]
Description=ENOC
Host=172.18.4.2
AuthType=1
GroupName=Aviation-VPN
GroupPwd=
enc_GroupPwd=8E4B2708911CD22913FA5A736A9A84770048B27EB7CC742CD82D09B39AD084E6A00B98B5BA58623D9E39FA552F858D9E
EnableISPConnect=0
ISPConnectType=0
ISPConnect=ENOC
ISPPhonebook=C:\Documents and Settings\All Users\Application Data\Microsoft\Network\Connections\Pbk\rasphone.pbk
ISPCommand=
Username=wasim.hassan
SaveUserPassword=1
UserPassword=
enc_UserPassword=8E4B2708911CD22913FA5A736A9A84770048B27E98C4544D283D30346052D44D0ACDEC853384EF3BE6D176E5CB5D7988FC75201993B7A21B
NTDomain=
EnableBackup=0
BackupServer=
EnableMSLogon=1
MSLogonType=0
EnableNat=1
TunnelingMode=0
TcpTunnelingPort=10000
CertStore=0
CertName=
CertPath=
CertSubjectName=
CertSerialHash=00000000000000000000000000000000
SendCertChain=0
PeerTimeout=90
EnableLocalLAN=0
After changes it is looking like this but it is not working.
[Main]
AutoInitiationEnable=1
AutoInitiationRetryInterval=1
AutoInitiationList=ENOC-Aviation
[ENOC-Aviation]
Network=172.18.3.189
Mask=255.255.255.255
Where ENOC-Aviation is Connection Entry in my VPN client. There will be only one Entry with this name in client VPN software.
Please let me why it is not working and what is missing in the configuration.
[main]
Description=ENOC
Host=172.18.4.2
AuthType=1
GroupName=Aviation-VPN
GroupPwd=
enc_GroupPwd=8E4B2708911CD22913FA5A736A9A84770048B27EB7CC742CD82D09B39AD084E6A00B98B5BA58623D9E39FA552F858D9E
EnableISPConnect=0
ISPConnectType=0
ISPConnect=ENOC
ISPPhonebook=C:\Documents and Settings\All Users\Application Data\Microsoft\Network\Connections\Pbk\rasphone.pbk
ISPCommand=
Username=wasim.hassan
SaveUserPassword=1
UserPassword=
enc_UserPassword=8E4B2708911CD22913FA5A736A9A84770048B27E98C4544D283D30346052D44D0ACDEC853384EF3BE6D176E5CB5D7988FC75201993B7A21B
NTDomain=
EnableBackup=0
BackupServer=
EnableMSLogon=1
MSLogonType=0
EnableNat=1
TunnelingMode=0
TcpTunnelingPort=10000
CertStore=0
CertName=
CertPath=
CertSubjectName=
CertSerialHash=00000000000000000000000000000000
SendCertChain=0
PeerTimeout=90
EnableLocalLAN=0