cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3565
Views
6
Helpful
2
Replies

Help with configuring MacOS user login items

jarvis meier
Community Member

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

Accepted Solutions

matmorg2
Cisco Employee
Cisco Employee

Hey @jarvis meier 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_Manager

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
Meraki Community All-Star
Meraki Community All-Star

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.

If you found this post helpful, please give it Kudos. If my answer solves your problem, please click Accept as Solution so others can benefit from it.

matmorg2
Cisco Employee
Cisco Employee

Hey @jarvis meier 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_Manager

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!