Set the Workgroup Templates Path Programmatically in Word for Mac
Question details
The user wants to configure the Microsoft Office Workgroup Templates path automatically on Mac.

- Product
- Microsoft Word for Mac
- Device & OS
- macOS
- Scenario
- An administrator wants to deploy a shared template location using a profile, plist file, or Office macro instead of configuring it manually for each user.
- Observed behavior
- The path can be changed through Word preferences, but its storage location in a plist file and a supported profile-based deployment method have not been established.
Mount the shared template folder on a test Mac and confirm that the intended users can access it. Check your organization's macro security policy and test the procedure in the Word version you plan to deploy.
Set the Workgroup Templates Path with a Word AutoOpen Macro
Use a macro-enabled document to set the path when a user opens it, provided macros are permitted.
An AutoOpen macro runs when its document is opened if Word's security settings allow it. This approach requires users to open the distributed document; it is not a silent, centrally enforced profile setting.
In Finder, mount the shared folder and note its path, such as /Volumes/Shared/Templates. In Word, open Word > Preferences > File Locations and check the current Workgroup Templates setting.
In Word, open Tools > Macro > Visual Basic Editor, add a module to a new document, and enter: Sub AutoOpen() Options.DefaultFilePath(wdWorkgroupTemplatesPath) = "/Volumes/Shared/Templates" End Sub Replace the example path with the accessible template folder path.
Use File > Save As to save the document as a Word Macro-Enabled Document (.docm). Distribute it through an approved channel, using a trusted signature if your organization's policy requires one.
On a test Mac, mount the shared folder and open the document in Word. Allow the macro only if it is trusted and permitted by policy, then check Word > Preferences > File Locations > Workgroup Templates to verify the path.

Use WPS Writer as an Alternative for Template-Based Documents
WPS Office is a free, lightweight Office alternative with a familiar interface for creating and editing documents. Its Microsoft Office format compatibility helps users move existing files into WPS, although it does not configure Microsoft Word's Workgroup Templates path.

Frequently Asked Questions
Can I set the Workgroup Templates path with a macOS configuration profile?
A supported profile key for this setting has not been established in the available information. Check Microsoft's current deployment documentation before relying on a configuration profile.
Is the Workgroup Templates path stored in the Word plist file?
The setting was not found in the plist during the investigation described in the original answer. Test on a separate Mac or test account, and do not assume that copying a plist will configure the path.
Why didn't my AutoOpen macro change the path?
Check whether macros are allowed by Word and your organization's security policy, whether the document was saved as a .docm file, and whether the shared folder is mounted and accessible. Then check the setting under Word > Preferences > File Locations.
Does every user need to open the macro-enabled document?
Yes. With this approach, each user must open the distributed document and allow the trusted macro to run under their account. Opening it on one Mac does not configure other users' Word settings.




