We've got a big problem in our company with Mac users turning their Lync off, despite the policy being to keep it running.  I want to make al Kace script to launch it, and I have one that mostly works, but not the same as clicking the icon.  If a user clicks the icon it launches Lync and logs them in, no problem, if I launch it via the script it (usually) comes up to the login window demanding a password instead of just launching.  I can't seem to find any information on command line options for Lync 2011, does anyone have any suggestions?  The script is below - oddly some systems log in automatically while others don't:

#!/bin/bash
sudo -u `who | grep console | awk '{print $1}'` open /Applications/Microsoft\ Lync.app
exit
exit
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

There are no answers at this time

Answers

Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share