Scripting Question

Open Lync 2011 the same way I would with the icon via script.

07/08/2015 1140 views
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:

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


Be the first to answer this question

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ