Solved

Adm File for setting word user templates folder

Posted on 2006-11-06
17
529 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

0
Comment
Question by:dwelldon
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
  • 4
  • +1
17 Comments
 
LVL 84

Expert Comment

by:oBdA
ID: 17880283
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.
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 17880295
Why re-invent the wheel? Whats wrong with using the Microsoft ones?

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

Steve
0
 
LVL 4

Author Comment

by:dwelldon
ID: 17880342
it does not allow you to change the user templates directory, thats the problem.
0
Free Webinar: AWS Backup & DR

Join our upcoming webinar with experts from AWS, CloudBerry Lab, and the Town of Edgartown IT to discuss best practices for simplifying online backup management and cutting costs.

 
LVL 4

Author Comment

by:dwelldon
ID: 17880404
obda, cheers, thats sorted that out.

But I have another issue now where word, refuses to recognise the changes.
???
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 17880413
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
0
 
LVL 84

Expert Comment

by:oBdA
ID: 17880435
Have you checked if the change made by the policy actually made it into the user's registry?
0
 
LVL 4

Author Comment

by:dwelldon
ID: 17880447
It makes it into the registry without any problems at all.

Just word doesn't pick it up
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 17880565
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).
0
 
LVL 4

Author Comment

by:dwelldon
ID: 17880650
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
0
 
LVL 84

Expert Comment

by:oBdA
ID: 17880817
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.
0
 
LVL 4

Author Comment

by:dwelldon
ID: 17880852
I am using office 2003, there is nothing set under policies, so I am even more confused.
0
 
LVL 84

Expert Comment

by:oBdA
ID: 17882976
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?
0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 17884286
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?
0
 
LVL 51

Accepted Solution

by:
Netman66 earned 500 total points
ID: 17885099
You may need to delete the NORMAL.DAT file if it already exists.

This could be a problem if there are macros.

0
 
LVL 43

Expert Comment

by:Steve Knight
ID: 17885264
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...
0
 
LVL 51

Expert Comment

by:Netman66
ID: 17885336
Oops, yep - big typo there!

NORMAL.DOT

0
 
LVL 4

Author Comment

by:dwelldon
ID: 17887865
I deleted the normal.dot and hey presto
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Microsoft Office Customization Tool’s Outlook problem 12 93
shadow copies 7 86
Connecting two servers 30 91
How to set IPSec under Server 2008 R2 and Server 2012 R2 3 60
by Batuhan Cetin In this article I will be guiding through the process of removing a failed DC metadata from Active Directory (hereafter, AD) using the ntdsutil tool in a Windows Server 2003 environment. These steps are not necessary in a Win…
Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question