Help with configuring MacOS user login items

Solved
JarvisMeier
Conversationalist

Help with configuring MacOS user login items

I've done some hunting on the internet but can't find the answer I'm looking for.  I'm trying to remotely configure user accounts via pkg deployments and was wondering how to add items to a local users "Login Items".  I'm thinking it has to be done using dscl but I don't know the exact syntax or what keys to use.  Any help would be appreciated.

1 Accepted Solution
MattMorg
Meraki Employee
Meraki Employee

Hey @JarvisMeier there is a macOS profile payload called LoginItemsManagedItems that I see Systems Manager does not support in the SM > Settings page yet. I'll add that in as a feature request so Systems Manager can look to add that to the UI in the future, thank you for that feedback! 

 

In the meantime, you should still be able to add LoginItemsManagedItems to macOS devices via a custom .mobileconfig with Systems Manager. Just configure the Path of the app and Hide from User&Groups setting you need, something like this: 

<key>AutoLaunchedApplicationDictionary-managed</key>
            <array>
                <dict>
                    <key>Path</key>
                    <string>/System/Applications/Example.app</string>
                    <key>Hide</key>
                    <false/>
                </dict>
            </array>

Checkout the full profile example in the Apple developer documentation. Create the .mobileconfig how you need and then upload and install through SM. Here's the steps for that part: https://documentation.meraki.com/SM/Profiles_and_Settings/Using_Custom_Apple_Profiles_with_Systems_M...  

 

SM should be able to add this into the SM > Settings page in the future, but for now use this custom .mobileconfig route to accomplish the same thing. Good luck! 

View solution in original post

2 Replies 2
BlakeRichardson
Kind of a big deal
Kind of a big deal

I know from a Jamf perspective its configured using a profile however I cannot see any options in System Manager. You might need to contact support to see if this is possible. 

MattMorg
Meraki Employee
Meraki Employee

Hey @JarvisMeier there is a macOS profile payload called LoginItemsManagedItems that I see Systems Manager does not support in the SM > Settings page yet. I'll add that in as a feature request so Systems Manager can look to add that to the UI in the future, thank you for that feedback! 

 

In the meantime, you should still be able to add LoginItemsManagedItems to macOS devices via a custom .mobileconfig with Systems Manager. Just configure the Path of the app and Hide from User&Groups setting you need, something like this: 

<key>AutoLaunchedApplicationDictionary-managed</key>
            <array>
                <dict>
                    <key>Path</key>
                    <string>/System/Applications/Example.app</string>
                    <key>Hide</key>
                    <false/>
                </dict>
            </array>

Checkout the full profile example in the Apple developer documentation. Create the .mobileconfig how you need and then upload and install through SM. Here's the steps for that part: https://documentation.meraki.com/SM/Profiles_and_Settings/Using_Custom_Apple_Profiles_with_Systems_M...  

 

SM should be able to add this into the SM > Settings page in the future, but for now use this custom .mobileconfig route to accomplish the same thing. Good luck! 

Get notified when there are additional replies to this discussion.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.
Labels