Skip to content

Instantly share code, notes, and snippets.

@rtrouton
Created August 10, 2015 13:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save rtrouton/55d107a569978a1b2113 to your computer and use it in GitHub Desktop.
Save rtrouton/55d107a569978a1b2113 to your computer and use it in GitHub Desktop.
Disabling First-run dialogs in Office 2016 for Mac
#!/bin/bash
# Disabling First-run dialogs in Office 2016 for Mac
# Link: http://macops.ca/disabling-first-run-dialogs-in-office-2016-for-mac/
if [[ -e "/Applications/Microsoft Excel.app" ]]; then
/usr/bin/defaults write /Library/Preferences/com.microsoft.Excel kSubUIAppCompletedFirstRunSetup1507 -bool true
elif [[ -e "/Applications/Microsoft OneNote.app" ]]; then
/usr/bin/defaults write /Library/Preferences/com.microsoft.onenote.mac kSubUIAppCompletedFirstRunSetup1507 -bool true
elif [[ -e "/Applications/Microsoft Outlook.app" ]]; then
/usr/bin/defaults write /Library/Preferences/com.microsoft.Outlook kSubUIAppCompletedFirstRunSetup1507 -bool true
/usr/bin/defaults write /Library/Preferences/com.microsoft.Outlook FirstRunExperienceCompletedO15 -bool true
elif [[ -e "/Applications/Microsoft PowerPoint.app" ]]; then
/usr/bin/defaults write /Library/Preferences/com.microsoft.PowerPoint kSubUIAppCompletedFirstRunSetup1507 -bool true
elif [[ -e "/Applications/Microsoft Word.app" ]]; then
/usr/bin/defaults write /Library/Preferences/com.microsoft.Word kSubUIAppCompletedFirstRunSetup1507 -bool true
fi
@smagnuson
Copy link

Hey I was wondering if you were going to update this to work with office 2019 for Mac?

@rtrouton
Copy link
Author

rtrouton commented Aug 7, 2019

No.

@smagnuson
Copy link

ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment