I am attempting to use the commands below to suppress the Mac Office 2016 first run dialog box when any Office application gets run for the first time on the Mac.
I works perfectly when run manually but when I try to run it through a script and profile, it just sits at pending and never completes. I am sure I am using all the right setting in the profile.
Any help?
defaults write /Library/Preferences/com.microsoft.Word kSubUIAppCompletedFirstRunSetup1507 -bool true
defaults write /Library/Preferences/com.microsoft.Excel kSubUIAppCompletedFirstRunSetup1507 -bool true
defaults write /Library/Preferences/com.microsoft.PowerPoint kSubUIAppCompletedFirstRunSetup1507 -bool true
defaults write /Library/Preferences/com.microsoft.Outlook kSubUIAppCompletedFirstRunSetup1507 -bool true
defaults write /Library/Preferences/com.microsoft.onenote.mac kSubUIAppCompletedFirstRunSetup1507 -bool true
defaults write /Library/Preferences/com.microsoft.Outlook FirstRunExperienceCompletedO15 -bool true
defaults write /Library/Preferences/com.microsoft.onenote.mac FirstRunExperienceCompletedO15 -bool true