We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Adm File for setting word user templates folder

dwelldon
dwelldon asked
on
Medium Priority
544 Views
Last Modified: 2012-05-05
Hi,

  I am trying to create an ADM file that will allow me to change where word looks for user templates. I have tried creating my own adm file but without much look. It imports into group policy editor but I can't edit the field. What am I doing thats wrong.

CLASS USER
CATEGORY "Word Directory"
POLICY "Word user templates"
KEYNAME Software\Microsoft\office\11.0\common\general
PART "UserTemplates"
EDITTEXT
VALUENAME "UserTemplates"
END PART
END POLICY
END CATEGORY

Any help

Comment
Watch Question

CERTIFIED EXPERT
Most Valuable Expert 2019
Most Valuable Expert 2018

Commented:
Highlight the "Administrative Templates" tree, and in the View > Filter menu, uncheck the "Only show policies that can be fully managed".
Your own policy will then be displayed in red, as it's not a group policy, but what Microsoft calls in changing terms "Branding", "Tatooing", or "Preferred setting", as you're manipulating the registry as if you'd used regedit. These policies will NOT simply "go away" if you later set the policy to "not configured", it will keep the last value set.
Important during testing: before you change a registry path in an adm file, set the policy for this path to "not configured" before you edit the adm file!
Example: you test with "KEYNAME Sofwtare\Microsoft\office\11.0\common\general", enable the policy, and then find out that you had a typo in "Software". If you now just edit the adm file and reimport it, you'll have the former "Sofwtare" key forever in your policy if you don't set the test policy back to "not configured" before changing the adm file.
Steve KnightIT Consultancy
CERTIFIED EXPERT

Commented:
Why re-invent the wheel? Whats wrong with using the Microsoft ones?

http://support.microsoft.com/kb/826170en

Steve

Author

Commented:
it does not allow you to change the user templates directory, thats the problem.

Author

Commented:
obda, cheers, thats sorted that out.

But I have another issue now where word, refuses to recognise the changes.
???
Steve KnightIT Consultancy
CERTIFIED EXPERT

Commented:
Fair enough, thought I'd seen it in there, must be just the workgroup templates we set before.  The only difference between what you have and ones I have done is to put the EDITTEXT type on the same line as PART btw but I guess oBdA has it sussed so I'll shut up.

Steve
CERTIFIED EXPERT
Most Valuable Expert 2019
Most Valuable Expert 2018

Commented:
Have you checked if the change made by the policy actually made it into the user's registry?

Author

Commented:
It makes it into the registry without any problems at all.

Just word doesn't pick it up
Steve KnightIT Consultancy
CERTIFIED EXPERT

Commented:
I've had then when a component of Office was using the newer version... i.e. path has gone into the 9.0 key but now the user has an Office XP app that used 10.0 key etc.
If you looks in Tools | Options | file locations in Word does it see it then?  If not change it there.  Does it change the same key (use regedit.exe to search for the path you enter across HKCU).

Author

Commented:
Its a clean install the pc has never had any other version of office installed. So there are not any other reg keys.

It does change the same key. But for some reason it never recognises it when changed by GPO
CERTIFIED EXPERT
Most Valuable Expert 2019
Most Valuable Expert 2018

Commented:
Just to exclude the obvious: are you actually using Office 2003?
In addition, check out HKCU\Software\Policies\Microsoft\Office\11.0\Common\General, if the UserTemplates entry is defined there; this is the key that gets changed with the Office adm templates, and this one has precedence over the default registry path.

Author

Commented:
I am using office 2003, there is nothing set under policies, so I am even more confused.
CERTIFIED EXPERT
Most Valuable Expert 2019
Most Valuable Expert 2018

Commented:
I'm somewhat at a loss; what happens if you change the path from Office? Can you see the changed value in the registry key above?
Steve KnightIT Consultancy
CERTIFIED EXPERT

Commented:
Have you tried it after a logoff or reboot?  Does your 2003 installation have the office preloaded bit from the startup group so it is already in memory - maybe it is reading the registry before you are setting it?
CERTIFIED EXPERT
Top Expert 2005
Commented:
You may need to delete the NORMAL.DAT file if it already exists.

This could be a problem if there are macros.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Steve KnightIT Consultancy
CERTIFIED EXPERT

Commented:
normal.dot I presume?  Might be worth a second Q over here  http://www.experts-exchange.com/Applications/MS_Office/  I used to answer questions there when 50 points was a lot :-) but if you haven't got five answers in the time it takes me to type this then it is an unsual question...
CERTIFIED EXPERT
Top Expert 2005

Commented:
Oops, yep - big typo there!

NORMAL.DOT

Author

Commented:
I deleted the normal.dot and hey presto
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.