Support Forum: Get Support for Patch My PC Products and Services

Commercial Products: Support for Our Enterprise Product for Microsoft ConfigMgr and Intune => Commercial/Paid Products: Support and General Questions (ConfigMgr and Intune) => Topic started by: l_seitz on March 06, 2025, 07:16:49 AM

Title: Cisco Anyconnect - Disable VPN?
Post by: l_seitz on March 06, 2025, 07:16:49 AM
Implementing this KB for ConfigMgr and Intune - I need to ensure that it turns off the VPN client during install which we are not using.  Is the "Disable_ServiceProfile.xml" that is outlined in the .ps1 installer the solution?  If so how can I obtain - Thank you!

https://patchmypc.com/how-to-bundle-cisco-anyconnect-modules-to-install-in-a-specific-order
Title: Re: Cisco Anyconnect - Disable VPN?
Post by: Mona (Patch My PC) on March 06, 2025, 10:16:18 AM
The Disable_ServiceProfile.xml file is often found in the Profiles or Templates directory within the package. To disable the VPN, add: PRE_DEPLOY_DISABLE_VPN=1 in the command line. You can do this in the publisher by right-clicking on the application and selecting "Modify Command Line."
Title: Re: Cisco Anyconnect - Disable VPN?
Post by: l_seitz on March 07, 2025, 11:53:50 AM
that did the trick thank you!