Hi All,
I have been combing through the forum and got this far but need some help to see what I am missing. I am trying to set Microsoft Automatic Update to Autotamically Download and Install updates for all users. If I run the script from the system through BBedit it works I have even confirmed its pulling the proper username. However when I run it through Jamf Remote it acts like it runs but no change is made. Here is the code please let me know what I might be missing:
!/bin/sh
currentuser=stat -f "%Su" /dev/console
defaults write /Users/$currentuser/Library/Preferences/com.microsoft.autoupdate2 HowToCheck AutomaticDownload
