Posted on 04-11-2023 03:42 AM
Hi,
on our Mac that were enrolled through prestage enrollment the login items for the Viscosity client disappear every time after restart.
On user-enrolled Macs this problem doesn't occur. Does anyone have an idea what could be a fix for this? Thanks.
04-11-2023 08:44 PM - edited 04-11-2023 08:47 PM
How and when is the viscosity client being installed for both cases (user enrolled and autoenrolled)?
Posted on 04-12-2023 01:27 AM
the viscosity client is being installed through Self Service manually after enrollment in both cases
Google Drive stays in the login items
Posted on 04-12-2023 06:17 AM
@k0_bgf does the Viscosity client actually get removed from the device or does the icon simply get removed from the dock or desktop? On one of your devices where this is happening, if you open the Applications folder, is the client there?
Posted on 04-12-2023 06:21 AM
the client app works perfectly fine! It's just that those who have prestage-enrolled Macs have to open viscosity manually after restart. It's just not starting automatically, it's not in the login items and the icon in the top bar is missing. thanks!
Posted on 04-12-2023 09:34 AM
@k0_bgf just wanted to run something by you. In the Pre-Stage setup, there is an option to install packages during setup. Could there be an entry there for Viscosity VPN and maybe the version is different than what is in Self Service? That might be worth investigating.
Posted on 04-13-2023 01:38 AM
thanks, that might be a hint! I will check that!
Posted on 04-12-2023 07:31 AM
@k0_bgf How did you create the Viscosity installer you're pushing to Self Service? Are you using just the DMG installer? Or did you follow the mass deployment instructions that SparkLabs provides? It's been a while, but when creating the pkg using their instructions you should be able to adjust settings (such as automatically launch on login), licensing, etc.
Posted on 04-12-2023 07:52 AM
yes, I'm just using a script that downloads the latest DMG installer and it works fine with the Macs that are enrolled through user initiated enrollment. Thanks!
04-12-2023 07:59 AM - edited 04-12-2023 08:32 AM
That's interesting. While I think you're best overall result will be using the mass deployment instructions to create a pkg with licensing & settings embedded, it is very odd that the behavior seems different depending on enrollment method. Is this behavior limited to just Ventura?
Posted on 04-12-2023 08:43 AM
I can't say for sure but apparently we didn't have that problem on Monterrey. It's strange because the package is being installed by the same user (hidden jamf local admin account).
Posted on 04-12-2023 08:52 AM
So let's back up a bit.
Some of your fleet is enrolled via user-initiated and others are via UAMDM, correct?
Whether user-initiated enrollment or via a prestage, Viscosity is not being installed at enrollment time, correct?
You are using a policy to call a script to install Viscosity via Self Service, correct? That could be a difference since I do know a pkg run from SS will run as root. I'm not sure if that's true for the various pieces of a script.
Maybe as a test, try using Installomator as a script-based install workflow and see if the behavior follows.
Posted on 04-13-2023 01:37 AM
Whether user-initiated enrollment or via a prestage, Viscosity is not being installed at enrollment time, correct?
Correct, the user clicks on "install" in Self Service in both cases!
You are using a policy to call a script to install Viscosity via Self Service, correct?
actually it's a script packed as pkg.