Writing Custom Admin Template

M

Marraboy

Hi all

I am trying to write my own simple administrative template to import
into group policy on Windows 2003. I use the following:

CLASS USER

CATEGORY !!categorytitle
CATEGORY !!categoryname
POLICY !!policyname
KEYNAME "SOFTWARE\Microsoft\Office\11.0\Common\General"
EXPLAIN !!explaintext
PART !!labeltext EDITTEXT
VALUENAME stringvalue
EXPANDABLETEXT
END PART
END POLICY

END CATEGORY
END CATEGORY

[strings]
categorytitle="Microsoft Office 2003"
categoryname="Office Template Settings"
policyname="Set the shared templates value"
explaintext="This policy sets the location of workgroup templates for
Office applications"
labeltext="Location"
stringvalue="SharedTemplates"


I can import this fine but no options are available. The categories
load up fine as folders but no settings. Any ideas?

Thanks, John T.
 
G

Guest

Hi Marraboy,

For you could see the settings of your template follow the procedure below.
1 - On the Group Policy Editor select after import template, right click on
Microsoft Office 2003 and select View | Filtering....
2 - In the Filtering Window uncheck Only show policy settings that can be
fully managed.

This happens because you are using tattoing instead of true policies.

Regards,
 
M

Marraboy

VMM said:
Hi Marraboy,

For you could see the settings of your template follow the procedure below.
1 - On the Group Policy Editor select after import template, right click on
Microsoft Office 2003 and select View | Filtering....
2 - In the Filtering Window uncheck Only show policy settings that can be
fully managed.

This happens because you are using tattoing instead of true policies.

Regards,

Hi VMM

Thanks for the quick response. That worked fine.

Thanks, John T.
 
M

Marraboy

Hi

OK, so I can get the template working and I can enter my own values,
BUT...

When I look at the registry on a machine to which this policy should
have applied I cannot see any effect of the policy.

Just for info: I have applied the policy to an OU and I have run
gpupdate /force on the target machine in the OU.

Any ideas as to why this entry isnt seen in the registry?


The reg key is:
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Common\General

Thanks, John T.
 
G

Guest

Hi Marraboy

You search for Key named SharedTemplates and you cannot found it, if you
search for a key named stringvalue you found it on that registry location.

The template are not passing the stringvalue, so replace the stringvalue by
SharedTemplates and delete stringvalue entry from the strings section.

Regards,
 
M

Marraboy

VMM said:
Hi Marraboy

You search for Key named SharedTemplates and you cannot found it, if you
search for a key named stringvalue you found it on that registry location.

The template are not passing the stringvalue, so replace the stringvalue by
SharedTemplates and delete stringvalue entry from the strings section.

Regards,

Hi VMM

Again this has sorted the problem. Thanks for your help.

John T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Empty Admin. template 2
GPO adm file for machine policy 1
Custom ADM File 3
Custom Administrative Template Help 1
custom ADM template 1
GP Newbie / Visual Effects Policy 1
Admin Template 1
custom ADM not appearing 1

Top