question

AlexandeRTheGreaT-3931 avatar image
0 Votes"
AlexandeRTheGreaT-3931 asked emizhang-msft commented

Cannot deploy Word & Powepoint 2016 templates through GPO

I have created 2 folders in a storage partition of a file server(2016) which include word and powerpoint custom templates and I need them to be deployed in the desktop apps of the users but it's not working.

I have already copied ADMX/ADML files in C:\WindowsPolicy\Definitions and C:\WindowsPolicy\Definitions\EN-US folders in the DC.

Then created the GPOs and applied them to the specific groups that I created for this reason.

  • For the word template GPO I changed "User Configuration\Policies\Microsoft Office 2016\Shared Paths\Enterprise Templates Path"(also tried User Templates Path & Workgroup Templates Path) to the location where the template files are in File Server.

  • For the powerpoint template GPO I changed "User Configuration\Policies\Microsoft Office 2016\Shared Paths\Enterprise Templates Path"(also tried User Templates Path & Workgroup Templates Path) to the location where the template files are in File Server.

What am I missing here?



office-deployment
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AlexandeRTheGreaT-3931 avatar image
0 Votes"
AlexandeRTheGreaT-3931 answered emizhang-msft commented

As for the powerpoint issue I noticed that I had forgotten to relink the gpo. Now it is ok.


UPDATE:

It's now working.


What I did is that I created a file preference, on top of the other one, which deletes the files included in the folder.

Then they are recreated in the folder by the next preference.

So, is a way to avoid the deletion and recreation of the files?

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for sharing solution and Accept as answer, other partners who read the forums with the same issue can get more information from the correct result.

0 Votes 0 ·
DonPickard-7259 avatar image
0 Votes"
DonPickard-7259 answered AlexandeRTheGreaT-3931 commented

we have successfully used 'Workgroup Templates' settings for Word/Powerpoint for many years (since Office95) which continues to work now with M365/2019.

The settings deliver a simple registry key/value containing the servername\sharename.
This is a single/common setting, apply/link it to all users that you want to consume the setting

https://admx.help/?Category=Office2016&Policy=office16.Office.Microsoft.Policies.Windows::L_Workgrouptemplatespath

this will add another folder into the backstage template picker


· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

First of all thank you for your reply!

I checked registry and key/value is already in there but only for the "word" path and not for powerpoint.
So I thought that maybe it can only handle one location and I unlinked the powerpoint gpo.
Run again gpupdate and gpresult(gpo for word shows as applied), opened word but no custom templates exist.

I can't understand what is the problem.

0 Votes 0 ·
DonPickard-7259 avatar image DonPickard-7259 AlexandeRTheGreaT-3931 ·

the setting is not app-specific, it is a single setting which applies to all apps (hence, 'general'):

HKEY_CURRENT_USER\Software\Policies\Microsoft\office\16.0\common\general

76776-image.png

please refer to the linked documentation :)

https://admx.help/?Category=Office2016&Policy=office16.Office.Microsoft.Policies.Windows::L_Workgrouptemplatespath


0 Votes 0 ·
image.png (76.7 KiB)

I deleted app-specific folders and created one folder(like in your case) with all word and powerpoint templates.
I also deleted and recreated the GPO with the new folder path.
On the client I run gpudate and gpresult where I can see that the policy is updated with the new GPO/
I can also see the updated reg key in the registry editor.

2 more questions:

  • I can see in the reg key your domain. In my case I have just the computer name of the file server. Does this make a difference?

  • Also does it make a difference that the AD for the the on-prem domain is not the bonded with the 365 accounts?76768-registrynew.png


0 Votes 0 ·
registrynew.png (56.4 KiB)
AlexandeRTheGreaT-3931 avatar image
0 Votes"
AlexandeRTheGreaT-3931 answered AlexandeRTheGreaT-3931 edited

After several days trying to deploy the templates, I finally did it with another method.

I followed this guide:
https://www.linkedin.com/pulse/how-deploy-office-word-template-via-gpo-group-policy-windows-poljic/

I made the registry changes in user config so I didn't have to use loopback processing or computer configuration at all.

I also created 2 items for each configuration because there are both English and Greek office installations in the company and the configuration in English could not copy the files to the directory written i Greek.

So now I have 2 GPO, one for word and one for powerpoint but now I encountered another issue:

Powerpoint app does not retrieve the template files as word app does.
Default personal templates location is empty in powerpoint options whereas it is set by default in word options.

79286-powerpoint-path.png 79253-word-path.png


Furthermore, I can see the reg key for word but not for powerpoint.


79186-powerpoint-reg.png 79225-word-reg.png


Why is this happening?



Second issue I also encountered is that when I delete a file from the source location and the run gpudate, the file is not deleted from the destination, too.

I changed action from "update" to "replace" but nothing changed, the file was still in destination.


79302-files-gpo.png


79722-reg-gpo.png



I don't understand what is wrong here.



powerpoint-path.png (39.6 KiB)
word-path.png (41.6 KiB)
powerpoint-reg.png (47.7 KiB)
word-reg.png (83.7 KiB)
files-gpo.png (78.1 KiB)
reg-gpo.png (78.4 KiB)
reg-gpo.png (82.7 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.