Add Third-Party Apps to Login Items

Steven_Xu
Contributor
Contributor
  1. Create a custom loginitems plist file.
defaults write ~/Desktop/com.apple.loginitems.managed AutoLaunchedApplicationDictionary-managed -array-add '{Path="/Applications/NoMAD.app"}'
plutil -convert xml1 ~/Desktop/com.apple.loginitems.managed.plist

Check the plist file:

cat ~/Desktop/com.apple.loginitems.managed.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>AutoLaunchedApplicationDictionary-managed</key>
    <array>
        <dict>
            <key>Path</key>
            <string>/Applications/NoMAD.app</string>
        </dict>
    </array>
</dict>
</plist>

2.Create a Configuration Profile with Custom Settings payload in Jamf Pro
3.Upload the plist file and configure the scope.
4.Done

Tested on 10.13.6

0 REPLIES 0