Posted on 07-13-2010 08:15 AM
I am trying to set the login items as manage preference and I can't
manage to get them to apply. I have tried uploading the manage preference to
the login window plist with no luck. Below is a copy of the xml file of the
AutoLaunchedApplicationDictionary key. I am setting this to apply at every
user login.
Thanks,
Mike
<?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</key>
<array>
<dict>
<key>Hide</key>
<false/>
<key>Path</key>
<string>/Applications/Password Monitor.app</string>
</dict>
<dict>
<key>Hide</key>
<false/>
<key>Path</key>
<string>/Library/Applications/CCAAgent.app</string>
</dict>
<dict>
<key>Hide</key>
<false/>
<key>Path</key>
<string>/Library/Application
Support/Symantec/AntiVirus/SAVDiskMountNotify.app</string>
</dict>
<dict>
<key>Hide</key>
<false/>
<key>Path</key>
<string>/Library/Application
Support/Symantec/AntiVirus/ScanNotification.app</string>
</dict>
<dict>
<key>Hide</key>
<false/>
<key>Path</key>
<string>/Library/Application
Support/Symantec/Scheduler/SymSecondaryLaunch.app</string>
</dict>
</array>
</dict>
</plist>
Posted on 07-13-2010 10:44 AM
Are you just trying to launch the apps at log in and then hide them?
Posted on 07-18-2012 07:22 PM
Old thread but yer....
We're trying to launch and hide the application MS Lync 2011 at login for any user who logs in.
Possible through Managed Preferences?
Posted on 07-18-2012 07:41 PM
Indeed!
I haven't tested this but it's based on others that I have in place.
Domain: loginwindow
Key: AutoLaunchedApplicationDictionary-raw
Type: Manual
Value:
<array>
<dict>
<key>Path</key>
<string>/Applications/Microsoft Lync.app</string>
<key>Hide</key>
<true/>
</dict>
</array>
I advise setting this to "User Level At Next Login Only" so that it becomes the default setting but allows users who don't like it to be able to change it. Depending on your version of JSS, the setting may or may not work. This setting seems to break every other version turning into "User Level Enforced".
Posted on 07-20-2012 03:40 AM
To hide the app i use this method on other applescript apps i have made because i dont want the app bouncing in the dock. so something like this i would imagine:
#!/bin/bash
# Check to see if the app exists first!
if
ls /Applications/Microsoft Lync.app/
then
# hide it by setting it in the Info.plist in the app bundle and need to be run as root!
defaults write /Applications/Microsoft Lync.app/Contents/Info "LSUIElement" -boolean "true"
# Make 775 the Info.plist otherwise no one will be able to open the app!
chmod 775 /Applications/Microsoft Lync.app/Contents/Info.plist
# If it doesn't exist just echo out
else
echo "The app doesn't exist"
fi
Posted on 10-09-2012 10:33 PM
Thanks @talkingmoose
Your method worked for me.