Skip to main content
Question

OneDrive StandAlone plist open at login Help

  • April 10, 2018
  • 2 replies
  • 9 views

KyleEricson
Forum|alt.badge.img+17

I have found this info: MS Doc
I make the change via the GUI and I see the OpenatLogin change to a value of 1 from 0. I then copy this file out change it back to disable open at login and copy the plist. Seems to ignore this file and the openatlogin is still disabled.
How can I do this via JAMF to make sure OneDrive always open at login.

2 replies

Forum|alt.badge.img+14
  • Valued Contributor
  • April 10, 2018

You could put it into the "Login Items" for the user.

That "Open At Login" doesn't always work.


Forum|alt.badge.img+14
  • Valued Contributor
  • April 10, 2018

Try something like this in Apple Script. (You'll need to put it in a shell script to execute from a Policy though)

tell application "System Events" to make login item with properties {name:"Microsoft Teams", path:"/Applications/Microsoft Teams.app", hidden:false}

tell application "System Events" to delete login item "Microsoft Teams"