{"id":813,"date":"2012-05-01T10:56:00","date_gmt":"2012-05-01T15:56:00","guid":{"rendered":"https:\/\/anildesai.net\/?p=813"},"modified":"2012-06-03T12:05:40","modified_gmt":"2012-06-03T17:05:40","slug":"cisco-anyconnect-vpn-client-and-windows-8-compatibility","status":"publish","type":"post","link":"https:\/\/anildesai.net\/index.php\/2012\/05\/cisco-anyconnect-vpn-client-and-windows-8-compatibility\/","title":{"rendered":"Cisco AnyConnect VPN Client and Windows 8 Compatibility"},"content":{"rendered":"<p><a href=\"http:\/\/www.cisco.com\/en\/US\/products\/ps8411\/tsd_products_support_series_home.html\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: right; padding-top: 0px; padding-left: 0px; margin: 4px 10px; display: inline; padding-right: 0px; border-top-width: 0px\" border=\"0\" alt=\"image\" align=\"right\" src=\"https:\/\/anildesai.net\/wp-content\/uploads\/2012\/05\/image1.png\" width=\"121\" height=\"77\" \/><\/a>Migrating to a new operating system can be tricky, with some special \u201cgotchas\u201d for various applications.&#160; While Microsoft has done a great job in minimizing driver changes that can impact application and hardware compatibility, there are always some exceptions.&#160; One particularly problematic piece of software for me has always been Cisco\u2019s AnyConnect VPN client.&#160; I rely on it for connecting to my clients\u2019 networks and, for the most part, it works well on Windows 7.&#160; <\/p>\n<h3>The Problem<\/h3>\n<p>While testing the Windows 8 Consumer Preview, though, I ran into some problems.&#160; While the standard x64 installer for the client seemed to work properly, the client would automatically disconnect after authenticating with the VPN server.&#160; I\u2019d receive the following error message:<\/p>\n<blockquote>\n<p><font color=\"#000000\">Secure VPN Connection terminated locally by the Client.<\/font><\/p>\n<p><font color=\"#000000\">Reason 442: failed to enable Virtual Adapter<\/font><\/p>\n<\/blockquote>\n<h3>The Solution<\/h3>\n<p>Thanks to some really helpful posts online (references below), I found that the solution was to make a minor change to the Registry.&#160; First, using RegEdit, find the following Registry path:<\/p>\n<p><strong><em>KEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\CVirtA<\/em><\/strong><\/p>\n<p>You should see a key called \u201c<em>DisplayName<\/em>\u201d.&#160; Simply change its value by removing the unnecessary characters at the beginning of the name.&#160; In my case, I was left with \u201cCisco Systems VPN Adapter for 64-bit Windows\u201d, and everything worked fine when I tried to connect again.&#160; It\u2019s a strange bug (and one that I wish was better documented), but I have been up and running after this change on three different computers.&#160; <\/p>\n<p>If you\u2019re unfamiliar with editing the Registry (and the inherent dangers therein), the below links will provide more details).<\/p>\n<h4>Update for Windows 8 Release Preview: <\/h4>\n<p>The above Registry path on my most recent installation seems to have changed; on my primary computer, the correct path is:<\/p>\n<p><strong><em>KEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\<font style=\"background-color: #ffff00\">vpnva<\/font><\/em><\/strong><\/p>\n<p>Fortunately, the DisplayName key change worked fine for me.<\/p>\n<h3>Other Options<\/h3>\n<p>The Cisco AnyConnect VPN client seems to be aging, and support is difficult to come by unless you have a Cisco support account.&#160; Fortunately, there are other third-party commercial and freeware alternatives. It has been a while since I\u2019ve used any of them, but one that I see mentioned often is the <a href=\"http:\/\/www.shrew.net\/download\/vpn\">VPN Client for Windows from Shrew.net<\/a>.&#160; Feel free to post a comment if you\u2019ve had any experiences (good or bad) with VPN alternatives.<\/p>\n<h3>References<\/h3>\n<ul>\n<li><a href=\"http:\/\/social.msdn.microsoft.com\/Forums\/en-US\/windowsdeveloperpreviewgeneral\/thread\/6fe817f3-27fe-4068-995a-aced4508ee3e\">MSDN Forums: \u201cWindows 8 and (Cisco) VPN\u201d<\/a> <\/li>\n<li><a href=\"http:\/\/www.windows7hacker.com\/index.php\/2011\/10\/how-to-get-cisco-vpn-to-work-on-windows-8-developer-preview\/\">Windows 7 Hacker: How To Get Cisco VPN to Work on Windows 8 Developer Preview<\/a> <\/li>\n<li><a href=\"http:\/\/www.cisco.com\/en\/US\/products\/ps8411\/products_qanda_item09186a00809aec31.shtml\">Cisco AnyConnect VPN Client FAQ<\/a> <\/li>\n<li><a href=\"https:\/\/supportforums.cisco.com\/thread\/2105541\">Cisco Support Community: Developer Version Windows 8<\/a> <\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Migrating to a new operating system can be tricky, with some special \u201cgotchas\u201d for various applications.&#160; While Microsoft has done a great job in minimizing driver changes that can impact application and hardware compatibility, there are always some exceptions.&#160; One particularly problematic piece of software for me has always been Cisco\u2019s AnyConnect VPN client.&#160; I [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[40,30,43],"tags":[],"class_list":["post-813","post","type-post","status-publish","format-standard","hentry","category-networking","category-general-systems-admin","category-windows-8"],"_links":{"self":[{"href":"https:\/\/anildesai.net\/index.php\/wp-json\/wp\/v2\/posts\/813","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/anildesai.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/anildesai.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/anildesai.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/anildesai.net\/index.php\/wp-json\/wp\/v2\/comments?post=813"}],"version-history":[{"count":3,"href":"https:\/\/anildesai.net\/index.php\/wp-json\/wp\/v2\/posts\/813\/revisions"}],"predecessor-version":[{"id":864,"href":"https:\/\/anildesai.net\/index.php\/wp-json\/wp\/v2\/posts\/813\/revisions\/864"}],"wp:attachment":[{"href":"https:\/\/anildesai.net\/index.php\/wp-json\/wp\/v2\/media?parent=813"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/anildesai.net\/index.php\/wp-json\/wp\/v2\/categories?post=813"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/anildesai.net\/index.php\/wp-json\/wp\/v2\/tags?post=813"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}