Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

AnyConnect client in Windows PE

Hi,

I need to establish a VPN connection from Windows PE. Have it working with our current Cisco VPN client but now we are moving to AnyConnect. Anybody has some experience with porting the AnyConnect client in Windows PE 2 or 3?

Thanks,

Toni

3 REPLIES
Community Member

Re: AnyConnect client in Windows PE

Hi Toni,

i had the same problem and now the AnyConnect client 2.4.xx is running in WinPE 3.0.

Here some description:

Create Target directory in WinPE...

Program Files\Cisco\Cisco AnyConnect VPN Client

Program Files\Cisco\Cisco AnyConnect VPN Client\res

ProgramData\Cisco\Cisco AnyConnect VPN Client (for the profile)

ProgramData\Microsoft\Event Viewer\Views\Cisco

Copy source files to the directorys....

vpnevents.dll to System32

Edit permissions on the folders above to full controll to everyone...

Register the following files:

Program Files\Cisco\Cisco AnyConnect VPN Client\vpnapi.dll

Windows\System32\vpnweb.ocx

Create, if needed, an shortcut to vpnui.exe

Edit registry...

HKEY_LOCAL_MACHINE\SOFTWARE\Cisco\Cisco AnyConnect VPN Client","Full Install","On"
HKEY_LOCAL_MACHINE\SOFTWARE\Cisco\Cisco AnyConnect VPN Client","InstallPathWithSlash","X:\Program Files\Cisco\Cisco AnyConnect VPN Client\"
HKEY_LOCAL_MACHINE\SOFTWARE\Cisco\Cisco AnyConnect VPN Client","VPNClientInstalled","1"
HKEY_LOCAL_MACHINE\SOFTWARE\Cisco\Cisco AnyConnect VPN Client\Upgrades","UpdateComplete","1"
HKEY_LOCAL_MACHINE\SOFTWARE\Cisco\UCF\Cisco AnyConnect VPN Client","UcfRegistrationLocation",""
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID\{C15C0F4F-DDFB-4591-AD53-C9A71C9C15C0}","","Cisco AnyConnect VPN Client COM API"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID\{C15C0F4F-DDFB-4591-AD53-C9A71C9C15C0}","DllSurrogate",""
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID\{C15C0F4F-DDFB-4591-AD53-C9A71C9C15C0}","PreferredServerBitness","2"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Cisco.AnyConnect.VpnApi","","Cisco AnyConnect VPN Client COM API"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Cisco.AnyConnect.VpnApi\CLSID","","{C15C0F4F-DDFB-4591-AD53-C9A71C9C15C0}"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Cisco.AnyConnect.VpnApi\CurVer","","Cisco.AnyConnect.VpnApi.1"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Cisco.AnyConnect.VpnApi.1","","Cisco AnyConnect VPN Client COM API"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Cisco.AnyConnect.VpnApi.1\CLSID","","{C15C0F4F-DDFB-4591-AD53-C9A71C9C15C0}"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Cisco.AnyConnect.VPNWeb","","Cisco AnyConnect VPN Client Web Control"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Cisco.AnyConnect.VPNWeb\CLSID","","{55963676-2F5E-4BAF-AC28-CF26AA587566}"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Cisco.AnyConnect.VPNWeb\CurVer","","Cisco.AnyConnect.VPNWeb.1"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Cisco.AnyConnect.VPNWeb.1","","Cisco AnyConnect VPN Client Web Control"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Cisco.AnyConnect.VPNWeb.1\CLSID","","{55963676-2F5E-4BAF-AC28-CF26AA587566}"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{548A1F06-AECE-4506-8ABB-5E3D3A99B67B}","","PSFactoryBuffer"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{548A1F06-AECE-4506-8ABB-5E3D3A99B67B}\InProcServer32","","X:\Program Files\Cisco\Cisco AnyConnect VPN Client\vpnapi.dll"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{548A1F06-AECE-4506-8ABB-5E3D3A99B67B}\InProcServer32","ThreadingModel","Both"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{55963676-2F5E-4BAF-AC28-CF26AA587566}","","Cisco AnyConnect VPN Client Web Control"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{55963676-2F5E-4BAF-AC28-CF26AA587566}\Control"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{55963676-2F5E-4BAF-AC28-CF26AA587566}\InprocServer32","","X:\WINDOWS\System32\vpnweb.ocx"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{55963676-2F5E-4BAF-AC28-CF26AA587566}\MiscStatus","","0"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{55963676-2F5E-4BAF-AC28-CF26AA587566}\MiscStatus\1","","132497"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{55963676-2F5E-4BAF-AC28-CF26AA587566}\ProgID","","Cisco.AnyConnect.VPNWeb.1"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{55963676-2F5E-4BAF-AC28-CF26AA587566}\Programmable"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{55963676-2F5E-4BAF-AC28-CF26AA587566}\ToolboxBitmap32","","X:\WINDOWS\System32\vpnweb.ocx, 101"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{55963676-2F5E-4BAF-AC28-CF26AA587566}\TypeLib","","{FBB4EBE1-E655-4027-ABC5-2AA2ECE84E26}"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{55963676-2F5E-4BAF-AC28-CF26AA587566}\Version","","1.0"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{55963676-2F5E-4BAF-AC28-CF26AA587566}\VersionIndependentProgID","","Cisco.AnyConnect.VPNWeb"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{C15C0F4F-DDFB-4591-AD53-C9A71C9C15C0}","","Cisco AnyConnect VPN Client COM API"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{C15C0F4F-DDFB-4591-AD53-C9A71C9C15C0}","AppID","{C15C0F4F-DDFB-4591-AD53-C9A71C9C15C0}"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{C15C0F4F-DDFB-4591-AD53-C9A71C9C15C0}\InprocServer32","","X:\Program Files\Cisco\Cisco AnyConnect VPN Client\vpnapi.dll"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{C15C0F4F-DDFB-4591-AD53-C9A71C9C15C0}\InprocServer32","ThreadingModel","Both"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{C15C0F4F-DDFB-4591-AD53-C9A71C9C15C0}\ProgID","","Cisco.AnyConnect.VpnApi.1"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{C15C0F4F-DDFB-4591-AD53-C9A71C9C15C0}\Programmable"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{C15C0F4F-DDFB-4591-AD53-C9A71C9C15C0}\TypeLib","","{C15C09AE-FCCE-9221-FFA2-7465FEAAE55A}"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{C15C0F4F-DDFB-4591-AD53-C9A71C9C15C0}\VersionIndependentProgID","","Cisco.AnyConnect.VpnApi"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{C15C09AE-FCCE-9221-FFA2-7465FEAAE55A}\1.0","","Cisco AnyConnect VPN Client API 1.0 Type Library"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{C15C09AE-FCCE-9221-FFA2-7465FEAAE55A}\1.0\0\win32","","X:\Program Files\Cisco\Cisco AnyConnect VPN Client\vpnapi.dll"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{C15C09AE-FCCE-9221-FFA2-7465FEAAE55A}\1.0\FLAGS","","0"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{C15C09AE-FCCE-9221-FFA2-7465FEAAE55A}\1.0\HELPDIR","","X:\Program Files\Cisco\Cisco AnyConnect VPN Client"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{FBB4EBE1-E655-4027-ABC5-2AA2ECE84E26}\1.0","","VPNWeb 1.0 Type Library"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{FBB4EBE1-E655-4027-ABC5-2AA2ECE84E26}\1.0\0\win32","","C:\windows\system32\vpnweb.ocx"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{FBB4EBE1-E655-4027-ABC5-2AA2ECE84E26}\1.0\FLAGS","","0"
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{FBB4EBE1-E655-4027-ABC5-2AA2ECE84E26}\1.0\HELPDIR","","C:\windows\system32"
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\dot3svc\Interfaces\{0BFBAE87-DF21-4F17-A6AB-441038DC462B}","Parameters","01","00","00","00"
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs","X:\windows\system32\vpnevents.dll","3"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Lsa\Kerberos\Parameters","MaxPacketSize","1"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Lsa\Kerberos\Parameters","MaxTokenSize","65535"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Cisco AnyConnect VPN Client","MaxSize","400000"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Cisco AnyConnect VPN Client","File","X:\WINDOWS\System32\CONFIG\vpn.evt"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Cisco AnyConnect VPN Client","Sources","vpnagent","vpndownloader","vpnui","vpnapi","vpncli","vpngina","vpnva","vpnplap","vpninstall"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Cisco AnyConnect VPN Client","Retention","0"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Cisco AnyConnect VPN Client\vpnagent","EventMessageFile","X:\WINDOWS\system32\vpnevents.dll"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Cisco AnyConnect VPN Client\vpnagent","TypesSupported","7"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Cisco AnyConnect VPN Client\vpnapi","EventMessageFile","X:\WINDOWS\system32\vpnevents.dll"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Cisco AnyConnect VPN Client\vpnapi","TypesSupported","7"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Cisco AnyConnect VPN Client\vpncli","EventMessageFile","X:\WINDOWS\system32\vpnevents.dll"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Cisco AnyConnect VPN Client\vpncli","TypesSupported","7"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Cisco AnyConnect VPN Client\vpndownloader","EventMessageFile","X:\WINDOWS\system32\vpnevents.dll"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Cisco AnyConnect VPN Client\vpndownloader","TypesSupported","7"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Cisco AnyConnect VPN Client\vpngina","EventMessageFile","X:\WINDOWS\system32\vpnevents.dll"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Cisco AnyConnect VPN Client\vpngina","TypesSupported","7"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Cisco AnyConnect VPN Client\vpninstall","EventMessageFile","X:\WINDOWS\system32\vpnevents.dll"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Cisco AnyConnect VPN Client\vpninstall","TypesSupported","7"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Cisco AnyConnect VPN Client\vpnplap","EventMessageFile","X:\WINDOWS\system32\vpnevents.dll"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Cisco AnyConnect VPN Client\vpnplap","TypesSupported","7"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Cisco AnyConnect VPN Client\vpnui","EventMessageFile","X:\WINDOWS\system32\vpnevents.dll"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Cisco AnyConnect VPN Client\vpnui","TypesSupported","7"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Cisco AnyConnect VPN Client\vpnva","EventMessageFile","X:\WINDOWS\system32\vpnevents.dll"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Cisco AnyConnect VPN Client\vpnva","TypesSupported","7"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Cisco AnyConnect VPN Client\vpnva","EventMessageFile","X:\WINDOWS\system32\vpnevents.dll"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Cisco AnyConnect VPN Client\vpnva","TypesSupported","7"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Cisco AnyConnect VPN Client\vpnva","EventMessageFile","X:\WINDOWS\system32\vpnevents.dll"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Cisco AnyConnect VPN Client\vpnva","TypesSupported","7"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\vpnagent","FailureActions","f0","00","00","00","01","00","00","00","01","00","00","00","04","00","00","00","74","00","65","00","01","00","00","00","e8","03","00","00","","01","00","00","00","a0","0f","00","00","01","00","00","00","20","4e","00","00","01","00","00","00","60","ea","00","00"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\vpnagent","Type","16"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\vpnagent","Start","2"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\vpnagent","ErrorControl","1"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\vpnagent","ImagePath","X:\Program Files\Cisco\Cisco AnyConnect VPN Client\vpnagent.exe"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\vpnagent","DependOnService","Tcpip"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\vpnagent","DisplayName","Cisco AnyConnect VPN Agent"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\vpnagent","Group","TDI"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\vpnagent","ObjectName","LocalSystem"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\vpnagent","Description","Cisco AnyConnect VPN Agent for Windows"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\vpnva","ImagePath","system32\DRIVERS\vpnva.sys"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\vpnva","Start","3"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\vpnva","ErrorControl","1"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\vpnva","Tag","18"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\vpnva","DisplayName","Cisco AnyConnect VPN Virtual Miniport Adapter for Windows"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\vpnva","Group","NDIS"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\vpnva\Enum","0","Root\NET\0000"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\vpnva\Enum","Count","1"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\vpnva\Enum","NextInstance","1"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0001","NetCfgInstanceId","{0BFBAE87-DF21-4F17-A6AB-441038DC462B}"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0001","DeviceInstanceID","ROOT\NET\0000"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0001","ComponentId","vpnva"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0001","InfPath","X:\WINDOWS\Inf\oem1.inf"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0001","InfSection","Cisco.ndi"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0001","ProviderName","Cisco Systems"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0001","DriverDate","12-18-2008"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0001","DriverDateData","00","c0","de","91","a3","60","c9","01"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0001","InstallTimeStamp","da","07","0a","00","03","00","06","00","09","00","07","0d","00","6b","03"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0001","DriverVersion","2.3.195.0"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0001","MatchingDeviceId","vpnva"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0001","DriverDesc","Cisco AnyConnect VPN Virtual Miniport Adapter for Windows"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0001","NewDeviceInstall","1"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0001","*IfType","6"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0001","Characteristics","1"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0001","NetLuidIndex","9"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0001","*NdisDeviceType","1"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0001\Linkage","RootDevice","7b","00","30","00","42","00","46","00","42","00","41","00","45","00","38","00","37","00","2d","00","44","00","46","00","32","00","31","00","2d","00","34","00","46","00","31","00","37","00","2d","00","41","00","36","00","41","00","42","00","2d","00","34","00","34","00","31","00","30","00","33","00","38","00","44","00","43","00","34","00","36","00","32","00","42","00","7d","00","00","00","00","00"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0001\Linkage","UpperBind","4e","00","64","00","69","00","73","00","75","00","69","00","6f","00","00","00","52","00","61","00","73","00","50","00","70","00","70","00","6f","00","65","00","00","00","72","00","73","00","70","00","6e","00","64","00","72","00","00","00","6c","00","6c","00","74","00","64","00","69","00","6f","00","00","00","54","00","63","00","70","00","69","00","00","00","00","54","00","63","00","70","00","69","00","70","00","36","00","00","00","00","00"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0001\Linkage","Export","5c","00","44","00","65","00","76","00","69","00","63","00","65","00","5c","00","7b","00","30","00","42","00","46","00","42","00","41","00","45","00","38","00","37","00","2d","00","44","00","46","00","32","00","31","00","2d","00","34","00","46","00","31","00","37","00","2d","00","41","00","36","00","41","00","42","00","2d","00","34","00","34","00","31","00","30","00","33","00","38","00","44","00","43","00","34","00","36","00","32","00","42","00","7d","00","00","00","00","00"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0001\Linkage","FilterList","7b","00","30","00","42","00","46","00","42","00","41","00","45","00","38","00","37","00","2d","00","44","00","46","00","32","00","31","00","2d","00","34","00","46","00","31","00","37","00","2d","00","41","00","36","00","41","00","42","00","2d","00","34","00","34","00","31","00","30","00","33","00","38","00","44","00","43","00","34","00","36"," 00","32","00","42","00","7d","00","2d","00","7b","00","35","00","43","00","42","00","46","00","38","00","31","00","42","00","44","00","2d","00","35","00","30","00","35","00","35","00","2d","00","34","00","37","00","43","00","44","00","2d","00","39","00","30","00","35","00","35","00","2d","00","41","00","37","00","36","00","42","00","32","00","42","00","34","00","45","00","33","00","36","00","39","00","38","00","7d","00","2d","00","30","00","30","00","30","00","30","00","00","00","7b","00","30","00","42","00","46","00","42","00","41","00","45","00","38","00","37","00","2d","00","44","00","46","00","32","00","31","00","2d","00","34","00","46","00","31","00","37","00","2d","00","41","00","36","00","41","00","42","00","2d","00","34","00","34","00","31","00","30","00","33","00","38","00","44","00","43","00","34","00","36","00","32","00","42","00","7d","00","2d","00","7b","00","42","00","35","00","46","00","34","00","44","00","36","00","35","00","39","00","2d","00","37","00","44","00","41","00","41","00","2d","00","34","00","35","00","36","00","35","00","2d","00","38","00","45","00","34","00","31","00","2d","00","42","00","45","00","32","00","32","00","30","00","45","00","44","00","36","00","30","00","35","00","34","00","32","00","7d","00","2d","00","30","00","30","00","30","00","30","00","00","00","7b","00","30","00","42","00","46","00","42","00","41","00","45","00","38","00","37","00","2d","00","44","00","46","00","32","00","31","00","2d","00","34","00","46","00","31","00","37","00","2d","00","41","00","36","00","41","00","42","00","2d","00","34","00","34","00","31","00","30","00","33","00","38","00","44","00","43","00","34","00","36","00","32","00","42","00","7d","00","2d","00","7b","00","42","00","37","00","30","00","44","00","36","00","34","00","36","00","30","00","2d","00","33","00","36","00","33","00","35","00","2d","00","34","00","44","00","34","00","32","00","2d","00","42","00","38","00","36","00","36","00","2d","00","42","00","38","00","41","00","42","00","31","00","41","00","32","00","34","00","34","00","35","00","34","00","43","00","7d","00","2d","00","30","00","30","00","30","00","30","00","00","00","00,00"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0001\Ndi","Service","vpnva"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0001\Ndi\Interfaces","DefUpper","ndis5"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0001\Ndi\Interfaces","DefLower","ethernet"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0001\Ndi\Interfaces","UpperRange","ndis5"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0001\Ndi\Interfaces","LowerRange","ethernet"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}\Descriptions","Cisco AnyConnect VPN Virtual Miniport Adapter for Windows","1"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}\{0BFBAE87-DF21-4F17-A6AB-441038DC462B}\Connection","DefaultNameResourceId","1802"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}\{0BFBAE87-DF21-4F17-A6AB-441038DC462B}\Connection","DefaultNameIndex","0"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}\{0BFBAE87-DF21-4F17-A6AB-441038DC462B}\Connection","Name","Local Area Connection"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}\{0BFBAE87-DF21-4F17-A6AB-441038DC462B}\Connection","PnpInstanceID","ROOT\NET\0000"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\NET\0000","ClassGUID","{4d36e972-e325-11ce-bfc1-08002be10318}"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\NET\0000","Class","Net"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\NET\0000","Driver","{4d36e972-e325-11ce-bfc1-08002be10318}\0011"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\NET\0000","Mfg","@vpnva.inf,%cisco%;Cisco Systems"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\NET\0000","Service","vpnva"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\NET\0000","DeviceDesc","%vpnva.devicedesc%;Cisco AnyConnect VPN Virtual Miniport Adapter for Windows"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\NET\0000","ContainerID","{00000000-0000-0000-FFFF-FFFFFFFFFFFF}"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\NET\0000","ConfigFlags","1"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\NET\0000","Capabilities","0"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\NET\0000","HardwareID","VPNVA",""

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\NET\0000\Device Parameters","InstanceIndex","1"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\NET\0000\LogConf"

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\NET\0000\Control"

That all and Any Connect runs....

Community Member

Re: AnyConnect client in Windows PE

Hi Mirko,

Thanks for you reply and hints. Hope you can give me some final help to achieve this. I have followed your instructions, adding the files and registry keys to WinPe. Now when PE boots I have to manually register vpnapi.dll and vpnweb.ocx (both register succesfully), then start vpnagent service (net start vpnagent) and then I launch vpnui.exe.

Everything seems to work fine, I am prompted for user and password and this is properly recognized, but after this the AnyConnect client stays there showing the message "Establishing VPN session" and it doesn't proceed.

I guess I am very close to achieve this and probably I am missing something silly. Have started the process from scratch again to make sure I did everything OK and I got exactly sae result.

I would appreciate any idea that help me to move forward.

Thanks

Toni

Community Member

Re: AnyConnect client in Windows PE

Hi Toni,

it was along time ago that you open this thread, I didn't thought that you still have problems with the client....

First question is... Which version of anyconnect client you use..? The version 2.5.xx doesn't work!! I don't know why...

(my english is not the best!!! sorry)

Best regards

Mirko

3625
Views
0
Helpful
3
Replies
CreatePlease to create content