Anyconnect Network Access Manager



  1. Cisco Anyconnect Network Access Manager Service Not Starting
  2. Cisco Anyconnect Network Access Manager
  3. Anyconnect Network Access Manager

Environment:

My customer is using Cisco AnyConnect not just as VPN client, either for NAC (Network Admission Control) aka. 802.1x authentication. That means, without this AnyConnect software and other requirements (ex. certificate), the workstation is not able to access to the corporate network. So it’s a NOGO, if this client during the upgrade (software/OS) process is not working properly.

Situation:

Following issue has been realised during the Windows 10 feature upgrade (1511 –> 1607). But we had the same problem when the AnyConnect client has to be updated (4.4.04030 –> 4.5.02036) regarding the Krack vulnerability.

The AnyConnect module being discussed here is the network access manager (NAM), which performs 802.1x functions for endpoints onboarding to the internal network. The reconnecting / reauthentication is not the same as VPN access. So it sounds like your question is related to the AnyConnect core remote access VPN functions. Cisco and IT training in the Fast Lane! Uninstall: MSI - Cisco AnyConnect Network Access Manager - Windows. Log In or Register to download the BES file, and more. This task will uninstall the MSI: Cisco AnyConnect Network Access Manager.

Issues:

  • Some Windows 10 clients had a BSOD during the feature upgrade from version 1511 to 1607. Hereby, the upgrade parameter /MigrateDrivers all has been used.
  • Cisco AnyConnect client couldn’t be updated from version 4.4.04030 to 4.5.02036. Hereby, the precise issue is, the Network Access Manager Filter Driver (3.1.6010 –> 4.3.5009) couldn’t be renewed.

Workaround by Cisco:

Anyconnect Network Access Manager

We opened an official Cisco ticket to solve this issue. They mentioned, the software upgrade process has to be straight forward. It means, uninstall old version of AnyConnect client –> reboot the client –> install the new client version –> reboot the client.

It’s not working correctly, because the old driver cannot be uninstalled successfully. The new software version can be installed without any issue, but under the hood the driver cannot be renewed.

Download

Anyway, this workaround is not really a good option in our case. Because as I said, without this AnyConnect client the workstation is definitely offline and ex. cannot continue any software deployment process.

Resolution:

  1. Copy the AnyConnectFix.ps1 script locally
    2
    4
    6
    [string]$acdriverpath=${env:ProgramFiles(x86)}+'CiscoCisco AnyConnect Secure Mobility Clientdrv'
    [string]$acnamfdsys=Select-String-Path'$env:windirinf*.inf'-patternacnamfd.sys|Select-object-first1|select-ExpandPropertyPath
    #-----------------------------------------------------------------------------------
  2. Configure Wired AutoConfig (Dot3svc) service start for demand.
  3. Configure Cisco AnyConnect Network Access Manager (nam) service stat for auto.
  4. Configure Cisco AnyConnect Network Access Manager Logon Module (namlm) service stat for auto.
  5. Install Cisco AnyConnect Diagnostic and Reporting Tool
  6. Reboot
    • Starting the AnyConnectFix.ps1 upgrade script at the startup
  7. Unregister scheduled task and cleanup the left-over files

This workaround has been officially confirmed by Cisco.

Microsoft case:

Cisco Anyconnect Network Access Manager Service Not Starting

For this case Cisco has involved Microsoft as well, because Cisco said, ‘it’s an operating system issue‘. As I have already heard many times…

Anyconnect

… if a migration has every occurred on the machine, numerous artifacts are left behind which will interfere with subsequent installs or upgrades of the AnyConnect VPN’s (or any VPN for that matter). The combination of various keys varies and cleaning some of them will sometimes work.

For example, we see at least 3 scenarios:

  1. ACNAMFDBCTL.DLL is not removed or unregistered.
  2. ACNAMFD.SYS is not removed and service remains active
  3. VPNVA is not removed and service remains active (sometimes not active but present)
  4. Or any combination of the above (this is what made this complex since the repro was not consistent and varied between machines… what works for one machine may fail on another).

Each of these will cause a failure of subsequent installs of AnyConnect….

Conclusion:

Cisco Anyconnect Network Access Manager

Both cases are still open, but our “self designed” upgrade process, we can detect the correct version of each software components and which is more important, the correct NAM filter driver has been successfully registered. It has to be used as workaround, but our Cisco AnyConnect client upgrade for more than 1’400 workstations has been worked properly.

Anyconnect Network Access Manager

Our customer is happy –> we are happy!