Skip to main content
Question

Office 2016 Startup/AutoUpdate Blocking

  • August 6, 2015
  • 32 replies
  • 113 views

Show first post

32 replies

mvught
Forum|alt.badge.img+9
  • Contributor
  • September 15, 2015

@franton thanks for your clear explanation works great . Question: How do you deal with dock items? We now have office2010 in the dock for removal , we use dockutil of " kcrawford Github " and also adding of 2016. But we see that we need to repeat the command 3 times before it works.
How do you deal with it?

#!/bin/sh
Before installation:
# Remove Office dock items end user.
$dockutil --remove "Microsoft Word" --allhomes --no-restart
killall Dock
$dockutil --remove "Microsoft Excel" --allhomes --no-restart
killall Dock
$dockutil --remove "Microsoft Outlook" --allhomes --no-restart
killall Dock
$dockutil --remove "Microsoft PowerPoint" --allhomes --no-restart
killall Dock
$dockutil --remove "Microsoft OneNote" --allhomes --no-restart

killall cfprefsd
killall Dock
#!/bin/sh
After installation:
# Add Office Dock to end user 3 times.
echo "Add/Replace Office dock items"

$dockutil --add '/Applications/Microsoft Word.app' --replacing 'Microsoft Word' --allhomes --no-restart $plist
killall Dock
$dockutil --add '/Applications/Microsoft Excel.app' --replacing 'Microsoft Excel' --allhomes --no-restart $plist
killall Dock
$dockutil --add '/Applications/Microsoft Outlook.app' --replacing 'Microsoft Outlook' --allhomes --no-restart $plist
killall Dock
$dockutil --add '/Applications/Microsoft PowerPoint.app' --replacing 'Microsoft PowerPoint' --allhomes --no-restart $plist
killall Dock
$dockutil --add '/Applications/Microsoft OneNote.app' --allhomes --no-restart $plist
killall Dock

echo "Refresh Dock"
killall cfprefsd
killall Dock

AVmcclint
Forum|alt.badge.img+21
  • Esteemed Contributor
  • September 15, 2015

It would be nice if MS included a command line component to AutoUpdate so we could kick off updates in the background via ARD after we've evaluated the updates on test Macs first.


Forum|alt.badge.img+13
  • Contributor
  • September 15, 2015

@mvught You have to run only once if you follow these steps:
1) Don't use "--no-restart"
2) add a "sleep x" in between commands

My working script to replace Office 2011 from dock

# Dock Icons change - for current user and all existing users on this computer
/usr/local/bin/dockutil --add '/Applications/Microsoft Word.app' --replacing 'Microsoft Word' --allhomes
/bin/sleep 10
/usr/local/bin/dockutil --add '/Applications/Microsoft Excel.app' --replacing 'Microsoft Excel' --allhomes
/bin/sleep 10
/usr/local/bin/dockutil --add '/Applications/Microsoft PowerPoint.app' --replacing 'Microsoft PowerPoint' --allhomes

mvught
Forum|alt.badge.img+9
  • Contributor
  • September 17, 2015

@Kumarasinghe Thank you so much, works like a charm


Forum|alt.badge.img+6
  • Contributor
  • May 30, 2017

I'm trying to distribute Office 2016 across our Enterprise. When Office is installed locally you see a Sign In option only. When Office is installed using any Application Distribution software and our Serializer you get the option of Skip sign in (See attached .jpg).

Is there a method to install a .plist file or run a script that will prevent this option to "Sign In" all together? What .plist file needs modification? Thanks so much for any help!


Forum|alt.badge.img+12
  • Contributor
  • May 31, 2017

@MacGeek There are 2 versions of Office 2016.

  1. Office 365 Version which requires sign in option to activate
  2. the VL + Serializer Version which you have to deploy after to get the "skip sign in"

There are a few pages on JAMFNATION that will show u how to avoid the sign in, but I have not tried them. Once u have serialized the install, the sign in pop up will be gone.


Forum|alt.badge.img
  • New Contributor
  • October 13, 2017

Ok, must be that I am a shell script newbie, but how to you run this script? Google really doesn't help me on this but hopefully a kind soul here will.

Thanks in advance
Cheers