Hi Guys,
Has anyone found a way to add EC into the user Login Items? I have managed to get these to work locally on my machine to add EC to the login items but as soon as I run it through ARD to a remote machine (figured if I cannot get it to work with ARD it won't work with Casper) it just constantly fails, I have tried quite a few different options on the App name too just incase it wasn't pulling the correct name remotely.
defaults write /Library/Preferences/loginwindow AutoLaunchedApplicationDictionary -array-add '{Path="/Applications/Enterprise Connect.app";}'
/usr/bin/osascript -e 'tell application "System Events" to make new login item with properties { path: "/Applications/Enterprise Connect.app", hidden:false } at end'
I also tried to do it as a LaunchAgent as specified here: https://macmule.com/2011/09/08/how-to-map-drives-printers-based-on-ad-group-membership-on-osx/ as suggested by @bentoms but I could not get this to work for me either. I got this for the the jamf original discussion here: https://jamfnation.jamfsoftware.com/discussion.html?id=10969
Anyone had any success with this or can anyone see what I am doing wrong?
