
One of the main reason for that is the way quotes are handled.įor instance, the Registry for the Wireshark application contains QuietUninstallString with a value of: But if I try to run said command nothing happens. I have been able to obtain the uninstall commands from the registry. Maybe it is a file in hidden folder, registry key, maybe in some temp folder, I really do not know.Since win32_product has issues (between not returning the full list of programs and encurring a repair of applications) I ve been looking at the registry to get applications matching a certain expression and in-installing it. when I log into same Windows (as described above) and I run the Client (with hostname already filled but shown only after login to Windows) and I connect to VPN, all working fine, disconnect VPN, then I restart the PC and click on SBL module again now the hostname is filled out.Īnd this gets me thinking that this VALUE has to be stored somewhere on Windows 10. when we install the whole PC from SCCM and installation finishes and there is log in screen to windows and I click on Start Before Login icon the hostname is NOT filled out and this is most crucial for us to GET THIS WORKING when I have copied the file to folder suggested by me C:\Users\Default\AppData\Local\Cisco\Cisco An圜onnect Secure Mobility Client\preferences.xml and I log in as new user and I open the Client the hostname is filled out and this is OK FOR US when I have copied the file to your suggested to folder C:\ProgramData\Cisco\Cisco An圜onnect Secure Mobility Client\Profile NOTHING CHANGES FOR US Thank you for your reply, all your knowledge is golden to me! So these are my results: Maybe this can be useful for you.Īnd also may I please ask you to comment if our preferences.xml is ok? What I have done is that I have copied the preferences.xml file to hidden folder on path C:\Users\Default\AppData\Local\Cisco\Cisco An圜onnect Secure Mobility Client\preferences.xml and this way when new user logs into Windows it gets settings copied to user profile from the default one and now when user opens Secure Mobility Client the host name is filled out. When new user logs into Windows and runs the Secure Mobility Client the host name is still empty there. When I applied your suggestion it did not help. We use SCCM to deploy both Secure Mobility Client and Start Before Login Module. Many thanks for the reply! I am glad that you explained that this is not doable from command line but there is a workaround.


Here's a basic one that you can customize for use (modify the elements I highlighted in red): However if you are deploying using SCCM or some other centralized deployment tool you can copy an An圜onnect VPN profile (xml file created with the stand alone VPN profile editor or from ASDM) to the hidden (by default in Windows) profiles folder (i.e., C:\ProgramData\Cisco\Cisco An圜onnect Secure Mobility Client\Profile).

This can't be done as part of the msi install.
