Writing Custom Admin Template

  • Thread starter Thread starter Marraboy
  • Start date Start date
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.
 
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,
 
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.
 
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.
 
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,
 
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.
 
Back
Top