Managing Office 2008
If you are thinking about deploying Microsoft Office 2008 in your environment, there are some preferences you should consider managing.
Microsoft has provided a high-level overview here. But it’s short on details. Here’s a few…
Many of the Office 2008 applications now use plist files to store their preferences. (A major exception is Entourage, which still stores a lots of its preferences in the monolithic Entourage Database.) Plist files mean we can use Workgroup Manager/MCX to manage many preferences.
Here’s what I wanted to manage:
- Set Microsoft AutoUpdate to check only manually.
- Turn off the Office Setup Assistant.
- Set the default save format for Word, Excel and PowerPoint to the Office 97-2004 format (as opposed to the new XML-based formats
I started by opening each application and making the preference changes I wanted, then quit each app in turn. Next, I opened Workgroup Manager, created a new ComputerGroup called “Office2008″ (you may choose to do this at a workgroup level instead, and under Tiger Server that’s probably the best option). I clicked the Preferences icon, and then the Details tab.
I then clicked the + button and imported the following plists:
~/Library/Preferences/com.microsoft.Excel.plist
~/Library/Preferences/com.microsoft.Powerpoint.plist
~/Library/Preferences/com.microsoft.Word.plist
~/Library/Preferences/com.microsoft.autoupdate2.plist
~/Library/Preferences/com.microsoft.office.plist
You can’t import them all at once; you need to import them one-by-one. As you import each one, you are given the choice of importing the preferences as “Once”, “Often”, or “Always”.
Apple warns that “Always” may not work with third-party applications, and that “Often” is often the better choice. I wanted users to be able to change the default save format, so I imported the Word, Excel, and PowerPoint preferences as “Once”; the other two I imported as “Often”, which causes MCX to re-apply the desired preferences at each login.
When I was done importing, it looked like this:

Unfortunately, when you import preferences this way – you get everything that’s currently in the plist file. You’ll need to delete everything except the keys you’re interested in.
Here are the Word prefs after deleting everything except the default save format key:

And the preferences for Microsoft AutoUpdate:

The other keys you are looking for:
com.microsoft.Excel:
2008\Default Save\Default Format
State: once
Value: 57
com.microsoft.Powerpoint:
2008\Default Save\Default Save\Default Format
Value: Microsoft PowerPoint 98 Presentation
State: once
com.microsoft.office:
2008\FirstRun\SetupAssistCompleted
Value: 1
State: often
What do you do if you can’t use MCX? You could write a script that runs at login (perhaps using this mechanism) for each user, and it could use the defaults command to set the preferences:
defaults write com.microsoft.autoupdate2 HowToCheck "Manual"
defaults write com.microsoft.office "2008\\FirstRun\\SetupAssistCompleted" -int 1
defaults write com.microsoft.Word "2008\\Default Save\\Default Format" "Doc97"
defaults write com.microsoft.Excel "2008\\Default Save\\Default Format" -int 57
defaults write com.microsoft.Powerpoint "2008\\Default Save\\Default Save\\Default Format" "Microsoft PowerPoint 98 Presentation"
(I haven’t actually tested the defaults method, but it should work…)
February 15, 2008 at 7:07 am
What if I do this:
1 Open the apps and make the changes as needed.
2 Open Property List Editor and remove all the unwanted options and keys
3 Import into WGM.
That way I have a backup copy of the edited custom plist files that I can refer to later if needed.
Will that work?
PS: Too bad about Entourage – thats the app I Wnna tweak the most!
February 15, 2008 at 8:02 am
Hmmm, Doesnt seem to work for me…
The com.microsoft.autoupdate2.plist and the com.microsoft.office.plist DO work. They show up in System Profiler and they are working as expected. Theya re both set to “often”
The Excel, Word and PowerPoint files dont work. They are in WGM properly and loook good from an admin perspective, but the managed clients never get them. Even in System Profiler, the “Managed CLient” tab doesn’t show them at all. These 3 are set to “Once”. But never show up, even on brand new account profiles.
I verified the test computers are in the proper OD groups, etc (Im using computer policies not group policies)
February 15, 2008 at 8:43 am
OK, did more tseting, this time I removed MCX from the scenario and did a localized test on an isolated workstation running 10.5.2.
1) I set up a new user and configured the 3 Office 2008 apps as needed per your settings.
2) Then I logged in as root and copied the 3 user prefs into the /sys/Lib/User Template/… folder.
3) Then I logged in as a different new user. Then I launched the apps…
The PPT and Excel prefs worked as expected, but Word 08 does NOT work. It defaulted back to the newer docx format for the default file format.
After more testing, I realized that Words file format default is per- file based and not global. Also, Im not sure the “Doc97″ is the correct string for the plist key.
February 15, 2008 at 9:00 am
Dan:
I don’t know what to tell you other than the ever-dreaded “works for me”…
I just tested again, creating a new user on one of my Leopard machines, and all Office 2008 document save defaults were set as I expected.
Do remember that MCX “once” settings will only appear in System Profiler’s Managed Client section on the first login after they’ve been set – in other words, they will appear only “once”.
February 15, 2008 at 12:01 pm
I just noticed that after doing some testing on a 10.5.2 managed Mac, that when a (managed mobile) account is removed from the Mac via the Accounts pref pane, that the MCX items related to that user (stored in /Library/Managed Preferences/) are not removed along with the account. Can youconfirm that this is “normal behavior”? The test Mac in question was bound to both AD and OD.
THis may have something to do with my results, since I often add and remove the same account for testing purposes. I wasnt aware that the MCX prefs lingered on the local file system (even after a reboot, etc)
Thanks
-Dan
February 22, 2008 at 9:10 pm
@Dan:
I’ve seen this too. I’ve got to believe its a bug. In my case I actually unbound the machine from the OD server but all my accounts were still managed. I had to go into /private/var/db/dslocal/nodes/Default/users and manually remove the mcxflags key and mcxsettings key entries and their associated arrays from the user I was testing with. Once those entries were removed I was fully unmanaged again.
April 10, 2008 at 1:47 am
Nice Blog on Office 2008.
http://www.iyogi.net/microsoftoperatingsystem.html
May 16, 2008 at 2:29 pm
[...] Managing Office 2008: “ [...]
August 27, 2008 at 8:45 am
spot on, thanks
April 23, 2009 at 7:20 am
Hi Greg,
Do you know if you can set Entourage as your default mail app via MCX prefs.
I thought sending com.apple.launchservices.plist after setting Entourage as default would do the trick but unfortunately not. I’m trying to get rid of Entourage asking to be my default on first launch as it interferes with an Applescript I’ve built to set up mail accounts.
Thanks,
Jay
April 25, 2009 at 4:19 pm
MCX doesn’t have an option for this, but you might be able to do what you want with duti:
http://duti.sourceforge.net/index.php
April 28, 2009 at 4:38 am
Thanks Greg, I’ll take a look at that.
J.
May 5, 2009 at 3:15 pm
@ GregN: thanks for the info. Like you said, you provide more detail than Microsoft’s MacBU.
I culled some Office 2008 plist key/pairs for a colleague who does not currently have OD/MCX setup. He was mainly concerned with setting the Office 97-2004 Compatibility attribute per Word, Excel and PowerPoint.
I verified that the specific attributes could be set via defaults method. He could then run as Unix task from ARD (he’s not a heavy scripter).
Then he asked if the same could done to require the “Add/Append Extension” option in all Save/As dialogs. This one kinda stumped me–at least for Word.
Looks like it’s a moot issue for PowerPoint, because with/out .ppt/.pptx, Office 2003/2007 for Windows “knows” to open it in PowerPoint. Incidentally, the .ppt/.pptx extension is only hidden from Finder; from the Terminal you can still see the extensions. But, I digress…
This setting can be set for Excel like so (all on one line, of course)…
defaults write com.microsoft.Excel “2008\Microsoft Excel\AppendDOSExtension” 1
The problem for Word 2008 is that no obvious plist key/pair is present. Unless it’s buried within the first two keys for “2008\Data\Settings” or “2008\Data\Toolbars”. The data contents of their data values are too obscured to decipher.
Can you either confirm and/or take a closer look?
Thanks very muchly!
June 18, 2009 at 7:44 am
We just got office 2008.
How do you turn off the Office Setup Assistant? Does this make it never open for all network users?
Thanks
June 18, 2009 at 7:57 am
The original article tells you how to disable the run of Office Setup Assistant:
com.microsoft.office:
2008\FirstRun\SetupAssistCompleted
Value: 1
State: often
And yes, this causes it to not open/run for all network users.
June 18, 2009 at 11:12 am
@ GregN: any chance to review or think about my previous post re: Add/Appending extension for Word?
Thanks
BTW: I always read your articles for MacTech mag–good stuff!
June 18, 2009 at 12:17 pm
I see no option in the GUI preferences for Word to add/append the extension in Word, so unless there is an undocumented preferences setting, it probably can’t be done.