AnyConnect Software not installed on Windows 10

Ashwin Chougule 1 Reputation point
2020-10-25T14:04:21.357+00:00

Hello Team,

We tried to upgrade Anyconnect secure mobility client 4.9.00086 through the SCCM tool on the end-user machines. Some of the users having issues after the upgrade. they are getting below error message.

"There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor." error message while installing the latest AnyConnect Client applications on user PCs.

This issue has occurred on Windows 10 1607 (OS Build 14393.3930) version. On this OS we can not install a higher version anyconnect file and a lower version anyconnect file.

Some of the user's are sitting in offices and some of the users are working from home through VPN.

When we deploy package through SCCM that time user connected on VPN and at that time existing VPN get uninstall & communication of that systems with SCCM get disconnected so that new version up-gradation is gets stuck till when it again communicate to SCCM. After communicating with SCCM then also it's not working.

We have tried the below troubleshooting steps.

> The customer has followed the steps as per the article https://www.petenetlive.com/KB/Article/0000985. After that tried to install the AnyConnect 4.9.00086 version again, but we were still getting the same error message.
> Shared PurgeNotifyObjects.exe file with the customer and ran the command "PurgeNotifyObjects.exe -confirmdelete". After that tried to install the AnyConnect 4.9.00086 version again, but we were still getting the same error message.
> Also tried to run the Microsoft trouble-shooter tool https://support.microsoft.com/en-us/help/17588/windows-fix-problems-that-block-programs-being-installed-or-removed
> Tried to install different versions of AnyConnect Client 4.9.01095 and 4.8.03052, the installation has failed with the same error message.

On the same OS version, the same Anyconnect version is successfully installed on the end-user machine.

Can you please suggest the next step to resolve this issue? It's really helpful for me.

Thanks,
Ashwin

Microsoft Security Intune Configuration Manager Other
{count} votes

12 answers

Sort by: Most helpful
  1. prateek yadav 1 Reputation point
    2021-06-09T18:28:05.877+00:00

    HI Everyone,

    I have created this sop in order to resolve the issue step by step. But the dilemma is, I am also stuck during solution 1.

    Issue is when we try to clear Cisco purge files
    PurgeNotifyObjects.exe file with the customer and ran the command "PurgeNotifyObjects.exe -confirmdelete". we faced an error.

    Error: 0x8007007E.
    I think this error can be better explained by the Microsoft team. Please help because without the removal of purge files no solution is working and the build of the machine is also up to date with CIsco. We have checked every possible scenario. So please help us with that error.

    103963-purge-error.png

    0 comments No comments

  2. prateek yadav 1 Reputation point
    2021-06-09T17:54:30.487+00:00

    Hi Everyone,

    We are also facing this kind of issue while installing Cisco any-connect to end machines. And in order to resolve this we have to build an SOP:

    Solution 1: Clean Up all cisco components

    Step 1: Make sure cisco any connect is completely uninstalled in the control panel.
    Step 2: Copy the cleanup zip file(can be found with cisco any-connect package), unzip & paste in the Document folder.
    Step 3: Open command prompt as admin privilege and map the directory where PurgeNotifyObjects.exe file is present and type -confirm delete then give enter
    Step 4: Delete cisco folder from the path: C:\ProgramData
    Step 5: Delete cisco folder from the path: C:\Program files (x86)
    Step 6: Delete cisco folder from the path: C:\users\Parteek.yadav
    Step 7: Delete cisco folder from the path: C:\Users\Parteek.yadav\AppData\Local
    Step 8: Restart the machine.
    Step 9: After restart, Install Cisco any connect
    Step 10: Cisco Any-connect will install in the backend. From the task manager, you can verify window installer is running & installing the agent on the machine. Please wait for approx. 5 min & once window installer is stopped. Please restart the machine.
    Step 11: Cisco Any-Connect is installed now & can verify at Control Panel. i.e:

    Solution 2: If above one solution 1 is not working:

    Download the troubleshooter at user machine(https://support.microsoft.com/en-us/topic/fix-problems-that-block-programs-from-being-installed-or-removed-cca7d1b6-65a9-3d98-426b-e9f927e1eb4d),
    Which will help you automatically repair issues when you're blocked from installing or removing programs. It also fixes corrupted registry keys.
    Link: Fix problems that block programs from being installed or removed (microsoft.com)

    Solution 3: If above one solution 1 & 2 is not working.

    Step 1: Uninstall the cisco any-connect & delete all cisco files from paths mentioned in Solution 1.
    Step 2: Create a new local administrator account & run the Package. Restart system. Use cisco any connect with the domain user.
    Step 3: And delete that local administrator account. Later due to security Issue.

    Solution 4: Troubleshooting when the above Solutions are not working:

    In this case, we recommend that you re-register the Windows Installer. To do this follow the steps below:
    Step 1: Uninstall the cisco any-connect & delete all cisco files from paths mentioned in Solution 1.
    Step 2: Click Start, type Command Prompt, right-click on the program and select Run as administrator.
    Step 3: On the Command Prompt, type the following command and press Enter:
    • %windir%\system32\msiexec.exe /unregister
    • %windir%\syswow64\msiexec.exe /unregister
    • %windir%\system32\msiexec.exe /regserver
    • %windir%\syswow64\msiexec.exe /regserver
    Note: Be aware of the space between msiexe.exec and /.
    Once done, restart your computer and check if your concern persists.

    Step 4: After restart Install Cisco Any-Connect (follow steps 9-11 from solution 1).
    If all the above solution Not works please raise an investigation with Microsoft OR reimage the user machine or repaired windows 10.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.